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-29885-xdhx6-s0lln-n1z0q Agent pingcap-tidb-ghpr-check2-29885-xdhx6-s0lln-n1z0q is provisioned from template pingcap_tidb_ghpr_check2_29885-xdhx6-s0lln --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "8bc2001a0beb63e058a02bdea376c3503f25f00d" jenkins/label: "pingcap_tidb_ghpr_check2_29885-xdhx6" name: "pingcap-tidb-ghpr-check2-29885-xdhx6-s0lln-n1z0q" 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-29885-xdhx6-s0lln-n1z0q" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-xdhx6-s0lln-n1z0q" - 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-29885-xdhx6-s0lln-n1z0q 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 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-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/29885/display/redirect JENKINS_URL=https://do.pingcap.net/jenkins/ EXECUTOR_NUMBER=0 JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_check2","buildid":"1908106818500956161","prowjobid":"2c63b2fd-a9b7-463b-8e8a-3bb5e6876c37","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":60132,"author":"mjonss","sha":"d992efb82fbe1dce48ee9795468c1255987b0fe0","title":"ddl: Non clustered reorg duplicate tidb rowid fix","head_ref":"non-clustered-reorg-duplicate-_tidb_rowid-fix","link":"https://github.com/pingcap/tidb/pull/60132","commit_link":"https://github.com/pingcap/tidb/pull/60132/commits/d992efb82fbe1dce48ee9795468c1255987b0fe0","author_link":"https://github.com/mjonss"}]}} _=/usr/bin/printenv BUILD_ID=1908106818500956161 POD_LABEL=pingcap_tidb_ghpr_check2_29885-xdhx6 HOSTNAME=pingcap-tidb-ghpr-check2-29885-xdhx6-s0lln-n1z0q OLDPWD=/home/jenkins RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/display/redirect?page=changes JENKINS_NODE_COOKIE=546a453b-2bb5-44f4-8504-da1f523c2161 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=29885 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-29885-xdhx6-s0lln-n1z0q 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/29885/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=2c63b2fd-a9b7-463b-8e8a-3bb5e6876c37 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/29885/display/redirect?page=artifacts BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/ TERM=xterm STAGE_NAME=Debug info JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/ BUILD_DISPLAY_NAME=#29885 SHLVL=3 GIT_BRANCH=origin/main BUILD_TAG=jenkins-pingcap-tidb-ghpr_check2-29885 KUBERNETES_SERVICE_PORT=443 NODE_LABELS=pingcap_tidb_ghpr_check2_29885-xdhx6 pingcap-tidb-ghpr-check2-29885-xdhx6-s0lln-n1z0q 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-build756906165=/tmp/go-build -gno-record-gcc-switches' + echo ------------------------- ------------------------- + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29885-xdhx6-s0lln-n1z0q bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29885-xdhx6-s0lln-n1z0q 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: 39482 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: 6edbc01d2ba2676e (echoed) ;; QUESTION SECTION: ;github.com. IN A ;; ANSWER SECTION: github.com. 22 IN A 20.205.243.166 github.com. 22 IN A 20.27.177.113 ;; Query time: 0 msec ;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP) ;; WHEN: Fri Apr 04 10:38:47 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 5.16 secs (235114580 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/60132/head -> origin/pr/60132/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..d992efb82f Fast-forward Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. pkg/ddl/partition.go | 99 +- pkg/ddl/tests/partition/db_partition_test.go | 54 +- pkg/ddl/tests/partition/multi_domain_test.go | 1893 +++++++++++++++++++++-- pkg/table/table.go | 13 + pkg/table/table_test.go | 7 +- pkg/table/tables/partition.go | 268 +++- pkg/table/tables/tables.go | 8 +- tests/integrationtest/r/ddl/db_partition.result | 8 +- 8 files changed, 2047 insertions(+), 303 deletions(-) 🧾 Pre-merged result: d992efb82fbe1dce48ee9795468c1255987b0fe0 d992efb82f Merge remote-tracking branch 'pingcap/master' into non-clustered-reorg-duplicate-_tidb_rowid-fix 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-d992efb) 1213911040 bytes in 19.10 secs (63562996 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-590-gd992efb82f" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2025-04-04 10:39:25" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=d992efb82fbe1dce48ee9795468c1255987b0fe0" -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/opentracing/opentracing-go v1.2.0 go: downloading github.com/pingcap/failpoint v0.0.0-20240528011301-b51a646c7c86 go: downloading github.com/prometheus/client_golang v1.21.1 go: downloading go.uber.org/automaxprocs v1.6.0 go: downloading github.com/tikv/client-go/v2 v2.0.8-0.20250327030528-1906b778d741 go: downloading go.uber.org/zap v1.27.0 go: downloading github.com/pingcap/kvproto v0.0.0-20250224053625-b6a98c6bf02d go: downloading go.uber.org/atomic v1.11.0 go: downloading github.com/pingcap/tipb v0.0.0-20250331100511-d2c561dad347 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 google.golang.org/grpc v1.63.2 go: downloading github.com/lestrrat-go/jwx/v2 v2.0.21 go: downloading github.com/google/btree v1.1.2 go: downloading github.com/otiai10/copy v1.14.0 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/google/pprof v0.0.0-20241001023024-f4c0cfd0cf1d go: downloading go.etcd.io/etcd/client/v3 v3.5.12 go: downloading github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7 go: downloading github.com/dgraph-io/ristretto v0.1.1 go: downloading golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 go: downloading github.com/pkg/errors v0.9.1 go: downloading golang.org/x/sys v0.31.0 go: downloading github.com/BurntSushi/toml v1.5.0 go: downloading github.com/uber/jaeger-client-go v2.22.1+incompatible go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/twmb/murmur3 v1.1.6 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/golang/snappy v0.0.4 go: downloading github.com/pingcap/sysutil v1.0.1-0.20240311050922-ae81ee01f3a5 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/wangjohn/quickselect v0.0.0-20161129230411-ed8402a42d5f go: downloading github.com/danjacques/gofslock v0.0.0-20191023191349-0a45f885bc37 go: downloading golang.org/x/sync v0.12.0 go: downloading github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117 go: downloading github.com/dolthub/swiss v0.2.1 go: downloading github.com/stretchr/testify v1.10.0 go: downloading github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a go: downloading google.golang.org/protobuf v1.36.5 go: downloading go.etcd.io/etcd/api/v3 v3.5.12 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/blacktear23/go-proxyprotocol v1.0.6 go: downloading github.com/gorilla/mux v1.8.1 go: downloading github.com/pingcap/fn v1.0.0 go: downloading github.com/klauspost/compress v1.18.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 github.com/opentracing/basictracer-go v1.0.0 go: downloading github.com/influxdata/tdigest v0.0.1 go: downloading golang.org/x/text v0.23.0 go: downloading github.com/coocood/freecache v1.2.1 go: downloading github.com/cloudfoundry/gosigar v1.3.6 go: downloading github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef go: downloading github.com/json-iterator/go v1.1.12 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading go.uber.org/multierr v1.11.0 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/prometheus/common v0.63.0 go: downloading github.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 go: downloading github.com/coreos/go-semver v0.3.1 go: downloading github.com/jellydator/ttlcache/v3 v3.0.1 go: downloading github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 go: downloading github.com/dolthub/maphash v0.1.0 go: downloading golang.org/x/time v0.11.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/pingcap/badger v1.5.1-0.20241015064302-38533b6cbf8d go: downloading github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da go: downloading github.com/qri-io/jsonschema v0.2.1 go: downloading github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 go: downloading github.com/prometheus/client_model v0.6.1 go: downloading github.com/go-asn1-ber/asn1-ber v1.5.4 go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.12 go: downloading golang.org/x/tools v0.31.0 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/procfs v0.16.0 go: downloading cloud.google.com/go/storage v1.38.0 go: downloading github.com/uber/jaeger-lib v2.4.1+incompatible 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 google.golang.org/api v0.169.0 go: downloading cloud.google.com/go v0.112.1 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/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/spf13/cobra v1.9.1 go: downloading github.com/cheggaaa/pb/v3 v3.0.8 go: downloading github.com/tklauser/go-sysconf v0.3.12 go: downloading github.com/spkg/bom v1.0.0 go: downloading github.com/xitongsys/parquet-go v1.6.3-0.20240520233950-75e935fc3e17 go: downloading github.com/carlmjohnson/flagext v0.21.0 go: downloading go.uber.org/mock v0.4.0 go: downloading github.com/jfcg/sorty/v2 v2.1.0 go: downloading github.com/robfig/cron/v3 v3.0.1 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 google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 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/VividCortex/ewma v1.2.0 go: downloading golang.org/x/crypto v0.36.0 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec go: downloading github.com/coreos/go-systemd/v22 v22.5.0 go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de 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/zyedidia/generic v1.2.1 go: downloading github.com/Masterminds/semver v1.5.0 go: downloading github.com/emirpasic/gods v1.18.1 go: downloading k8s.io/api v0.29.11 go: downloading github.com/mattn/go-colorable v0.1.14 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading github.com/lestrrat-go/httpcc v1.0.1 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/mattn/go-runewidth v0.0.16 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading cloud.google.com/go/compute/metadata v0.3.0 go: downloading github.com/jfcg/sixb v1.3.8 go: downloading github.com/jedib0t/go-pretty/v6 v6.2.2 go: downloading github.com/tklauser/numcpus v0.6.1 go: downloading github.com/apache/thrift v0.16.0 go: downloading github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989 go: downloading cloud.google.com/go/iam v1.1.6 go: downloading github.com/googleapis/gax-go/v2 v2.12.2 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 github.com/kylelemons/godebug v1.1.0 go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 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/rivo/uniseg v0.4.7 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/klauspost/cpuid v1.3.1 go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 go: downloading github.com/segmentio/fasthash v1.0.3 go: downloading cloud.google.com/go/kms v1.15.7 go: downloading github.com/pierrec/lz4/v4 v4.1.15 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading github.com/go-logr/logr v1.4.1 go: downloading go.opentelemetry.io/otel/metric v1.24.0 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading github.com/cockroachdb/errors v1.11.3 go: downloading github.com/cockroachdb/redact v1.1.5 go: downloading github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce go: downloading github.com/DataDog/zstd v1.5.5 go: downloading github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 go: downloading github.com/getsentry/sentry-go v0.27.0 go: downloading github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b 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/google/flatbuffers v2.0.8+incompatible go: downloading github.com/goccy/go-json v0.10.2 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 gopkg.in/inf.v0 v0.9.1 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1 go: downloading github.com/google/gofuzz v1.2.0 go: downloading k8s.io/klog/v2 v2.120.1 go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd 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 github.com/googleapis/enterprise-certificate-proxy v0.3.2 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 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-d992efb82fbe1dce48ee9795468c1255987b0fe0) 253091840 bytes in 3.61 secs (70086042 bytes/sec) [Pipeline] // cache [Pipeline] script [Pipeline] { [Pipeline] echo computeBranchFromPR component: tikv, prTargetBranch: master, prTitle: ddl: Non clustered reorg duplicate tidb rowid fix, 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 41 100 41 0 0 24 0 0:00:01 0:00:01 --:--:-- 24 + 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: ddl: Non clustered reorg duplicate tidb rowid fix, 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 229 0 --:--:-- --:--:-- --:--:-- 230 + 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-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] } Cache saved successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 39.38 secs (74283936 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-29885-z9pz8-wb6m4-vjpvw 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-29885-jbphp-k8kj2-1snc0 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-29885-khsrn-d4v7j-75cf3 Agent pingcap-tidb-ghpr-check2-29885-z9pz8-wb6m4-vjpvw is provisioned from template pingcap_tidb_ghpr_check2_29885-z9pz8-wb6m4 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "bc22d00ce4e7b151899e373c40b69a81774991b9" jenkins/label: "pingcap_tidb_ghpr_check2_29885-z9pz8" name: "pingcap-tidb-ghpr-check2-29885-z9pz8-wb6m4-vjpvw" 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-29885-z9pz8-wb6m4-vjpvw" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-z9pz8-wb6m4-vjpvw" - 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 [Pipeline] podTemplate [Pipeline] { Running on pingcap-tidb-ghpr-check2-29885-z9pz8-wb6m4-vjpvw in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] node [Pipeline] checkout The recommended git tool is: git Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-3qdk6-5rt1x-1trcb 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-29885-5bn63-2hntx-s5cd8 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@478accaa; decorates RemoteLauncher[hudson.remoting.Channel@36114271:JNLP4-connect connection from 10.233.70.179/10.233.70.179:43422] 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-29885-hvh4d-bd2zr-x7b1x Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-kht4z-2cg9r-bxqc2 Agent pingcap-tidb-ghpr-check2-29885-jbphp-k8kj2-1snc0 is provisioned from template pingcap_tidb_ghpr_check2_29885-jbphp-k8kj2 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "c7cda9bd9fcd18523360aa8e4d3192d6079a8893" jenkins/label: "pingcap_tidb_ghpr_check2_29885-jbphp" name: "pingcap-tidb-ghpr-check2-29885-jbphp-k8kj2-1snc0" 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-29885-jbphp-k8kj2-1snc0" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-jbphp-k8kj2-1snc0" - 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-29885-jbphp-k8kj2-1snc0 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] checkout The recommended git tool is: git Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-g6vsx-xvv64-9ffjr Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-3mld0-mgz8h-004dr Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-slh3w-dmrhg-374wk No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@3a914619; decorates RemoteLauncher[hudson.remoting.Channel@5270992d:JNLP4-connect connection from 10.233.76.79/10.233.76.79:49568] 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 Agent pingcap-tidb-ghpr-check2-29885-khsrn-d4v7j-75cf3 is provisioned from template pingcap_tidb_ghpr_check2_29885-khsrn-d4v7j --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "f7ffb47c4356e84edcf7dba04d8cddca97157f26" jenkins/label: "pingcap_tidb_ghpr_check2_29885-khsrn" name: "pingcap-tidb-ghpr-check2-29885-khsrn-d4v7j-75cf3" 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-29885-khsrn-d4v7j-75cf3" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-khsrn-d4v7j-75cf3" - 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" 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 Running on pingcap-tidb-ghpr-check2-29885-khsrn-d4v7j-75cf3 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] podTemplate [Pipeline] { [Pipeline] { [Pipeline] node [Pipeline] checkout > 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 The recommended git tool is: git 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)" [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] timeout Timeout set to expire in 50 min Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] { [Pipeline] podTemplate Agent pingcap-tidb-ghpr-check2-29885-3qdk6-5rt1x-1trcb is provisioned from template pingcap_tidb_ghpr_check2_29885-3qdk6-5rt1x --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "5bb9bf75a3dbab6ecaa34f8e7e23ea297a07beca" jenkins/label: "pingcap_tidb_ghpr_check2_29885-3qdk6" name: "pingcap-tidb-ghpr-check2-29885-3qdk6-5rt1x-1trcb" 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-29885-3qdk6-5rt1x-1trcb" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-3qdk6-5rt1x-1trcb" - 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" [Pipeline] { Running on pingcap-tidb-ghpr-check2-29885-3qdk6-5rt1x-1trcb in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] node [Pipeline] { [Pipeline] checkout [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN The recommended git tool is: git [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@9202b7d; decorates RemoteLauncher[hudson.remoting.Channel@378118ed:JNLP4-connect connection from 10.233.77.55/10.233.77.55:49820] 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] cache Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-2n4b9-l3jg0-ns8zf 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 rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-l7j8s-2n67v-hgj22 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@6095a4da; decorates RemoteLauncher[hudson.remoting.Channel@7dd1e449:JNLP4-connect connection from 10.233.72.234/10.233.72.234:36586] 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 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29885-hvh4d-bd2zr-x7b1x is provisioned from template pingcap_tidb_ghpr_check2_29885-hvh4d-bd2zr --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "01c115e54ddbd879cf64ee439b87681f0c02cc3a" jenkins/label: "pingcap_tidb_ghpr_check2_29885-hvh4d" name: "pingcap-tidb-ghpr-check2-29885-hvh4d-bd2zr-x7b1x" 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-29885-hvh4d-bd2zr-x7b1x" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-hvh4d-bd2zr-x7b1x" - 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" Agent pingcap-tidb-ghpr-check2-29885-kht4z-2cg9r-bxqc2 is provisioned from template pingcap_tidb_ghpr_check2_29885-kht4z-2cg9r --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "15a52cda8ea8de45bf75465f461f0f81287d55c8" jenkins/label: "pingcap_tidb_ghpr_check2_29885-kht4z" name: "pingcap-tidb-ghpr-check2-29885-kht4z-2cg9r-bxqc2" 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-29885-kht4z-2cg9r-bxqc2" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-kht4z-2cg9r-bxqc2" - 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-29885-hvh4d-bd2zr-x7b1x in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Running on pingcap-tidb-ghpr-check2-29885-kht4z-2cg9r-bxqc2 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29885-5bn63-2hntx-s5cd8 is provisioned from template pingcap_tidb_ghpr_check2_29885-5bn63-2hntx --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "9ef5eaecdaa8473b0b92a89a73130e02f8e71cf4" jenkins/label: "pingcap_tidb_ghpr_check2_29885-5bn63" name: "pingcap-tidb-ghpr-check2-29885-5bn63-2hntx-s5cd8" 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-29885-5bn63-2hntx-s5cd8" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-5bn63-2hntx-s5cd8" - 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-29885-5bn63-2hntx-s5cd8 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29885-slh3w-dmrhg-374wk is provisioned from template pingcap_tidb_ghpr_check2_29885-slh3w-dmrhg --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "35d247a000203d0e5c0d3711fc5ffa06e38d03e9" jenkins/label: "pingcap_tidb_ghpr_check2_29885-slh3w" name: "pingcap-tidb-ghpr-check2-29885-slh3w-dmrhg-374wk" 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-29885-slh3w-dmrhg-374wk" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-slh3w-dmrhg-374wk" - 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-29885-slh3w-dmrhg-374wk in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Agent pingcap-tidb-ghpr-check2-29885-3mld0-mgz8h-004dr is provisioned from template pingcap_tidb_ghpr_check2_29885-3mld0-mgz8h --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "0e9a92fc807f5cdcd9deef999dbbd3af3c11b04e" jenkins/label: "pingcap_tidb_ghpr_check2_29885-3mld0" name: "pingcap-tidb-ghpr-check2-29885-3mld0-mgz8h-004dr" 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-29885-3mld0-mgz8h-004dr" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-3mld0-mgz8h-004dr" - 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-29885-3mld0-mgz8h-004dr 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 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-29885-g6vsx-xvv64-9ffjr is provisioned from template pingcap_tidb_ghpr_check2_29885-g6vsx-xvv64 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "e3f4a7c7b621ee89a87e110c822f8ace4fda48f2" jenkins/label: "pingcap_tidb_ghpr_check2_29885-g6vsx" name: "pingcap-tidb-ghpr-check2-29885-g6vsx-xvv64-9ffjr" 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-29885-g6vsx-xvv64-9ffjr" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-g6vsx-xvv64-9ffjr" - 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-29885-g6vsx-xvv64-9ffjr in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git 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-29885-l7j8s-2n67v-hgj22 is provisioned from template pingcap_tidb_ghpr_check2_29885-l7j8s-2n67v --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "5aa709692d7470c99f016a9c6aa048acdcbb47b5" jenkins/label: "pingcap_tidb_ghpr_check2_29885-l7j8s" name: "pingcap-tidb-ghpr-check2-29885-l7j8s-2n67v-hgj22" 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-29885-l7j8s-2n67v-hgj22" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-l7j8s-2n67v-hgj22" - 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-29885-l7j8s-2n67v-hgj22 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29885-2n4b9-l3jg0-ns8zf is provisioned from template pingcap_tidb_ghpr_check2_29885-2n4b9-l3jg0 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "ea2009e51a1de2dc41ee91b437416e51530ceefd" jenkins/label: "pingcap_tidb_ghpr_check2_29885-2n4b9" name: "pingcap-tidb-ghpr-check2-29885-2n4b9-l3jg0-ns8zf" 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-29885-2n4b9-l3jg0-ns8zf" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-2n4b9-l3jg0-ns8zf" - 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-29885-2n4b9-l3jg0-ns8zf in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.22 secs (355986316 bytes/sec) [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] sh [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-r2458-fkn0h-pq7hz Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-0qsvd-ht449-b4h01 The recommended git tool is: git [Pipeline] checkout Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-83k6c-d48xp-84fbc Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-m0b0p-zct6b-vfss0 [Pipeline] checkout The recommended git tool is: git Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-djgkh-0875k-sf8mb [Pipeline] checkout Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29885-mmscv-l30h2-kmdtz The recommended git tool is: git The recommended git tool is: git [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [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] sh [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@6e8423bc; decorates RemoteLauncher[hudson.remoting.Channel@178f46a6:JNLP4-connect connection from 10.233.84.226/10.233.84.226:57886] 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@329e6620; decorates RemoteLauncher[hudson.remoting.Channel@5bbb4436:JNLP4-connect connection from 10.233.66.44/10.233.66.44:52284] 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 Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] { No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@6181cd04; decorates RemoteLauncher[hudson.remoting.Channel@243e75e6:JNLP4-connect connection from 10.233.90.227/10.233.90.227:53570] 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] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@17a4fa06; decorates RemoteLauncher[hudson.remoting.Channel@29db0124:JNLP4-connect connection from 10.233.67.14/10.233.67.14:34928] 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@2c48d9f6; decorates RemoteLauncher[hudson.remoting.Channel@3e2c130:JNLP4-connect connection from 10.233.88.168/10.233.88.168:52820] will be ignored (a typical symptom is the Git executable not being run inside a designated container) [Pipeline] { 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] 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@3d9edcde; decorates RemoteLauncher[hudson.remoting.Channel@326572e0:JNLP4-connect connection from 10.233.71.136/10.233.71.136:60058] 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@625b61c0; decorates RemoteLauncher[hudson.remoting.Channel@369a2724:JNLP4-connect connection from 10.233.93.176/10.233.93.176:46576] will be ignored (a typical symptom is the Git executable not being run inside a designated container) [Pipeline] { Cloning the remote Git repository Using shallow clone with depth 1 Cloning repository https://github.com/PingCAP-QE/ci.git + 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 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@3f54c09f; decorates RemoteLauncher[hudson.remoting.Channel@74dd61ac:JNLP4-connect connection from 10.233.127.186/10.233.127.186:34602] 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 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 > 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 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 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 > 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 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 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Agent pingcap-tidb-ghpr-check2-29885-0qsvd-ht449-b4h01 is provisioned from template pingcap_tidb_ghpr_check2_29885-0qsvd-ht449 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "157a16a42cf2798f7e6ce61f8359c685652ab566" jenkins/label: "pingcap_tidb_ghpr_check2_29885-0qsvd" name: "pingcap-tidb-ghpr-check2-29885-0qsvd-ht449-b4h01" 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-29885-0qsvd-ht449-b4h01" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-0qsvd-ht449-b4h01" - 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" 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 > 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-29885-0qsvd-ht449-b4h01 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29885-83k6c-d48xp-84fbc is provisioned from template pingcap_tidb_ghpr_check2_29885-83k6c-d48xp --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "65955b5103def01ad4f4bc4f68ba8fa632268f31" jenkins/label: "pingcap_tidb_ghpr_check2_29885-83k6c" name: "pingcap-tidb-ghpr-check2-29885-83k6c-d48xp-84fbc" 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-29885-83k6c-d48xp-84fbc" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-83k6c-d48xp-84fbc" - 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-29885-83k6c-d48xp-84fbc in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29885-r2458-fkn0h-pq7hz is provisioned from template pingcap_tidb_ghpr_check2_29885-r2458-fkn0h --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "7c073c2ed3140a4ac8be97dfd55bfcfde9c7eb19" jenkins/label: "pingcap_tidb_ghpr_check2_29885-r2458" name: "pingcap-tidb-ghpr-check2-29885-r2458-fkn0h-pq7hz" 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-29885-r2458-fkn0h-pq7hz" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-r2458-fkn0h-pq7hz" - 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" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Running on pingcap-tidb-ghpr-check2-29885-r2458-fkn0h-pq7hz in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 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) Agent pingcap-tidb-ghpr-check2-29885-m0b0p-zct6b-vfss0 is provisioned from template pingcap_tidb_ghpr_check2_29885-m0b0p-zct6b --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "e112128d2b2b9e6569f5654e9cff5baeecb3703f" jenkins/label: "pingcap_tidb_ghpr_check2_29885-m0b0p" name: "pingcap-tidb-ghpr-check2-29885-m0b0p-zct6b-vfss0" 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-29885-m0b0p-zct6b-vfss0" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-m0b0p-zct6b-vfss0" - 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-29885-m0b0p-zct6b-vfss0 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 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 > 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-29885-mmscv-l30h2-kmdtz is provisioned from template pingcap_tidb_ghpr_check2_29885-mmscv-l30h2 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "8cd647ff8c699da7e7730f3f2ea68c29594604dc" jenkins/label: "pingcap_tidb_ghpr_check2_29885-mmscv" name: "pingcap-tidb-ghpr-check2-29885-mmscv-l30h2-kmdtz" 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-29885-mmscv-l30h2-kmdtz" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-mmscv-l30h2-kmdtz" - 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" Agent pingcap-tidb-ghpr-check2-29885-djgkh-0875k-sf8mb is provisioned from template pingcap_tidb_ghpr_check2_29885-djgkh-0875k --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29885/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29885/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "b83ab0dfde6b8c30694a9489c9252b82fb2e480f" jenkins/label: "pingcap_tidb_ghpr_check2_29885-djgkh" name: "pingcap-tidb-ghpr-check2-29885-djgkh-0875k-sf8mb" 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-29885-djgkh-0875k-sf8mb" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29885-djgkh-0875k-sf8mb" - 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-29885-djgkh-0875k-sf8mb in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Running on pingcap-tidb-ghpr-check2-29885-mmscv-l30h2-kmdtz in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 7.58 secs (386115122 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 7.43 secs (393572023 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.45 secs (346343814 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [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] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [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 The recommended git tool is: git [Pipeline] // cache [Pipeline] // cache [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 [Pipeline] checkout [Pipeline] checkout No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@5eaa52a2; decorates RemoteLauncher[hudson.remoting.Channel@2ecd170b:JNLP4-connect connection from 10.233.77.6/10.233.77.6:47606] will be ignored (a typical symptom is the Git executable not being run inside a designated container) The recommended git tool is: git Cloning the remote Git repository Using shallow clone with depth 1 The recommended git tool is: git [Pipeline] sh No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@4408a553; decorates RemoteLauncher[hudson.remoting.Channel@483af1e4:JNLP4-connect connection from 10.233.86.247/10.233.86.247:50740] 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 + 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@3bb7aab; decorates RemoteLauncher[hudson.remoting.Channel@61cd2e64:JNLP4-connect connection from 10.233.67.54/10.233.67.54:34276] 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] stage [Pipeline] { (Test) [Pipeline] stage 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] { (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] 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] timeout Timeout set to expire in 50 min [Pipeline] { + /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 [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@74461d2a; decorates RemoteLauncher[hudson.remoting.Channel@45d8240d:JNLP4-connect connection from 10.233.75.115/10.233.75.115:51240] 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] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] // cache [Pipeline] sh No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@7d962a29; decorates RemoteLauncher[hudson.remoting.Channel@57c36a7f:JNLP4-connect connection from 10.233.66.64/10.233.66.64:50200] 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] sh No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@7b9f6d30; decorates RemoteLauncher[hudson.remoting.Channel@1e60bbe1:JNLP4-connect connection from 10.233.72.201/10.233.72.201:50166] 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 go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading go.uber.org/atomic v1.11.0 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 + 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 go: downloading golang.org/x/sys v0.5.0 + 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] 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 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 + 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 [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [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) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) [Pipeline] sh 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 > 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 [Pipeline] sh 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) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_sessiontest Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] sh Avoid second fetch + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_statisticstest Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) start tidb-server, log file: ./integration-test.out tidb-server(PID: 1029) started run all integration test cases (disabled new collation) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb > 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 [Pipeline] { > 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 [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] { Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [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] { 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)" [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] withEnv [Pipeline] { + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_txntest [Pipeline] withEnv [Pipeline] { [Pipeline] 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 > 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 ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.707446662 s ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.629487381 s ./t/collation_misc.test: ok! 66 test cases passed, take time 0.555011223 s ./t/collation_pointget.test: ok! 106 test cases passed, take time 0.680148848 s Great, All tests passed integrationtest passed! ./run-tests.sh: line 1: kill: (1029) - No such process ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.36 secs (349851402 bytes/sec) [Pipeline] { [Pipeline] cache 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... 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... Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.27 secs (353959261 bytes/sec) [Pipeline] { [Pipeline] cache Starting local Bazel server and connecting to it... INFO: Invocation ID: c62b7dcd-9e0d-4dde-83e7-990ac1dc012d 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_04_10_43_42.403412185/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: 90d949c9-0b22-45b8-a8cc-9fc6f661a0fa 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_04_10_43_43.4156550733/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 //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... Loading: Loading: INFO: Invocation ID: de94e86a-d69b-457a-b55f-4b5cddff2cfb 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_04_10_43_43.3270122111/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) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) 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 (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 (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (75 packages loaded, 5005 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.78 secs (333229798 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.06 secs (363064979 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5919 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5650 targets configured) Analyzing: target //:gazelle (401 packages loaded, 6245 targets configured) Analyzing: target //:gazelle (271 packages loaded, 6322 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (428 packages loaded, 6824 targets configured) [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (170 packages loaded, 5901 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 //:gazelle (224 packages loaded, 6263 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, 5.0 MiB / 8.3 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/compile, 14.0 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/linux_amd64/internal/poll.a; 1s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 87] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action 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; 2s remote-cache ... (4 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, 8.3 MiB / 18.9 MiB; 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/go/types.a; 0s remote-cache ... (4 actions, 0 running) [166 / 530] GoLink external/bazel_gazelle/language/proto/gen/gen_known_imports_/gen_known_imports [for tool]; 0s remote-cache ... (8 actions, 0 running) [29 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 18.6 MiB / 18.9 MiB; 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, 6.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [518 / 530] [Prepa] Running nogo on @bazel_gazelle//config:config ... (2 actions, 0 running) [171 / 530] GoCompilePkg external/org_golang_x_mod/modfile/modfile.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: 31.484s, 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 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.19 secs (357376953 bytes/sec) [Pipeline] { [Pipeline] 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: dac067fb-fabb-4001-a1de-fc228fcb614b 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_04_10_43_43.4156550733/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 [525 / 530] [Prepa] Validating nogo output for @bazel_gazelle//language:language Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.679s, Critical Path: 4.95s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle 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) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/go/types.a, 5.0 MiB / 5.9 MiB; 3s 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: 339389d1-1378-45da-99e0-5f8172acf744 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_04_10_43_42.403412185/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) [158 / 530] GoLink external/org_golang_x_tools/cmd/goyacc/goyacc_/goyacc [for tool]; Downloading external/org_golang_x_tools/cmd/goyacc/goyacc_/goyacc, 2.0 MiB / 2.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5307 targets configured) [486 / 530] [Prepa] Running nogo on @bazel_gazelle//flag:flag ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5167 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 33.500s, Critical Path: 5.21s 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 (35 packages loaded, 7163 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: 1c3f4d05-034b-4c4b-b0c3-cfcc4a979532 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_04_10_43_43.3270122111/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 (20 packages loaded, 6844 targets configured) Analyzing: target //tools/tazel:tazel (235 packages loaded, 7836 targets configured) Analyzing: target //tools/tazel:tazel (134 packages loaded, 7753 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 341] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5383 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 45] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,162 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (43 packages loaded, 7214 targets configured) [1,102 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (8 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.235s, Critical Path: 1.34s 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 (247 packages loaded, 7921 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.257s, Critical Path: 1.48s 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: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 1] checking cached actions 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: 9aa9e049-fb9a-450e-9926-c2381dd7073b 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_04_10_43_43.4156550733/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/statisticstest:statisticstest_test (1 packages loaded, 0 targets configured) [1,149 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (8 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/sessiontest/... INFO: Invocation ID: 092ed062-7a4b-42ab-b5ab-5d0d8175d9f4 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_04_10_43_42.403412185/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. Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1 packages loaded, 0 targets configured) INFO: Elapsed time: 6.155s, Critical Path: 1.57s 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 ' Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 7.82 secs (374068670 bytes/sec) [Pipeline] { Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (151 packages loaded, 5218 targets configured) [Pipeline] cache Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (233 packages loaded, 5042 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (558 packages loaded, 6213 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: b78a46eb-81b6-434d-ac27-9bfda3c5a6ad 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_04_10_43_43.3270122111/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/txntest:txntest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (637 packages loaded, 5630 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1015 packages loaded, 8536 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (808 packages loaded, 7406 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (306 packages loaded, 4331 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1147 packages loaded, 10668 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1109 packages loaded, 10037 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (660 packages loaded, 6566 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1244 packages loaded, 11241 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1139 packages loaded, 10356 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1025 packages loaded, 8247 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1393 packages loaded, 12447 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1254 packages loaded, 11360 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1117 packages loaded, 9950 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1447 packages loaded, 12938 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1376 packages loaded, 12225 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1187 packages loaded, 10525 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1609 packages loaded, 14069 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1468 packages loaded, 13069 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1346 packages loaded, 11919 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1671 packages loaded, 14465 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1609 packages loaded, 14071 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1427 packages loaded, 12910 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1759 packages loaded, 14964 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 Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1671 packages loaded, 14467 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1499 packages loaded, 13414 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.44 secs (346565901 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //tests/realtikvtest/txntest:txntest_test (1546 packages loaded, 13792 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1671 packages loaded, 14467 targets configured) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.0 MiB / 18.9 MiB; 1s remote-cache ... (3 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/txntest:txntest_test (1671 packages loaded, 14468 targets configured) [24 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (7 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 12.2 MiB / 12.2 MiB; 0s remote-cache ... (3 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/txntest:txntest_test (1763 packages loaded, 15093 targets configured).  checking cached actions INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [254 / 4,573] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 3.1 MiB / 9.3 MiB; 0s remote-cache ... (7 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 7.0 MiB / 8.3 MiB; 1s remote-cache ... (3 actions, 0 running) [488 / 4,573] GoCompilePkg external/com_github_json_iterator_go/go.a; Downloading external/com_github_json_iterator_go/go.a, 3.2 MiB / 4.1 MiB; 0s remote-cache ... (8 actions, 0 running) [128 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) [753 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/replication_modepb/replication_modepb.a; 0s remote-cache ... (8 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, 12.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [495 / 4,573] GoCompilePkg external/org_golang_x_net/http2/http2.a; Downloading external/org_golang_x_net/http2/http2.a, 3.2 MiB / 4.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,010 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/kms/kms.a; Downloading external/com_github_aws_aws_sdk_go/service/kms/kms.a, 6.3 MiB / 6.7 MiB; 0s remote-cache ... (8 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, 4.0 MiB / 9.3 MiB; 2s remote-cache ... (8 actions, 0 running) [869 / 4,573] GoCompilePkg external/com_github_azure_azure_sdk_for_go_sdk_azcore/azcore.a; Downloading external/com_github_azure_azure_sdk_for_go_sdk_azcore/azcore.a; 0s remote-cache ... (8 actions, 0 running) [1,139 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [142 / 4,573] GoCompilePkg pkg/util/tracing/tracing.a; Downloading pkg/util/tracing/tracing.a; 0s remote-cache ... (8 actions, 0 running) [1,231 / 4,573] GoCompilePkg external/io_opentelemetry_go_otel/semconv/v1.17.0/v1_17_0.a; Downloading external/io_opentelemetry_go_otel/semconv/v1.17.0/v1_17_0.a, 383.8 KiB / 761.8 KiB; 0s remote-cache ... (8 actions, 0 running) [472 / 4,573] GoCompilePkg external/com_github_golangci_prealloc/prealloc.a [for tool]; Downloading external/com_github_golangci_prealloc/prealloc.x; 0s remote-cache ... (8 actions, 0 running) [1,328 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/tsopb/tsopb.a; Downloading external/com_github_pingcap_kvproto/pkg/tsopb/tsopb.a, 1.2 MiB / 1.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,382 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [767 / 4,573] GoCompilePkg external/com_github_cockroachdb_redact/internal/rfmt/rfmt.a; Downloading external/com_github_cockroachdb_redact/internal/rfmt/rfmt.a, 655.8 KiB / 874.4 KiB; 0s remote-cache ... (8 actions, 0 running) [1,906 / 4,573] GoCompilePkg pkg/lightning/log/log.a; 0s remote-cache ... (8 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 7.68 secs (380720205 bytes/sec) [Pipeline] { [Pipeline] sh [1,704 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; Downloading external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a, 11.1 MiB / 12.2 MiB; 0s remote-cache ... (6 actions, 0 running) [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] sh [3,470 / 4,573] GoCompilePkg pkg/store/helper/helper.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [952 / 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, 49.3 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [3,031 / 4,573] GoCompilePkg pkg/domain/globalconfigsync/globalconfigsync.a; Downloading pkg/domain/globalconfigsync/globalconfigsync.x; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] sh [3,785 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 84.2 MiB / 108.6 MiB; 0s remote-cache ... (2 actions, 0 running) [1,121 / 4,573] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 6.0 MiB / 9.3 MiB; 0s remote-cache ... (7 actions, 0 running) + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] withEnv [Pipeline] { + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] container [Pipeline] { [Pipeline] withEnv [Pipeline] { [3,992 / 4,573] GoCompilePkg pkg/expression/expropt/expropt.a; 0s remote-cache ... (7 actions, 0 running) [1,268 / 4,573] GoCompilePkg external/com_github_apache_arrow_go_v12/arrow/array/array.a; Downloading external/com_github_apache_arrow_go_v12/arrow/array/array.a, 10.0 MiB / 13.4 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] container [Pipeline] { [4,157 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/tablesampler/tablesampler.a ... (3 actions, 0 running) [4,079 / 4,573] [Prepa] GoCompilePkg pkg/session/types/types.a ... (8 actions, 0 running) [1,479 / 4,573] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; 0s remote-cache ... (3 actions, 0 running) [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [4,163 / 4,573] [Prepa] Running nogo on //pkg/util/rowDecoder:rowDecoder ... (6 actions, 0 running) [2,916 / 4,573] GoCompilePkg pkg/util/domainutil/domainutil.a; Downloading pkg/util/domainutil/domainutil.a; 0s remote-cache ... (6 actions, 0 running) [4,162 / 4,573] GoCompilePkg pkg/table/tables/tables.a; 1s remote-cache, linux-sandbox [4,197 / 4,573] GoCompilePkg pkg/store/driver/txn/txn.a; 0s remote-cache, linux-sandbox ... (9 actions, 4 running) [3,932 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 7.0 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,220 / 4,573] [Prepa] GoCompilePkg pkg/store/mockstore/mockstorage/mockstorage.a ... (2 actions, 0 running) [4,229 / 4,573] Running nogo on //pkg/infoschema:infoschema; 0s remote-cache, linux-sandbox ... (4 actions running) [Pipeline] container [Pipeline] { [4,079 / 4,573] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (8 actions, 0 running) [4,229 / 4,573] Running nogo on //pkg/infoschema:infoschema; 1s remote-cache, linux-sandbox ... (4 actions running) [4,230 / 4,573] GoCompilePkg pkg/infoschema/infoschema.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] stage [Pipeline] { (Test) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [4,231 / 4,573] GoCompilePkg pkg/infoschema/infoschema.a; 0s remote-cache, linux-sandbox [Pipeline] // dir Post stage [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [4,232 / 4,573] [Prepa] GoCompilePkg pkg/sessiontxn/sessiontxn.a ... (6 actions, 0 running) [4,231 / 4,573] GoCompilePkg pkg/infoschema/infoschema.a; 2s remote-cache, linux-sandbox None of the test reports contained any result [Checks API] No suitable checks publisher found. [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] // 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 [4,235 / 4,573] GoCompilePkg pkg/sessiontxn/sessiontxn.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,241 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 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 [Pipeline] sh [4,231 / 4,573] GoCompilePkg pkg/infoschema/infoschema.a; 2s remote-cache, linux-sandbox + 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 + 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 [4,257 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,258 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache, linux-sandbox ... (14 actions, 12 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 [Pipeline] sh [4,258 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 1s remote-cache, linux-sandbox ... (13 actions, 12 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 [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] { [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] { [Pipeline] cache + 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 [4,298 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,294 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,288 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,320 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,314 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 3s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,326 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 4s remote-cache, linux-sandbox ... (13 actions, 10 running) [4,338 / 4,573] GoCompilePkg pkg/statistics/handle/storage/storage.a; 1s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,343 / 4,573] GoCompilePkg pkg/lightning/backend/kv/kv.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,339 / 4,573] GoCompilePkg pkg/lightning/backend/kv/kv.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,347 / 4,573] GoCompilePkg pkg/statistics/handle/usage/usage.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,357 / 4,573] Running nogo on //pkg/ttl/ttlworker:ttlworker; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,358 / 4,573] GoCompilePkg pkg/statistics/handle/autoanalyze/autoanalyze.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,364 / 4,573] GoCompilePkg pkg/lightning/errormanager/errormanager.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,371 / 4,573] GoCompilePkg pkg/lightning/backend/external/external.a; 1s remote-cache, linux-sandbox ... (10 actions running) [4,371 / 4,573] GoCompilePkg pkg/lightning/backend/external/external.a; 2s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,373 / 4,573] GoCompilePkg pkg/ttl/ttlworker/ttlworker.a; 1s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,379 / 4,573] GoCompilePkg br/pkg/metautil/metautil.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,383 / 4,573] GoCompilePkg br/pkg/checksum/checksum.a; 0s remote-cache, linux-sandbox ... (6 actions, 2 running) [4,383 / 4,573] GoCompilePkg br/pkg/checksum/checksum.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,391 / 4,573] [Prepa] GoCompilePkg pkg/lightning/backend/local/local.a [4,391 / 4,573] GoCompilePkg pkg/lightning/backend/local/local.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,391 / 4,573] GoCompilePkg pkg/lightning/backend/local/local.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,394 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/ingest.a ... (2 actions, 0 running) [4,394 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/ingest.a ... (2 actions, 0 running) [4,393 / 4,573] GoCompilePkg pkg/lightning/backend/local/local.a; 1s remote-cache, linux-sandbox [4,396 / 4,573] GoCompilePkg pkg/ddl/ingest/ingest.a; 0s remote-cache, linux-sandbox Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.03 secs (364537146 bytes/sec) [4,397 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ddl.a [Pipeline] { [4,397 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ddl.a [Pipeline] cache [4,397 / 4,573] Running nogo on //pkg/ddl:ddl; 1s remote-cache, linux-sandbox ... (4 actions running) [4,397 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,397 / 4,573] Running nogo on //pkg/ddl:ddl; 1s remote-cache, linux-sandbox ... (4 actions running) [4,397 / 4,573] Running nogo on //pkg/ddl:ddl; 2s remote-cache, linux-sandbox ... (4 actions running) [4,397 / 4,573] Running nogo on //pkg/ddl:ddl; 2s remote-cache, linux-sandbox ... (4 actions running) [4,398 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 2s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,399 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 4s remote-cache, linux-sandbox [4,399 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 4s remote-cache, linux-sandbox [4,399 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 4s remote-cache, linux-sandbox [4,400 / 4,573] [Prepa] GoCompilePkg pkg/infoschema/perfschema/perfschema.a ... (6 actions, 0 running) [4,400 / 4,573] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a ... (6 actions, 0 running) [4,399 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 8s remote-cache, linux-sandbox [4,401 / 4,573] GoCompilePkg pkg/resourcegroup/runaway/runaway.a; 1s remote-cache, linux-sandbox ... (11 actions, 10 running) [4,402 / 4,573] GoCompilePkg pkg/ddl/schematracker/schematracker.a; 1s remote-cache, linux-sandbox ... (9 actions, 8 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.05 secs (363496699 bytes/sec) [Pipeline] { [Pipeline] sh [4,406 / 4,573] GoCompilePkg pkg/ddl/schematracker/schematracker.a; 1s remote-cache, linux-sandbox ... (5 actions, 4 running) [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] } [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache [4,409 / 4,573] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,409 / 4,573] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (4 actions running) + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [4,411 / 4,573] GoCompilePkg pkg/domain/domain.a; 1s remote-cache, linux-sandbox [4,410 / 4,573] GoCompilePkg pkg/domain/domain.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,411 / 4,573] GoCompilePkg pkg/domain/domain.a; 2s remote-cache, linux-sandbox [4,411 / 4,573] GoCompilePkg pkg/domain/domain.a; 2s remote-cache, linux-sandbox [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (6 actions, 0 running) [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (8 actions, 0 running) [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (7 actions, 0 running) [4,414 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 1s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,413 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,413 / 4,573] GoCompilePkg pkg/plugin/plugin.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,419 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,417 / 4,573] GoCompilePkg pkg/plugin/plugin.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,418 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,426 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 3s remote-cache, linux-sandbox ... (14 actions running) [4,426 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 4s remote-cache, linux-sandbox ... (14 actions running) [4,426 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 4s remote-cache, linux-sandbox ... (14 actions running) [4,426 / 4,573] GoCompilePkg pkg/plugin/plugin.a; 4s remote-cache, linux-sandbox ... (14 actions running) [4,430 / 4,573] GoCompilePkg pkg/planner/indexadvisor/indexadvisor.a; 5s remote-cache, linux-sandbox ... (16 actions running) [4,431 / 4,573] GoCompilePkg pkg/planner/indexadvisor/indexadvisor.a; 5s remote-cache, linux-sandbox ... (6 actions, 4 running) [4,433 / 4,573] Running nogo on //pkg/executor/aggregate:aggregate; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.13 secs (359745092 bytes/sec) [4,437 / 4,573] GoCompilePkg pkg/sessiontxn/staleread/staleread.a; 4s remote-cache, linux-sandbox ... (16 actions running) [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] sh [4,438 / 4,573] GoCompilePkg pkg/executor/lockstats/lockstats.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [Pipeline] sh [4,440 / 4,573] GoCompilePkg pkg/executor/internal/calibrateresource/calibrateresource.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 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) [Pipeline] sh [4,447 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 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,449 / 4,573] GoCompilePkg pkg/executor/internal/calibrateresource/calibrateresource.a; 2s remote-cache, linux-sandbox ... (14 actions, 12 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,448 / 4,573] GoCompilePkg pkg/executor/lockstats/lockstats.a; 2s remote-cache, linux-sandbox ... (16 actions 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 + 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] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache [4,456 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 3s remote-cache, linux-sandbox ... (13 actions, 12 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,457 / 4,573] GoCompilePkg pkg/executor/lockstats/lockstats.a; 3s remote-cache, linux-sandbox ... (12 actions running) [4,457 / 4,573] GoCompilePkg pkg/executor/internal/calibrateresource/calibrateresource.a; 4s remote-cache, linux-sandbox ... (12 actions running) [4,462 / 4,573] GoCompilePkg br/pkg/conn/conn.a; 4s remote-cache, linux-sandbox ... (12 actions running) [4,460 / 4,573] GoCompilePkg pkg/executor/internal/querywatch/querywatch.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,466 / 4,573] GoCompilePkg br/pkg/conn/conn.a; 3s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,479 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 3s remote-cache, linux-sandbox ... (13 actions, 10 running) [4,478 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 4s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,483 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 3s remote-cache, linux-sandbox ... (12 actions, 10 running) [4,490 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 4s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,488 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,497 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 2s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 2s remote-cache, linux-sandbox ... (12 actions running) [4,498 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,497 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 3s remote-cache, linux-sandbox ... (16 actions running) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 4s remote-cache, linux-sandbox ... (12 actions running) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 5s remote-cache, linux-sandbox ... (12 actions running) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 6s remote-cache, linux-sandbox ... (12 actions running) [4,502 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 6s remote-cache, linux-sandbox ... (10 actions running) [4,502 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 6s remote-cache, linux-sandbox ... (10 actions running) [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 5s remote-cache, linux-sandbox ... (4 actions running) [4,506 / 4,573] GoCompilePkg br/pkg/backup/backup.a; 5s remote-cache, linux-sandbox ... (6 actions, 4 running) [4,506 / 4,573] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (6 actions, 4 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.42 secs (347385638 bytes/sec) [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] sh [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) [Pipeline] cache + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) [4,510 / 4,573] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (6 actions running) [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (4 actions running) [4,510 / 4,573] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,511 / 4,573] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,511 / 4,573] GoCompilePkg pkg/planner/core/core.a; 10s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 10s remote-cache, linux-sandbox ... (4 actions running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,514 / 4,573] GoCompilePkg pkg/planner/core/core.a; 13s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,513 / 4,573] GoCompilePkg pkg/planner/core/core.a; 13s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,514 / 4,573] GoCompilePkg pkg/planner/core/core.a; 13s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (4 actions running) [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (4 actions running) [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (4 actions running) [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 17s remote-cache, linux-sandbox ... (6 actions running) [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 17s remote-cache, linux-sandbox ... (6 actions running) [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 17s remote-cache, linux-sandbox ... (4 actions running) [4,518 / 4,573] GoCompilePkg pkg/planner/core/core.a; 18s remote-cache, linux-sandbox ... (4 actions running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 8.74 secs (334629123 bytes/sec) [Pipeline] { [Pipeline] cache [4,517 / 4,573] GoCompilePkg pkg/planner/core/core.a; 19s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (7 actions, 2 running) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 3s remote-cache, linux-sandbox ... (16 actions running) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,522 / 4,573] GoCompilePkg br/pkg/task/task.a; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 4s remote-cache, linux-sandbox ... (16 actions running) [4,527 / 4,573] GoCompilePkg br/pkg/task/task.a; 5s remote-cache, linux-sandbox ... (16 actions running) [4,527 / 4,573] GoCompilePkg br/pkg/task/task.a; 5s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,526 / 4,573] GoCompilePkg br/pkg/task/task.a; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,534 / 4,573] GoCompilePkg pkg/planner/planner.a; 3s remote-cache, linux-sandbox ... (12 actions, 10 running) [4,535 / 4,573] GoCompilePkg br/pkg/task/task.a; 5s remote-cache, linux-sandbox ... (11 actions, 10 running) [4,535 / 4,573] GoCompilePkg br/pkg/task/task.a; 6s remote-cache, linux-sandbox ... (11 actions, 10 running) [4,540 / 4,573] GoCompilePkg pkg/planner/planner.a; 4s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,540 / 4,573] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 4s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,544 / 4,573] GoCompilePkg pkg/executor/executor.a; 0s remote-cache, linux-sandbox ... (3 actions running) [4,544 / 4,573] [Prepa] GoCompilePkg pkg/executor/executor.a [4,544 / 4,573] GoCompilePkg pkg/executor/executor.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,544 / 4,573] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,544 / 4,573] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,545 / 4,573] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,544 / 4,573] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (4 actions running) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,544 / 4,573] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox ... (4 actions running) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29885) 2925608960 bytes in 11.62 secs (251813765 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r--. 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 + ls -l rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 -rw-r--r-- 1 jenkins jenkins 0 Apr 4 10:42 rev-d992efb82fbe1dce48ee9795468c1255987b0fe0 [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] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] // dir [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] sh [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest1 [Pipeline] sh + /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/run_real_tikv_tests.sh bazel_addindextest [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pessimistictest [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_brietest + /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 [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 15s remote-cache, linux-sandbox 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] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [4,548 / 4,573] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 15s remote-cache, linux-sandbox [4,548 / 4,573] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) start tidb-server, log file: ./integration-test.out tidb-server(PID: 1054) started run all integration test cases (enabled new collation) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] sh [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 2s remote-cache, linux-sandbox [Pipeline] } [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 2s remote-cache, linux-sandbox Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29885 already exists) [Pipeline] // cache [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest4 [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 15s remote-cache, linux-sandbox [4,547 / 4,573] GoCompilePkg pkg/session/session.a; 0s remote-cache, linux-sandbox ... (4 actions running) [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] // 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] } [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 2s remote-cache, linux-sandbox + 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 ./t/show.test: ok! 3 test cases passed, take time 0.000507412 s ./t/access_path_selection.test: ok! 9 test cases passed, take time 0.023969791 s ./t/agg_predicate_pushdown.test: ok! 7 test cases passed, take time 0.022942828 s [Pipeline] 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] // cache [Pipeline] sh [4,550 / 4,573] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a + 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 [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 4s remote-cache, linux-sandbox [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 + 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] // script ./t/bindinfo/bind.test: ok! 223 test cases passed, take time 1.650250592 s ./t/bindinfo/session_handle.test: ok! 21 test cases passed, take time 0.071130162 s [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) [4,553 / 4,573] [Prepa] GoCompilePkg pkg/store/driver/driver.a ... (2 actions, 0 running) ./t/bindinfo/temptable.test: ok! 38 test cases passed, take time 0.148682901 s ./t/black_list.test: ok! 55 test cases passed, take time 0.11870311 s [Pipeline] } [Pipeline] sh [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 4s remote-cache, linux-sandbox + 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) [4,556 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox ... (4 actions 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) [4,557 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 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) [Pipeline] // dir + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest3 [Pipeline] sh [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 1s remote-cache, linux-sandbox ./t/clustered_index.test: ok! 34 test cases passed, take time 1.415993093 s go: downloading go1.23.8 (linux/amd64) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest4 go: downloading go1.23.8 (linux/amd64) [Pipeline] sh ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.70800659 s [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 2s remote-cache, linux-sandbox + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest2 go: downloading go1.23.8 (linux/amd64) [Pipeline] sh go: downloading go1.23.8 (linux/amd64) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_flashbacktest ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.587856496 s [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 2s remote-cache, linux-sandbox [Pipeline] sh go: downloading go1.23.8 (linux/amd64) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pipelineddmltest [Pipeline] } [4,560 / 4,573] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) ./t/collation_misc.test: ok! 66 test cases passed, take time 0.530253606 s + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest3 [4,559 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a ... (2 actions, 0 running) [4,561 / 4,573] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a; 0s remote-cache, linux-sandbox [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } ./t/collation_pointget.test: ok! 106 test cases passed, take time 0.661227703 s go: downloading go1.23.8 (linux/amd64) [Pipeline] // container [4,562 / 4,573] Running nogo on //tests/realtikvtest:realtikvtest; 0s remote-cache, linux-sandbox ... (4 actions running) [Pipeline] } ./t/common_collation.test: ok! 26 test cases passed, take time 0.178041528 s [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 1s remote-cache, linux-sandbox [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 1s remote-cache, linux-sandbox go: downloading go1.23.8 (linux/amd64) [4,565 / 4,573] [Prepa] GoCompilePkg tests/realtikvtest/sessiontest/sessiontest_test.internal.a [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 2s remote-cache, linux-sandbox [4,565 / 4,573] [Prepa] GoCompilePkg tests/realtikvtest/txntest/txntest_test.internal.a ... (2 actions, 0 running) ./t/cte.test: ok! 237 test cases passed, take time 2.239896395 s ./t/db_integration.test: ok! 11 test cases passed, take time 0.044108475 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 [4,567 / 4,573] GoCompilePkg tests/realtikvtest/statisticstest/statisticstest_test.internal.a; 0s remote-cache, linux-sandbox ./t/ddl/attributes_sql.test: ok! 30 test cases passed, take time 0.416516597 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 [4,567 / 4,573] GoCompilePkg tests/realtikvtest/sessiontest/sessiontest_test.internal.a; 1s remote-cache, linux-sandbox [4,567 / 4,573] GoCompilePkg tests/realtikvtest/txntest/txntest_test.internal.a; 1s remote-cache, linux-sandbox [4,571 / 4,573] GoCompilePkg tests/realtikvtest/sessiontest/sessiontest_test~testmain.a; 0s remote-cache, linux-sandbox [4,567 / 4,573] GoCompilePkg tests/realtikvtest/statisticstest/statisticstest_test.internal.a; 2s remote-cache, linux-sandbox 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,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 0s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 1s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 1s remote-cache, linux-sandbox go: downloading go1.23.8 (linux/amd64) 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) go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) 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... ./t/ddl/bdr_mode.test: ok! 371 test cases passed, take time 6.611668929 s 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... ./t/ddl/column.test: ok! 42 test cases passed, take time 0.585361905 s bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... ./t/ddl/column_change.test: ok! 9 test cases passed, take time 0.058244541 s Starting local Bazel server and connecting to it... Starting local Bazel server and connecting to it... INFO: Invocation ID: 061393f4-8da0-4208-868b-d7c0378a91ae 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_04_10_43_45.3731320597/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: 1719a9cc-65c5-490b-bb1f-cf1e745f4190 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_04_10_43_46.340105171/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 //:gazelle Extracting Bazel installation... INFO: Invocation ID: 05fa60b9-cae2-4cff-987e-6b1968fc2ff7 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_04_10_43_45.3028528535/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: b08919e7-6649-4af8-b54b-332f442f9fbe 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_04_10_43_44.401583664/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: b03244b7-7013-463a-937e-c372dee57d68 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_04_10_43_46.4034546568/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... Loading: 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 Loading: 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 Loading: Loading: 0 packages loaded Loading: Loading: Loading: 0 packages loaded Loading: Analyzing: target //:gazelle (1 packages loaded, 0 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 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: 0 packages loaded 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 Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: INFO: Invocation ID: 0554fd98-2f5b-4627-a78b-3179fa299318 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_04_10_43_48.2569487041/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: ./t/ddl/column_modify.test: ok! 164 test cases passed, take time 3.001469262 s 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... 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) Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) INFO: Invocation ID: 89c3e115-aa39-4608-a052-175bfc2a91d6 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_04_10_43_48.3986452208/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 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 Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 11s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (41 packages loaded, 437 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 10s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) 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) [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 12s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 13s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 10s remote-cache, linux-sandbox 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 //:gazelle Extracting Bazel installation... [4,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 0s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 13s remote-cache, linux-sandbox Analyzing: target //:gazelle (67 packages loaded, 3346 targets configured) Analyzing: target //:gazelle (68 packages loaded, 2124 targets configured) Analyzing: target //:gazelle (73 packages loaded, 2386 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Analyzing: target //:gazelle (53 packages loaded, 2885 targets configured) [4,573 / 4,574] [Prepa] Testing //tests/realtikvtest/txntest:txntest_test 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 //:gazelle Extracting Bazel installation... Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Starting local Bazel server and connecting to it... Starting local Bazel server and connecting to it... [4,573 / 4,574] Testing //tests/realtikvtest/statisticstest:statisticstest_test; 0s 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... 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... Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Starting local Bazel server and connecting to it... Analyzing: target //:gazelle (66 packages loaded, 571 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Starting local Bazel server and connecting to it... INFO: Invocation ID: 15682501-9a03-4961-af7a-6da210655bfb 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_04_10_44_00.4152482445/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,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) INFO: Invocation ID: b043f73e-f133-47f5-ba5f-359345cdfa59 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_04_10_44_00.2311748568/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: 8267a88e-f9a4-4a10-904e-4c27366306dc 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_04_10_44_00.2659680081/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: 7bac2c5e-d224-4505-9c85-327216a10774 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_04_10_44_00.3657622026/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 (100 packages loaded, 5086 targets configured) INFO: Invocation ID: 283756b6-1aab-418a-aef2-d00d8d6fe9c6 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_04_10_44_00.2090973298/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 (44 packages loaded, 462 targets configured) Loading: Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded 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: Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (72 packages loaded, 1157 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 (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) 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... 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 (73 packages loaded, 1879 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) INFO: Invocation ID: 73d77b96-4fed-4510-86a8-6e44f8f0005f 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_04_10_44_00.167039365/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 (53 packages loaded, 3722 targets configured) Loading: Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Loading: Analyzing: target //:gazelle (100 packages loaded, 5057 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [4,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 11s remote-cache, linux-sandbox Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Loading: Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [4,573 / 4,574] Testing //tests/realtikvtest/statisticstest:statisticstest_test; 11s remote-cache, linux-sandbox Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 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, 5765 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5836 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5841 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (224 packages loaded, 6261 targets configured) Analyzing: target //:gazelle (400 packages loaded, 6274 targets configured) Analyzing: target //:gazelle (298 packages loaded, 6310 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (396 packages loaded, 6294 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5919 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... [0 / 84] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [4,573 / 4,574] 1 / 1 tests; Testing //tests/realtikvtest/statisticstest:statisticstest_test; 15s remote-cache, linux-sandbox Target //tests/realtikvtest/statisticstest:statisticstest_test up-to-date: bazel-bin/tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test INFO: Elapsed time: 157.222s, Critical Path: 138.21s INFO: 4571 processes: 4358 remote cache hit, 13 internal, 200 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/statisticstest:statisticstest_test PASSED in 15.6s PASSED statisticstest_test.TestAsyncMergeFMSketch (1.6s) PASSED statisticstest_test.TestBlockMergeFMSketch (1.5s) PASSED statisticstest_test.TestNewCollationStatsWithPrefixIndex (6.7s) PASSED statisticstest_test.TestNoNeedIndexStatsLoading (3.3s) Test cases: finished with 4 passing and 0 failing out of 4 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 76] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [Pipeline] // dir Post stage [0 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results Analyzing: target //:gazelle (410 packages loaded, 6358 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5925 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 No test report files were found. Configuration error? [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 10.7 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [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/linux_amd64/net.a, 1.9 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [Pipeline] } [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 5.8 MiB / 8.3 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/linux_amd64/runtime.a, 7.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (404 packages loaded, 6402 targets configured) [Pipeline] // script [Pipeline] } [Pipeline] // dir INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). [Pipeline] } [Pipeline] // withCredentials [Pipeline] } INFO: Found 1 target... [0 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [Pipeline] // timeout [24 / 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; 1s remote-cache ... (4 actions, 0 running) [Pipeline] } [Pipeline] // stage [Pipeline] } [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, 5.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [Pipeline] // container [Pipeline] } [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.8 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [Pipeline] // withEnv Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5714 targets configured) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [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; 1s remote-cache ... (4 actions, 0 running) [Pipeline] } [Pipeline] // stage [Pipeline] } Analyzing: target //:gazelle (291 packages loaded, 6221 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 12.1 MiB / 12.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/tool/linux_amd64/compile, 11.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/crypto/tls.a, 2.6 MiB / 4.0 MiB; 0s remote-cache ... (4 actions, 0 running) [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, 5.0 MiB / 8.3 MiB; 3s remote-cache ... (8 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 3.0 MiB / 4.1 MiB; 2s remote-cache ... (3 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 76] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (4 actions, 0 running) [31 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 15.0 MiB / 18.9 MiB; 3s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (64 packages loaded, 2444 targets configured) [26 / 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/tool/linux_amd64/compile, 11.8 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [107 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 4s remote-cache ... (8 actions, 0 running) [50 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (7 actions, 0 running) [229 / 530] GoCompilePkg external/co_honnef_go_tools/unused/unused.a [for tool]; Downloading external/co_honnef_go_tools/unused/unused.a; 0s remote-cache ... (8 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 10.1 MiB / 11.8 MiB; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [404 / 530] GoCompilePkg build/linter/predeclared/predeclared.a [for tool]; Downloading build/linter/predeclared/predeclared.x; 0s remote-cache ... (8 actions, 0 running) [23 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/os.a, 1.4 MiB / 1.6 MiB; 0s remote-cache ... (5 actions, 0 running) [194 / 530] GoCompilePkg external/org_golang_x_tools/go/analysis/passes/nilness/nilness.a [for tool]; Downloading external/org_golang_x_tools/go/analysis/passes/nilness/nilness.a; 0s remote-cache ... (8 actions, 0 running) [384 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1027/sa1027.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa1027/sa1027.a, 191.8 KiB / 364.8 KiB; 0s remote-cache ... (7 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 2.0 MiB / 4.1 MiB; 2s remote-cache ... (3 actions, 0 running) [117 / 530] GoLink external/bazel_gazelle/cmd/gazelle/gazelle_/gazelle; 0s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.078s, Critical Path: 4.96s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [526 / 530] Running nogo on @bazel_gazelle//language/proto:proto; 0s remote-cache Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.869s, Critical Path: 5.07s 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.770s, Critical Path: 5.12s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [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, 4.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [529 / 530] [Prepa] Validating nogo output for @bazel_gazelle//language/go:go Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.376s, Critical Path: 5.13s 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: f2ded217-6e19-443b-b6e5-034d3810c4ff 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_04_10_43_45.3028528535/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 [27 / 530] 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; 3s remote-cache ... (8 actions, 0 running) 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: 92ba9627-31c6-44fb-b9ed-1312879bdbe9 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_04_10_43_46.340105171/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: eac55cf0-b78c-4bcc-81b1-b953fe09a010 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_04_10_43_44.401583664/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 INFO: Invocation ID: 9633ebb0-d684-4a78-89ea-37a01de46e10 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_04_10_43_45.3731320597/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) [24 / 530] 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; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) [485 / 530] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; Downloading build/tidb_nogo_actual_/tidb_nogo_actual, 1.2 MiB / 13.1 MiB; 0s remote-cache Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.536s, Critical Path: 4.77s 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) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [208 / 530] GoCompilePkg external/org_uber_go_zap/zap.a [for tool]; Downloading external/org_uber_go_zap/zap.a, 2.2 MiB / 2.2 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 \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: eaa95678-b973-4561-90aa-5b09f12996f9 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_04_10_43_46.4034546568/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 (100 packages loaded, 5086 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 //tools/tazel:tazel (2 packages loaded, 5435 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5921 targets configured) Analyzing: target //:gazelle (259 packages loaded, 6301 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5310 targets configured) Analyzing: target //tools/tazel:tazel (6 packages loaded, 6255 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (167 packages loaded, 5498 targets configured) Analyzing: target //:gazelle (171 packages loaded, 5922 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5471 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.364s, Critical Path: 5.15s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [57 / 530] GoCompilePkg external/org_golang_x_tools/internal/aliases/aliases.a [for tool]; 0s remote-cache ... (8 actions, 0 running) 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: 82acee4e-1f35-4ae9-83bc-f9e9effce237 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_04_10_43_48.2569487041/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 //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5834 targets configured) 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 (84 packages loaded, 7428 targets configured) Analyzing: target //:gazelle (216 packages loaded, 6198 targets configured) Analyzing: target //:gazelle (411 packages loaded, 6360 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (6 packages loaded, 5966 targets configured) Analyzing: target //:gazelle (407 packages loaded, 6367 targets configured) [396 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1029/sa1029.a [for tool]; 0s remote-cache ... (8 actions, 0 running) 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) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.739s, Critical Path: 4.60s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 87] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [0 / 87] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (398 packages loaded, 6286 targets configured) Analyzing: target //tools/tazel:tazel (6 packages loaded, 6469 targets configured) Analyzing: target //tools/tazel:tazel (273 packages loaded, 8472 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 145] [Prepa] BazelWorkspaceStatusAction stable-status.txt 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: c5db52b3-1932-4c9e-b01c-6fd10e62d5d2 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_04_10_43_48.3986452208/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 (255 packages loaded, 8269 targets configured) Analyzing: target //tools/tazel:tazel (77 packages loaded, 7319 targets configured) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8072 targets configured) Analyzing: target //tools/tazel:tazel (251 packages loaded, 8164 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) 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 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //:gazelle (428 packages loaded, 6824 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [961 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/authpb/authpb.a; Downloading external/io_etcd_go_etcd_api_v3/authpb/authpb.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (260 packages loaded, 8315 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, 3.6 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/runtime.a, 5.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) 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 //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 87] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tools/tazel:tazel (83 packages loaded, 7379 targets configured) [1,090 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/deadlock/deadlock.a; Downloading external/com_github_pingcap_kvproto/pkg/deadlock/deadlock.a; 0s 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/linux_amd64/internal/platform.a; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5542 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.2 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [988 / 1,307] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/collectors/collectors.a; Downloading external/com_github_prometheus_client_golang/prometheus/collectors/collectors.x; 0s remote-cache ... (8 actions, 0 running) [1,021 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/authpb/authpb.a; Downloading external/io_etcd_go_etcd_api_v3/authpb/authpb.a, 63.8 KiB / 281.5 KiB; 0s 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/runtime.a, 8.5 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/trace, 12.0 MiB / 12.0 MiB; 1s remote-cache ... (4 actions, 0 running) [934 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/eraftpb/eraftpb.a; Downloading external/com_github_pingcap_kvproto/pkg/eraftpb/eraftpb.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (272 packages loaded, 8460 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 [1,277 / 1,307] [Prepa] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnsnapshot/txnsnapshot.a [1,284 / 1,307] GoCompilePkg external/com_github_tikv_client_go_v2/tikv/tikv.a; Downloading external/com_github_tikv_client_go_v2/tikv/tikv.a, 56.0 KiB / 2.8 MiB; 0s remote-cache ... (2 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.145s, Critical Path: 1.96s 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 ' [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/asm, 2.5 MiB / 3.9 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (47 packages loaded, 7355 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.247s, Critical Path: 1.77s 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,268 / 1,307] [Prepa] GoCompilePkg external/com_github_tikv_client_go_v2/internal/kvrpc/kvrpc.a ... (6 actions, 0 running) [1,283 / 1,307] [Prepa] GoCompilePkg external/com_github_tikv_client_go_v2/tikv/tikv.a Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.778s, Critical Path: 1.80s 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 ' [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; 1s remote-cache ... (4 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.296s, Critical Path: 1.85s 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 ' [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/internal/trace.a; 2s remote-cache ... (3 actions, 0 running) [25 / 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; 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, 4.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8284 targets configured) [1,265 / 1,307] [Prepa] GoCompilePkg external/com_github_tikv_client_go_v2/internal/locate/locate.a [1,053 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/errorpb/errorpb.a; Downloading external/com_github_pingcap_kvproto/pkg/errorpb/errorpb.a; 0s remote-cache ... (8 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.215s, Critical Path: 1.92s 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 ' [25 / 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; 2s remote-cache ... (4 actions, 0 running) [81 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 45] [Prepa] BazelWorkspaceStatusAction stable-status.txt [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (4 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/pessimistictest/... INFO: Invocation ID: 185ab516-5f21-4ff5-88e6-f334210dd90c 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_04_10_43_46.340105171/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. [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 4s remote-cache ... (8 actions, 0 running) [1,289 / 1,307] [Prepa] GoCompilePkg pkg/util/sqlkiller/sqlkiller.a ... (4 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/addindextest/... INFO: Invocation ID: 73ae238b-cc5a-450b-ba81-1c083a2d5f93 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_04_10_43_44.401583664/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. Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.899s, Critical Path: 1.79s 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 ' [273 / 530] GoCompilePkg build/linter/copyloopvar/copyloopvar.a [for tool]; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_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: dbc54eb8-2fe8-47e2-bcf7-1f90d8f69878 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_04_10_43_45.3028528535/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. [31 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1 packages loaded, 0 targets configured) [1,000 / 1,307] GoCompilePkg external/org_golang_google_grpc/grpc.a; 0s remote-cache ... (8 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/addindextest2/... INFO: Invocation ID: ada991f4-c278-4b53-8cdf-e4df2c87c5ec 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_04_10_43_45.3731320597/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. [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 8.0 MiB / 18.9 MiB; 2s remote-cache ... (3 actions, 0 running) [402 / 530] GoCompilePkg external/co_honnef_go_tools/quickfix/qf1007/qf1007.a [for tool]; Downloading external/co_honnef_go_tools/quickfix/qf1007/qf1007.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1 packages loaded, 0 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.784s, Critical Path: 4.57s 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 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: 12057f66-6624-4ace-9dda-ecd12f6122d4 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_04_10_43_46.4034546568/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 --@io_bazel_rules_go//go/config:cover_format, --define, --run_under, and 1 more have changed, discarding analysis cache. Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.440s, Critical Path: 4.86s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [228 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1000/sa1000.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa1000/sa1000.a; 0s remote-cache ... (8 actions, 0 running) [228 / 530] GoCompilePkg external/co_honnef_go_tools/unused/unused.a [for tool]; Downloading external/co_honnef_go_tools/unused/unused.a, 405.3 KiB / 759.4 KiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (298 packages loaded, 4240 targets configured) [33 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (4 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/importintotest/... INFO: Invocation ID: a33357c2-3d07-43dc-a6ff-9d726de22418 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_04_10_43_48.2569487041/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/addindextest:addindextest_test (267 packages loaded, 4523 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: 0f1e9e81-9a92-421a-be2c-fe8cf3795ca4 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_04_10_44_00.2311748568/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 //tests/realtikvtest/brietest:brietest_test (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: 3b71aa60-ace3-4ee3-b275-bb2e64e6388a 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_04_10_44_00.4152482445/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 [1,283 / 1,307] [Prepa] Running nogo on @com_github_tikv_client_go_v2//tikv:tikv ... (2 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.337s, Critical Path: 1.70s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (383 packages loaded, 4706 targets configured) Loading: Loading: Loading: 0 packages loaded 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 //tests/realtikvtest/addindextest2:addindextest2_test (260 packages loaded, 3982 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) INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. [511 / 530] Validating nogo output for @org_golang_x_sys//execabs:execabs; 0s remote-cache ... (5 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 33.337s, Critical Path: 6.04s 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/importintotest:importintotest_test (1 packages loaded, 0 targets configured) [258 / 530] GoLink external/bazel_gazelle/cmd/gazelle/gazelle_/gazelle; Downloading external/bazel_gazelle/cmd/gazelle/gazelle_/gazelle, 5.2 MiB / 7.4 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (614 packages loaded, 5726 targets configured) [486 / 530] [Prepa] Running nogo on @bazel_gazelle//internal/wspace:wspace Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 32.504s, Critical Path: 5.09s 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/brietest:brietest_test (434 packages loaded, 1034 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (687 packages loaded, 7039 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (631 packages loaded, 6098 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: a9219d23-fc65-460d-9a57-5826bedcfae5 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_04_10_44_00.2659680081/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 //tests/realtikvtest/addindextest2:addindextest2_test (584 packages loaded, 5360 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: d99571bc-4183-404c-aec9-5e5b68c8c494 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_04_10_44_00.2090973298/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 (2 packages loaded, 5183 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5568 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: ac3cfa22-f8aa-4b37-8dd4-d0b0294dcd93 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_04_10_43_48.3986452208/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 option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (821 packages loaded, 7004 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (754 packages loaded, 7536 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1028 packages loaded, 8002 targets configured) Loading: Loading: Loading: 0 packages loaded Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (306 packages loaded, 1869 targets configured) [522 / 530] Running nogo on @bazel_gazelle//resolve:resolve; 0s remote-cache Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 33.451s, Critical Path: 5.60s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle 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/addindextest1:addindextest1_test (907 packages loaded, 8581 targets configured) Analyzing: target //tools/tazel:tazel (19 packages loaded, 6817 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (888 packages loaded, 8087 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: 1f0c9678-06e7-4eda-a850-1ebfcf50ea1e 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_04_10_44_00.3657622026/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 (77 packages loaded, 7371 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5365 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1083 packages loaded, 9342 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1132 packages loaded, 9303 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (684 packages loaded, 5976 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5481 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1128 packages loaded, 9704 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1129 packages loaded, 9477 targets configured) Analyzing: target //tools/tazel:tazel (101 packages loaded, 7484 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1107 packages loaded, 9223 targets configured) Analyzing: target //tools/tazel:tazel (267 packages loaded, 8400 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (258 packages loaded, 4605 targets configured) Analyzing: target //tools/tazel:tazel (42 packages loaded, 7202 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1203 packages loaded, 10401 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (914 packages loaded, 8493 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1222 packages loaded, 11029 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5493 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1230 packages loaded, 10247 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1259 packages loaded, 10517 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured).  checking cached actions INFO: Found 1 target... [0 / 326] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1284 packages loaded, 10719 targets configured) Analyzing: target //:gazelle (168 packages loaded, 5482 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (570 packages loaded, 5792 targets configured) Analyzing: target //tools/tazel:tazel (251 packages loaded, 8101 targets configured) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8284 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1315 packages loaded, 11284 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1284 packages loaded, 11294 targets configured) [1,073 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/tracepb/tracepb.a; Downloading external/com_github_pingcap_kvproto/pkg/tracepb/tracepb.a, 131.8 KiB / 842.9 KiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (20 packages loaded, 6844 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1382 packages loaded, 11657 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1086 packages loaded, 9828 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1434 packages loaded, 12127 targets configured) Analyzing: target //:gazelle (207 packages loaded, 6197 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 4] [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 //tests/realtikvtest/addindextest1:addindextest1_test (1401 packages loaded, 11962 targets configured) [1,102 / 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.0 MiB / 8.0 MiB; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (938 packages loaded, 7228 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1429 packages loaded, 12218 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1417 packages loaded, 12543 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.785s, 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 //tools/tazel:tazel (136 packages loaded, 7570 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1430 packages loaded, 12265 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1149 packages loaded, 10279 targets configured) [1,096 / 1,307] GoCompilePkg external/com_github_pingcap_sysutil/sysutil.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1087 packages loaded, 9111 targets configured) [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, 2.0 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1462 packages loaded, 12294 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.505s, 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 ' Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1484 packages loaded, 12436 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1500 packages loaded, 12752 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1471 packages loaded, 13175 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1496 packages loaded, 12727 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured).  checking cached actions INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1317 packages loaded, 11674 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/importintotest4/... INFO: Invocation ID: 83eb17c5-0fbe-4f2c-9ff3-a46f4aed13e8 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_04_10_44_00.4152482445/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: Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.070s, Critical Path: 1.53s 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/addindextest1:addindextest1_test (1566 packages loaded, 13195 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1628 packages loaded, 13428 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/addindextest4:addindextest4_test (1177 packages loaded, 9796 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.557s, Critical Path: 1.62s 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/addindextest:addindextest_test (1595 packages loaded, 13230 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1643 packages loaded, 13504 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/importintotest2/... INFO: Invocation ID: 72603c01-89c4-4085-a8fa-8ae20b425810 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_04_10_44_00.2311748568/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 [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 2.2 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/brietest:brietest_test (1548 packages loaded, 13803 targets configured) [1,120 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 5.8 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1438 packages loaded, 12845 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1669 packages loaded, 13731 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1639 packages loaded, 13601 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1303 packages loaded, 11056 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.575s, Critical Path: 1.48s INFO: 867 processes: 864 remote cache hit, 3 internal. [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 9.2 MiB / 12.2 MiB; 1s remote-cache ... (4 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: 6b5b2750-9fb4-4b7f-a663-af89f8d8a7e8 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_04_10_44_00.2659680081/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: 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/addindextest:addindextest_test (1672 packages loaded, 13806 targets configured) INFO: Analyzed target //tests/realtikvtest/pessimistictest:pessimistictest_test (1764 packages loaded, 14426 targets configured).  checking cached actions INFO: Found 1 test target... Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (256 packages loaded, 5133 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1489 packages loaded, 13216 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/flashbacktest/... INFO: Invocation ID: a302dc92-e27d-4a89-b58a-f226177a1866 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_04_10_44_00.2090973298/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: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1423 packages loaded, 12151 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1673 packages loaded, 14479 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1671 packages loaded, 13799 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (222 packages loaded, 1089 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1694 packages loaded, 13932 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/compile, 12.5 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) 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 Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1764 packages loaded, 14432 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (663 packages loaded, 6402 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1732 packages loaded, 14726 targets configured) 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 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 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: 00ac4f7d-3e99-4841-b7aa-f3bf008d4a65 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_04_10_44_00.3657622026/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/addindextest4:addindextest4_test (1500 packages loaded, 12544 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1765 packages loaded, 15107 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 Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (583 packages loaded, 5509 targets configured) Loading: Loading: Loading: 0 packages loaded [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (167 packages loaded, 5074 targets configured) INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (52 packages loaded, 220 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (984 packages loaded, 9359 targets configured) [4,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 41s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1 packages loaded, 0 targets configured) [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, 10.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 3.2 MiB / 4.1 MiB; 1s remote-cache ... (3 actions, 0 running) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 41s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (699 packages loaded, 6595 targets configured) [30 / 530] 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; 4s remote-cache ... (8 actions, 0 running) [16 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/include/asm_amd64.h; 0s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (505 packages loaded, 6092 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1616 packages loaded, 13468 targets configured) [13 / 4,582] GoToolchainBinaryBuild external/go_sdk/builder [for tool]; Downloading external/go_sdk/builder, 5.0 MiB / 5.9 MiB; 1s remote-cache ... (4 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, 16.0 MiB / 18.9 MiB; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (392 packages loaded, 5598 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1154 packages loaded, 9962 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1738 packages loaded, 14795 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (155 packages loaded, 5099 targets configured) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 4.0 MiB / 4.1 MiB; 1s remote-cache ... (3 actions, 0 running) [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 8.0 MiB / 12.2 MiB; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (996 packages loaded, 8076 targets configured) INFO: Analyzed target //tests/realtikvtest/importintotest:importintotest_test (1822 packages loaded, 15379 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (814 packages loaded, 7863 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (653 packages loaded, 7313 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1291 packages loaded, 11268 targets configured) [63 / 530] 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; 5s remote-cache ... (8 actions, 0 running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 11.0 MiB / 12.2 MiB; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1671 packages loaded, 13799 targets configured) [21 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/runtime.a, 6.0 MiB / 12.4 MiB; 1s remote-cache ... (3 actions, 0 running) [32 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 10.0 MiB / 18.9 MiB; 3s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1039 packages loaded, 9513 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (387 packages loaded, 6189 targets configured) [16 / 4,637] 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; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1108 packages loaded, 10089 targets configured) [17 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) [20 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/runtime.a, 7.2 MiB / 12.4 MiB; 0s remote-cache ... (4 actions, 0 running) [151 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 6s remote-cache ... (8 actions, 0 running) [76 / 4,571] GoCompilePkg external/com_github_burntsushi_toml/toml.a [for tool]; Downloading external/com_github_burntsushi_toml/toml.a, 1023.9 KiB / 1.4 MiB; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest4:addindextest4_test (1763 packages loaded, 14424 targets configured).  checking cached actions INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [206 / 4,571] GoCompilePkg external/co_honnef_go_tools/stylecheck/st1003/st1003.a [for tool]; Downloading external/co_honnef_go_tools/stylecheck/st1003/st1003.x; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1084 packages loaded, 8759 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1408 packages loaded, 12549 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (737 packages loaded, 6709 targets configured) [22 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (3 actions, 0 running) [214 / 4,637] GoCompilePkg external/com_github_google_gofuzz/bytesource/bytesource.a; Downloading external/com_github_google_gofuzz/bytesource/bytesource.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1244 packages loaded, 11324 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1109 packages loaded, 10239 targets configured) [379 / 530] GoCompilePkg external/bazel_gazelle/resolve/resolve.a; 0s remote-cache ... (8 actions, 0 running) [536 / 4,571] GoCompilePkg external/org_golang_google_protobuf/proto/proto.a; 0s remote-cache ... (8 actions, 0 running) [291 / 4,568] GoCompilePkg external/com_github_gogo_protobuf/proto/proto.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1154 packages loaded, 10322 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1552 packages loaded, 13367 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (984 packages loaded, 8068 targets configured) [334 / 4,571] GoCompilePkg pkg/parser/terror/terror.a; Downloading pkg/parser/terror/terror.a, 56.0 KiB / 267.3 KiB; 0s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 41.262s, Critical Path: 7.73s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [540 / 4,637] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 6.4 MiB / 8.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1337 packages loaded, 11827 targets configured) [22 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/runtime.a, 11.0 MiB / 12.4 MiB; 2s remote-cache ... (7 actions, 0 running) [347 / 4,582] GoCompilePkg external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a; Downloading external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a, 2.3 MiB / 7.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1393 packages loaded, 12400 targets configured) [17 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 12.2 MiB / 12.2 MiB; 1s remote-cache ... (7 actions, 0 running) [910 / 4,571] GoCompilePkg external/com_github_pingcap_goleveldb/leveldb/leveldb.a; Downloading external/com_github_pingcap_goleveldb/leveldb/leveldb.a, 2.2 MiB / 2.8 MiB; 0s remote-cache ... (8 actions, 0 running) [657 / 4,568] GoCompilePkg external/org_golang_google_protobuf/types/descriptorpb/descriptorpb.a; Downloading external/org_golang_google_protobuf/types/descriptorpb/descriptorpb.a, 1.5 MiB / 1.8 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1277 packages loaded, 11266 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1633 packages loaded, 14211 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1049 packages loaded, 9772 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 [676 / 4,571] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a; 0s remote-cache ... (7 actions, 0 running) [119 / 4,750] GoCompilePkg external/org_golang_x_net/internal/timeseries/timeseries.a; Downloading external/org_golang_x_net/internal/timeseries/timeseries.a; 0s remote-cache ... (8 actions, 0 running) [864 / 4,637] GoCompilePkg external/com_github_goccy_go_json/internal/encoder/vm_indent/vm_indent.a; Downloading external/com_github_goccy_go_json/internal/encoder/vm_indent/vm_indent.a, 1023.9 KiB / 1.2 MiB; 0s remote-cache ... (8 actions, 0 running) INFO: Invocation ID: e7a6d57c-ffb0-47eb-a4d1-2b0924ca49de 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_04_10_44_00.167039365/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 //tests/realtikvtest/importintotest2:importintotest2_test (1437 packages loaded, 12875 targets configured) [707 / 4,582] GoCompilePkg external/io_k8s_apimachinery/pkg/util/net/net.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1431 packages loaded, 12930 targets configured) [1,270 / 4,571] GoCompilePkg external/io_opentelemetry_go_otel_metric/metric.a; 0s remote-cache ... (8 actions, 0 running) [103 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [1,023 / 4,568] GoCompilePkg external/org_golang_google_grpc/credentials/alts/internal/proto/grpc_gcp/grpc_gcp.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1409 packages loaded, 12514 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1694 packages loaded, 14601 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1242 packages loaded, 11160 targets configured) [981 / 4,571] GoCompilePkg external/com_github_rogpeppe_go_internal/fmtsort/fmtsort.a; Downloading external/com_github_rogpeppe_go_internal/fmtsort/fmtsort.a; 0s remote-cache ... (8 actions, 0 running) [413 / 4,750] GoCompilePkg external/org_golang_x_sys/cpu/cpu.a; Downloading external/org_golang_x_sys/cpu/cpu.a; 0s remote-cache ... (8 actions, 0 running) [933 / 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, 33.7 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5525 targets configured) [1,116 / 4,637] GoCompilePkg external/com_github_azure_azure_sdk_for_go_sdk_storage_azblob/internal/generated/generated.a; Downloading external/com_github_azure_azure_sdk_for_go_sdk_storage_azblob/internal/generated/generated.a, 4.2 MiB / 4.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1509 packages loaded, 13652 targets configured) [500 / 4,568] GoCompilePkg external/com_github_klauspost_compress/zstd/zstd.a; Downloading external/com_github_klauspost_compress/zstd/zstd.a, 2.2 MiB / 2.5 MiB; 0s remote-cache ... (8 actions, 0 running) [1,338 / 4,568] GoCompilePkg external/io_opentelemetry_go_otel_metric/metric.a; Downloading external/io_opentelemetry_go_otel_metric/metric.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1466 packages loaded, 13186 targets configured) ./t/ddl/column_type_change.test: ok! 1285 test cases passed, take time 51.4152757 s Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1554 packages loaded, 13530 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1399 packages loaded, 12579 targets configured) [1,213 / 4,571] GoCompilePkg external/com_github_ks3sdklib_aws_sdk_go/internal/protocol/body/body.a; 0s remote-cache ... (7 actions, 0 running) ./t/ddl/constraint.test: ok! 440 test cases passed, take time 5.029628222 s [1,589 / 4,571] GoCompilePkg external/com_github_cockroachdb_pebble/pebble.a; Downloading external/com_github_cockroachdb_pebble/pebble.a, 431.8 KiB / 9.0 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1694 packages loaded, 14601 targets configured) [694 / 4,750] GoCompilePkg external/com_github_prometheus_client_golang/api/prometheus/v1/prometheus.a; 0s remote-cache ... (8 actions, 0 running) [1,132 / 4,582] GoCompilePkg external/com_github_apache_arrow_go_v12/arrow/array/array.a; Downloading external/com_github_apache_arrow_go_v12/arrow/array/array.a, 12.4 MiB / 13.4 MiB; 0s remote-cache ... (8 actions, 0 running) [856 / 4,568] GoCompilePkg external/com_github_aws_aws_sdk_go/aws/signer/v4/signer.a; Downloading external/com_github_aws_aws_sdk_go/aws/signer/v4/signer.a; 0s remote-cache ... (8 actions, 0 running) [1,249 / 4,637] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1659 packages loaded, 14203 targets configured) [1,487 / 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, 39.8 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/importintotest4:importintotest4_test (1786 packages loaded, 15228 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1638 packages loaded, 14267 targets configured) [1,319 / 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, 63.9 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (42 packages loaded, 7202 targets configured) [1,857 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1557 packages loaded, 13838 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1459 packages loaded, 12960 targets configured) [906 / 4,750] GoCompilePkg external/com_google_cloud_go_kms/apiv1/kmspb/kmspb.a; Downloading external/com_google_cloud_go_kms/apiv1/kmspb/kmspb.a, 1.7 MiB / 3.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,374 / 4,582] GoCompilePkg external/com_github_pingcap_tipb/go-tipb/go-tipb.a; Downloading external/com_github_pingcap_tipb/go-tipb/go-tipb.a, 10.0 MiB / 10.6 MiB; 0s remote-cache ... (8 actions, 0 running) [1,035 / 4,568] GoCompilePkg external/com_github_googleapis_gax_go_v2/gax-go.a; Downloading external/com_github_googleapis_gax_go_v2/gax-go.a; 0s remote-cache ... (8 actions, 0 running) [1,526 / 4,637] GoCompilePkg pkg/types/types.a; Downloading pkg/types/types.a, 5.0 MiB / 5.3 MiB; 0s remote-cache ... (8 actions, 0 running) [1,853 / 4,568] Running nogo on @com_github_cespare_xxhash_v2//:xxhash; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tools/tazel:tazel (135 packages loaded, 7770 targets configured) [1,438 / 4,571] GoCompilePkg external/com_github_pingcap_kvproto/pkg/debugpb/debugpb.a; Downloading external/com_github_pingcap_kvproto/pkg/debugpb/debugpb.a, 3.0 MiB / 3.3 MiB; 0s remote-cache ... (8 actions, 0 running) [2,501 / 4,571] GoCompilePkg external/com_github_tikv_client_go_v2/internal/unionstore/unionstore.a; Downloading external/com_github_tikv_client_go_v2/internal/unionstore/unionstore.a, 1023.9 KiB / 1.6 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1638 packages loaded, 14267 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1693 packages loaded, 14598 targets configured) [986 / 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, 60.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [2,001 / 4,637] Running nogo on @io_opencensus_go//stats/internal:internal; Downloading external/io_opencensus_go/stats/internal/internal.facts; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1671 packages loaded, 14465 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1509 packages loaded, 13652 targets configured) [21 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/asm, 3.7 MiB / 3.9 MiB; 1s remote-cache ... (3 actions, 0 running) 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 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 [1,651 / 4,582] Running nogo on @org_golang_google_protobuf//internal/protolazy:protolazy; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,203 / 4,568] GoCompilePkg external/com_github_pingcap_kvproto/pkg/import_sstpb/import_sstpb.a; Downloading external/com_github_pingcap_kvproto/pkg/import_sstpb/import_sstpb.a, 2.5 MiB / 3.4 MiB; 0s remote-cache ... (8 actions, 0 running) [3,208 / 4,571] GoCompilePkg pkg/config/config.a; 0s remote-cache ... (7 actions, 0 running) [2,621 / 4,568] Running nogo on @com_github_tikv_client_go_v2//oracle:oracle; Downloading external/com_github_tikv_client_go_v2/oracle/oracle.facts; 0s remote-cache ... (7 actions, 0 running) [1,140 / 4,750] GoCompilePkg external/com_github_aws_aws_sdk_go/service/cloudwatch/cloudwatch.a; Downloading external/com_github_aws_aws_sdk_go/service/cloudwatch/cloudwatch.a, 4.0 MiB / 4.7 MiB; 0s remote-cache ... (8 actions, 0 running) [1,976 / 4,571] Running nogo on @com_github_google_s2a_go//internal/proto/common_go_proto:common_go_proto; Downloading external/com_github_google_s2a_go/internal/proto/common_go_proto/common_go_proto.facts; 0s remote-cache ... (7 actions, 0 running) [2,852 / 4,637] Running nogo on @org_golang_google_grpc//internal/transport:transport; Downloading external/org_golang_google_grpc/internal/transport/transport.facts; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1693 packages loaded, 14598 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1669 packages loaded, 14437 targets configured) [37 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [2,352 / 4,582] Validating nogo output for @io_opencensus_go//:go.opencensus.io; 0s remote-cache ... (8 actions, 0 running) [672 / 1,307] GoCompilePkg external/org_golang_google_protobuf/internal/impl/impl.a; Downloading external/org_golang_google_protobuf/internal/impl/impl.a, 1.8 MiB / 5.9 MiB; 0s remote-cache ... (8 actions, 0 running) [1,429 / 4,568] GoCompilePkg external/com_github_tikv_client_go_v2/internal/locate/locate.a; Downloading external/com_github_tikv_client_go_v2/internal/locate/locate.a, 2.2 MiB / 4.2 MiB; 0s remote-cache ... (2 actions, 0 running) [3,791 / 4,571] GoCompilePkg pkg/kv/kv.a; 0s remote-cache ... (8 actions, 0 running) [3,487 / 4,568] GoCompilePkg pkg/statistics/handle/usage/indexusage/indexusage.a; Downloading pkg/statistics/handle/usage/indexusage/indexusage.a; 0s remote-cache ... (8 actions, 0 running) [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 3.0 MiB / 4.1 MiB; 0s 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, 11.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [2,876 / 4,571] Running nogo on //pkg/util/compress:compress; Downloading pkg/util/compress/compress.facts; 0s remote-cache ... (5 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/importintotest3:importintotest3_test (1785 packages loaded, 15224 targets configured). INFO: Found 1 test target...  checking cached actions [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [267 / 4,642] GoCompilePkg external/org_golang_x_tools/internal/gcimporter/gcimporter.a [for tool]; Downloading external/org_golang_x_tools/internal/gcimporter/gcimporter.a, 1023.9 KiB / 1.6 MiB; 0s remote-cache ... (8 actions, 0 running) [1,273 / 4,750] GoCompilePkg external/com_github_cockroachdb_pebble/pebble.a; 0s remote-cache ... (8 actions, 0 running) [3,185 / 4,582] GoCompilePkg pkg/util/chunk/chunk.a; Downloading pkg/util/chunk/chunk.a, 3.0 MiB / 3.9 MiB; 0s remote-cache ... (7 actions, 0 running) [1,144 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 4.0 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) [2,030 / 4,568] GoCompilePkg br/pkg/logutil/logutil.a; Downloading br/pkg/logutil/logutil.a; 0s remote-cache ... (8 actions, 0 running) [4,050 / 4,571] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 7.1 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [3,689 / 4,637] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 25.0 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,008 / 4,568] GoCompilePkg pkg/expression/exprstatic/exprstatic.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1671 packages loaded, 14465 targets configured) [3,802 / 4,571] GoCompilePkg pkg/util/rowcodec/rowcodec.a; Downloading pkg/util/rowcodec/rowcodec.a, 1023.9 KiB / 1.1 MiB; 0s remote-cache ... (8 actions, 0 running) 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 [536 / 4,642] GoCompilePkg external/io_opentelemetry_go_otel_trace/trace.a; Downloading external/io_opentelemetry_go_otel_trace/trace.a, 725.5 KiB / 780.5 KiB; 0s remote-cache ... (8 actions, 0 running) [23 / 4,639] 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; 2s remote-cache ... (8 actions, 0 running) [22 / 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.7 MiB / 9.3 MiB; 2s remote-cache ... (8 actions, 0 running) [1,450 / 4,750] GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; 0s remote-cache ... (8 actions, 0 running) [3,790 / 4,582] Running nogo on //pkg/util/printer:printer; Downloading pkg/util/printer/printer.facts; 0s remote-cache ... (8 actions, 0 running) [3,181 / 4,568] GoCompilePkg pkg/util/gctuner/gctuner.a; Downloading pkg/util/gctuner/gctuner.a; 0s remote-cache ... (7 actions, 0 running) [1,268 / 1,307] [Prepa] Running nogo on @com_github_tikv_client_go_v2//internal/kvrpc:kvrpc ... (5 actions, 0 running) [4,137 / 4,637] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (7 actions, 0 running) [4,074 / 4,571] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (8 actions, 0 running) [4,056 / 4,571] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 34.1 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,074 / 4,568] [Prepa] GoCompilePkg pkg/session/types/types.a ... (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, 11.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [821 / 4,642] GoCompilePkg external/com_github_azure_go_ntlmssp/go-ntlmssp.a; 0s remote-cache ... (8 actions, 0 running) [274 / 4,639] GoCompilePkg external/com_sourcegraph_sourcegraph_appdash/opentracing/opentracing.a; 0s remote-cache ... (8 actions, 0 running) [80 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) [2,071 / 4,750] GoCompilePkg external/com_github_tikv_client_go_v2/internal/locate/locate.a; Downloading external/com_github_tikv_client_go_v2/internal/locate/locate.a; 0s remote-cache ... (6 actions, 0 running) [4,034 / 4,582] GoCompilePkg pkg/expression/expression.a; 1s remote-cache ... (8 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 8.244s, Critical Path: 2.94s 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 ' [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/runtime.a, 11.9 MiB / 12.4 MiB; 0s remote-cache ... (3 actions, 0 running) [3,781 / 4,568] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 66.4 MiB / 94.8 MiB; 0s remote-cache ... (2 actions, 0 running) [4,156 / 4,571] GoCompilePkg pkg/table/tables/tables.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,126 / 4,571] Running nogo on //pkg/table/tables:tables; 0s remote-cache, linux-sandbox ... (9 actions, 4 running) [4,219 / 4,637] GoCompilePkg pkg/table/tables/tables.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,156 / 4,568] Running nogo on //pkg/table/tables:tables; 1s remote-cache, linux-sandbox ... (5 actions, 2 running) [22 / 4,639] 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; 2s remote-cache ... (8 actions, 0 running) [1,063 / 4,642] GoCompilePkg external/com_github_aws_aws_sdk_go/private/protocol/protocol.a; 0s remote-cache ... (8 actions, 0 running) [655 / 4,639] GoCompilePkg external/org_golang_x_tools/go/analysis/passes/printf/printf.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [381 / 4,573] GoCompilePkg external/org_golang_google_grpc/internal/grpcsync/grpcsync.a; 0s remote-cache ... (8 actions, 0 running) [3,196 / 4,750] GoCompilePkg pkg/util/hint/hint.a; Downloading pkg/util/hint/hint.a; 0s remote-cache ... (8 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, 18.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [4,217 / 4,582] GoCompilePkg pkg/executor/internal/builder/builder.a; Downloading pkg/executor/internal/builder/builder.a; 0s remote-cache ... (4 actions, 0 running) [4,144 / 4,568] Running nogo on //pkg/ddl/util:util; 0s remote-cache, linux-sandbox ... (13 actions, 10 running) [4,244 / 4,637] Running nogo on //pkg/store/driver/txn:txn; 1s remote-cache, linux-sandbox ... (8 actions, 4 running) [4,183 / 4,568] Running nogo on //pkg/ddl/util:util; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [240 / 4,639] GoCompilePkg external/org_golang_google_protobuf/internal/impl/impl.a; 0s remote-cache ... (8 actions, 0 running) [1,006 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/private/protocol/eventstream/eventstream.a; 0s remote-cache ... (8 actions, 0 running) [674 / 4,573] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 6.0 MiB / 9.3 MiB; 0s remote-cache ... (8 actions, 0 running) [3,998 / 4,750] GoCompilePkg pkg/planner/util/debugtrace/debugtrace.a; Downloading pkg/planner/util/debugtrace/debugtrace.a, 87.8 KiB / 571.1 KiB; 0s remote-cache ... (7 actions, 0 running) [4,181 / 4,571] Running nogo on //pkg/store/driver/txn:txn; 0s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,158 / 4,571] [Prepa] GoCompilePkg pkg/util/rowDecoder/rowDecoder.a ... (4 actions, 0 running) [1,269 / 4,642] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [55 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [4,400 / 4,582] [Prepa] GoCompilePkg pkg/infoschema/perfschema/perfschema.a ... (6 actions, 0 running) [4,222 / 4,568] Running nogo on //pkg/infoschema/internal:internal; 0s remote-cache, linux-sandbox ... (3 actions, 2 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: f69be00f-63b9-42ee-8209-cc0869ca7dce 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_04_10_44_00.167039365/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,292 / 4,639] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4026/sa4026.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa4026/sa4026.a; 0s remote-cache ... (8 actions, 0 running) [952 / 4,573] GoCompilePkg external/org_golang_google_grpc/internal/pretty/pretty.a; Downloading external/org_golang_google_grpc/internal/pretty/pretty.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1 packages loaded, 0 targets configured) [4,287 / 4,637] GoCompilePkg pkg/infoschema/infoschema.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,224 / 4,568] GoCompilePkg pkg/infoschema/infoschema.a; 0s remote-cache, linux-sandbox ... (4 actions running) [496 / 4,639] GoCompilePkg pkg/parser/parser.a; 0s remote-cache ... (8 actions, 0 running) [1,503 / 4,642] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; 0s remote-cache ... (2 actions, 0 running) [367 / 4,573] GoCompilePkg external/com_github_golangci_misspell/misspell.a [for tool]; Downloading external/com_github_golangci_misspell/misspell.a, 2.0 MiB / 5.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,143 / 4,750] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 108.1 MiB / 108.6 MiB; 1s remote-cache ... (2 actions, 0 running) [4,225 / 4,571] GoCompilePkg pkg/infoschema/infoschema.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,469 / 4,582] GoCompilePkg br/pkg/restore/restore.a; 0s remote-cache ... (8 actions, 0 running) [4,226 / 4,568] GoCompilePkg pkg/infoschema/infoschema.a; 1s remote-cache, linux-sandbox ./t/ddl/db.test: ok! 288 test cases passed, take time 9.84524736 s [1,144 / 4,573] GoCompilePkg external/com_github_apache_arrow_go_v12/arrow/array/array.a; Downloading external/com_github_apache_arrow_go_v12/arrow/array/array.a; 0s remote-cache ... (8 actions, 0 running) [4,225 / 4,571] GoCompilePkg pkg/infoschema/infoschema.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,288 / 4,637] GoCompilePkg pkg/infoschema/infoschema.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,255 / 4,568] Running nogo on //pkg/table/temptable:temptable; 0s remote-cache, linux-sandbox ... (13 actions, 10 running) [767 / 4,639] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 12.0 MiB / 25.4 MiB; 0s remote-cache ... (8 actions, 0 running) [2,588 / 4,642] GoCompilePkg pkg/planner/funcdep/funcdep.a; Downloading pkg/planner/funcdep/funcdep.a; 0s remote-cache ... (7 actions, 0 running) [1,416 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [4,325 / 4,750] GoCompilePkg br/pkg/streamhelper/streamhelper.a; Downloading br/pkg/streamhelper/streamhelper.a, 1023.9 KiB / 5.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,251 / 4,571] GoCompilePkg pkg/table/temptable/temptable.a; 0s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,274 / 4,568] GoCompilePkg pkg/lightning/common/common.a; 0s remote-cache, linux-sandbox ... (13 actions, 10 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (297 packages loaded, 4246 targets configured) [4,269 / 4,571] Running nogo on //pkg/table/temptable:temptable; 0s remote-cache, linux-sandbox ... (14 actions, 12 running) [565 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a; Downloading external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a, 6.0 MiB / 7.2 MiB; 0s remote-cache ... (7 actions, 0 running) ./t/ddl/db_cache.test: ok! 50 test cases passed, take time 0.677602566 s [4,515 / 4,582] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 18.1 MiB / 53.0 MiB; 0s remote-cache ... (2 actions, 0 running) [4,327 / 4,637] GoCompilePkg pkg/privilege/privileges/privileges.a; Downloading pkg/privilege/privileges/privileges.a, 6.0 MiB / 8.5 MiB; 0s remote-cache ... (9 actions, 2 running) [4,311 / 4,568] GoCompilePkg pkg/ttl/cache/cache.a; 0s remote-cache, linux-sandbox ... (11 actions, 6 running) [914 / 4,639] GoCompilePkg external/com_github_ks3sdklib_aws_sdk_go/internal/protocol/jsonrpc/jsonrpc.a; Downloading external/com_github_ks3sdklib_aws_sdk_go/internal/protocol/jsonrpc/jsonrpc.a; 0s remote-cache ... (8 actions, 0 running) [3,470 / 4,642] GoCompilePkg pkg/store/copr/metrics/metrics.a; Downloading pkg/store/copr/metrics/metrics.x; 0s remote-cache ... (8 actions, 0 running) [1,568 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_aws_aws_sdk_go/service/s3/s3.a, 13.2 MiB / 15.7 MiB; 0s remote-cache ... (8 actions, 0 running) ./t/ddl/db_change.test: ok! 33 test cases passed, take time 0.712100362 s [1,292 / 4,573] GoCompilePkg external/com_google_cloud_go_kms/apiv1/kmspb/kmspb.a; Downloading external/com_google_cloud_go_kms/apiv1/kmspb/kmspb.a, 2.0 MiB / 3.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,316 / 4,571] GoCompilePkg pkg/lightning/backend/kv/kv.a; 0s remote-cache, linux-sandbox ... (12 actions, 8 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (686 packages loaded, 5721 targets configured) [706 / 4,573] GoCompilePkg external/co_honnef_go_tools/go/ir/ir.a [for tool]; Downloading external/co_honnef_go_tools/go/ir/ir.a, 3.0 MiB / 6.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,379 / 4,750] [Prepa] GoCompilePkg pkg/sessiontxn/sessiontxn.a ... (8 actions, 0 running) [4,367 / 4,568] Running nogo on //pkg/lightning/backend/kv:kv; 0s remote-cache, linux-sandbox ... (9 actions, 2 running) ./t/ddl/db_foreign_key.test: ok! 20 test cases passed, take time 0.350103396 s [4,398 / 4,637] Running nogo on //pkg/lightning/backend/kv:kv; 0s remote-cache, linux-sandbox ... (9 actions, 2 running) [4,324 / 4,571] GoCompilePkg pkg/ttl/ttlworker/ttlworker.a; Downloading pkg/ttl/ttlworker/ttlworker.a, 2.0 MiB / 3.6 MiB; 0s remote-cache ... (8 actions, 0 running) [1,022 / 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, 14.1 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [2,406 / 4,639] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/rangetask/rangetask.a; Downloading external/com_github_tikv_client_go_v2/txnkv/rangetask/rangetask.a; 0s remote-cache ... (8 actions, 0 running) [1,368 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_aws_aws_sdk_go/service/s3/s3.a, 14.0 MiB / 15.7 MiB; 0s remote-cache ... (8 actions, 0 running) [4,519 / 4,582] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 44.7 MiB / 53.0 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1013 packages loaded, 7679 targets configured) [3,904 / 4,642] GoCompilePkg pkg/structure/structure.a; Downloading pkg/structure/structure.x; 0s remote-cache ... (8 actions, 0 running) [856 / 4,573] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 12.2 MiB / 25.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,474 / 4,750] GoCompilePkg pkg/statistics/handle/storage/storage.a; Downloading pkg/statistics/handle/storage/storage.a, 2.0 MiB / 2.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,376 / 4,571] Running nogo on //pkg/lightning/errormanager:errormanager; 0s remote-cache, linux-sandbox ... (8 actions, 2 running) [4,386 / 4,571] Running nogo on //pkg/lightning/backend/local:local; 0s remote-cache, linux-sandbox ... (4 actions running) [4,385 / 4,568] GoCompilePkg pkg/lightning/backend/local/local.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [1,138 / 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, 44.1 MiB / 77.2 MiB; 1s remote-cache ... (8 actions, 0 running) [3,562 / 4,639] GoCompilePkg pkg/statistics/handle/metrics/metrics.a; Downloading pkg/statistics/handle/metrics/metrics.x, 48.0 KiB / 134.2 KiB; 0s remote-cache ... (7 actions, 0 running) [1,453 / 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, 35.0 MiB / 77.2 MiB; 1s remote-cache ... (7 actions, 0 running) [4,449 / 4,637] GoCompilePkg pkg/lightning/backend/local/local.a; 0s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1069 packages loaded, 9137 targets configured) [4,068 / 4,642] GoCompilePkg pkg/planner/util/debugtrace/debugtrace.a; 0s remote-cache ... (4 actions, 0 running) [1,011 / 4,573] GoCompilePkg external/com_github_cockroachdb_pebble/sstable/sstable.a; Downloading external/com_github_cockroachdb_pebble/sstable/sstable.a, 3.0 MiB / 4.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,549 / 4,582] GoCompilePkg br/pkg/task/operator/operator.a; 1s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,549 / 4,750] GoCompilePkg pkg/ddl/ddl.a; Downloading pkg/ddl/ddl.a, 16.1 MiB / 23.3 MiB; 0s remote-cache [4,387 / 4,571] GoCompilePkg pkg/lightning/backend/local/local.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,387 / 4,568] Running nogo on //pkg/lightning/backend/local:local; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,388 / 4,571] GoCompilePkg pkg/lightning/backend/local/local.a; 1s remote-cache, linux-sandbox [4,052 / 4,639] [Prepa] GoCompilePkg pkg/planner/planctx/planctx.a ... (6 actions, 0 running) [2,005 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a; 0s remote-cache ... (8 actions, 0 running) [4,455 / 4,637] GoCompilePkg pkg/ddl/ddl.a; 0s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1191 packages loaded, 9850 targets configured) [4,389 / 4,568] GoCompilePkg pkg/ddl/ddl.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [1,209 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a; 0s remote-cache ... (8 actions, 0 running) [1,152 / 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, 43.6 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,392 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,392 / 4,568] GoCompilePkg pkg/ddl/ddl.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,573 / 4,574] 1 / 1 tests; Testing //tests/realtikvtest/sessiontest:sessiontest_test; 63s remote-cache, linux-sandbox Target //tests/realtikvtest/sessiontest:sessiontest_test up-to-date: bazel-bin/tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test INFO: Elapsed time: 203.814s, Critical Path: 185.15s INFO: 4571 processes: 4377 remote cache hit, 13 internal, 181 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/sessiontest:sessiontest_test PASSED in 63.5s PASSED sessiontest_test.TestAutoCommitNeedNotLinearizability (0.6s) PASSED sessiontest_test.TestClusterTableSendError (0.5s) PASSED sessiontest_test.TestFailStatementCommitInRetry (0.6s) PASSED sessiontest_test.TestGCOldVersion (13.3s) PASSED sessiontest_test.TestGetTSFailDirtyState (0.6s) PASSED sessiontest_test.TestGetTSFailDirtyStateInretry (0.9s) PASSED sessiontest_test.TestIndexLookUpWithStaticPrune (0.6s) PASSED sessiontest_test.TestIndexReaderWithPaging (1.6s) PASSED sessiontest_test.TestIssue42426 (0.4s) PASSED sessiontest_test.TestIssue57530 (0.5s) PASSED sessiontest_test.TestKill (0.3s) PASSED sessiontest_test.TestKillFlagInBackoff (9.6s) PASSED sessiontest_test.TestPagingActRowsAndProcessKeys (25.7s) PASSED sessiontest_test.TestTiKVClientReadTimeout (3.6s) Test cases: finished with 14 passing and 0 failing out of 14 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } [4,142 / 4,642] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (6 actions, 0 running) [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [4,568 / 4,582] GoCompilePkg br/pkg/task/operator/operator.a; 2s remote-cache, linux-sandbox ... (5 actions, 4 running) [Pipeline] junit Recording test results [4,588 / 4,750] GoCompilePkg br/pkg/conn/conn.a; Downloading br/pkg/conn/conn.a; 0s remote-cache ... (8 actions, 0 running) [3,478 / 4,573] GoCompilePkg pkg/util/chunk/chunk.a; 0s remote-cache ... (6 actions, 0 running) [4,392 / 4,568] GoCompilePkg pkg/ddl/ddl.a; 1s remote-cache, linux-sandbox ... (4 actions running) [1,425 / 4,639] GoCompilePkg external/com_github_tikv_pd_client/http/http.a; Downloading external/com_github_tikv_pd_client/http/http.a, 1.2 MiB / 1.5 MiB; 0s remote-cache ... (8 actions, 0 running) None of the test reports contained any result [Checks API] No suitable checks publisher found. [4,142 / 4,639] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (7 actions, 0 running) [1,282 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/brpb/brpb.a; Downloading external/com_github_pingcap_kvproto/pkg/brpb/brpb.a, 4.3 MiB / 6.7 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1275 packages loaded, 10494 targets configured) [Pipeline] script [Pipeline] { [4,339 / 4,642] GoCompilePkg pkg/lightning/common/common.a; Downloading pkg/lightning/common/common.x, 679.8 KiB / 1.1 MiB; 0s remote-cache ... (6 actions, 0 running) [4,392 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 1s remote-cache, linux-sandbox ... (4 actions running) [Pipeline] sh [4,570 / 4,582] GoCompilePkg br/pkg/gluetikv/gluetikv.a; 1s remote-cache, linux-sandbox [4,646 / 4,750] GoCompilePkg br/pkg/restore/internal/prealloc_db/prealloc_db.a; Downloading br/pkg/restore/internal/prealloc_db/prealloc_db.a, 10.0 MiB / 11.5 MiB; 0s remote-cache ... (3 actions, 0 running) No test report files were found. Configuration error? [2,219 / 4,639] GoCompilePkg pkg/util/collate/collate.a; Downloading pkg/util/collate/collate.a, 3.1 MiB / 5.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,369 / 4,639] GoCompilePkg pkg/ttl/session/session.a; Downloading pkg/ttl/session/session.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] } [3,958 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 25.1 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,393 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 2s remote-cache, linux-sandbox ... (3 actions, 2 running) [Pipeline] // script [4,392 / 4,568] GoCompilePkg pkg/ddl/ddl.a; 3s remote-cache, linux-sandbox ... (4 actions running) [Pipeline] } Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1387 packages loaded, 11664 targets configured) [Pipeline] // dir [Pipeline] } [1,499 / 4,573] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; Downloading build/tidb_nogo_actual_/tidb_nogo_actual, 11.8 MiB / 13.1 MiB; 0s remote-cache ... (3 actions, 0 running) [Pipeline] // withCredentials [4,674 / 4,750] GoCompilePkg pkg/planner/planner.a; Downloading pkg/planner/planner.a, 3.0 MiB / 11.6 MiB; 0s remote-cache ... (9 actions, 2 running) [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [4,475 / 4,642] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (6 actions, 0 running) [4,392 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 2s remote-cache, linux-sandbox ... (4 actions running) [3,660 / 4,639] Running nogo on //pkg/util/redact:redact; Downloading pkg/util/redact/redact.facts; 0s remote-cache ... (8 actions, 0 running) [4,475 / 4,639] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (8 actions, 0 running) [Pipeline] // container [4,570 / 4,582] GoCompilePkg br/pkg/gluetikv/gluetikv.a; 2s remote-cache, linux-sandbox [Pipeline] } [4,079 / 4,573] [Prepa] GoCompilePkg pkg/session/types/types.a [Pipeline] // withEnv [Pipeline] } Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1430 packages loaded, 12268 targets configured) [4,456 / 4,637] GoCompilePkg pkg/ddl/ddl.a; 2s remote-cache, linux-sandbox ... (3 actions, 2 running) [Pipeline] // node [Pipeline] } [2,936 / 4,573] Running nogo on @io_etcd_go_etcd_api_v3//v3rpc/rpctypes:rpctypes; Downloading external/io_etcd_go_etcd_api_v3/v3rpc/rpctypes/rpctypes.facts; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // podTemplate [Pipeline] } [4,703 / 4,750] [Prepa] GoCompilePkg pkg/server/handler/handler.a ... (4 actions, 0 running) [4,394 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 3s remote-cache, linux-sandbox [Pipeline] // withEnv [4,395 / 4,568] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a ... (6 actions, 0 running) [Pipeline] } [Pipeline] // stage [4,563 / 4,642] GoCompilePkg br/pkg/backup/backup.a; 0s remote-cache ... (4 actions, 0 running) [Pipeline] } [3,998 / 4,639] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 34.0 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,227 / 4,573] GoCompilePkg pkg/infoschema/internal/internal.a; Downloading pkg/infoschema/internal/internal.a; 0s remote-cache ... (2 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1532 packages loaded, 12827 targets configured) [4,457 / 4,637] GoCompilePkg pkg/ddl/ddl.a; 4s remote-cache, linux-sandbox [4,395 / 4,571] [Prepa] GoCompilePkg pkg/infoschema/perfschema/perfschema.a ... (6 actions, 0 running) [4,548 / 4,639] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 11.1 MiB / 14.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,393 / 4,568] GoCompilePkg pkg/ddl/ddl.a; 4s remote-cache, linux-sandbox ... (3 actions, 2 running) [3,839 / 4,573] GoCompilePkg pkg/meta/meta.a; Downloading pkg/meta/meta.a, 1023.9 KiB / 1.9 MiB; 0s remote-cache ... (8 actions, 0 running) [4,396 / 4,571] Running nogo on //pkg/ddl/schematracker:schematracker; 0s remote-cache, linux-sandbox ... (10 actions running) [4,399 / 4,568] GoCompilePkg pkg/ddl/schematracker/schematracker.a; 1s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,396 / 4,568] GoCompilePkg pkg/resourcegroup/runaway/runaway.a; 0s remote-cache, linux-sandbox ... (10 actions running) [4,721 / 4,750] GoCompilePkg pkg/server/handler/handler.a; 1s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,573 / 4,582] GoCompilePkg br/pkg/gluetidb/gluetidb.a; 1s remote-cache, linux-sandbox [4,319 / 4,573] Running nogo on //pkg/ttl/cache:cache; Downloading pkg/ttl/cache/cache.facts; 0s remote-cache ... (8 actions, 0 running) [4,460 / 4,637] Running nogo on //pkg/ddl/schematracker:schematracker; 0s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,581 / 4,642] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 42.0 MiB / 53.0 MiB; 1s remote-cache ... (2 actions, 0 running) [4,031 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 2.0 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1617 packages loaded, 13472 targets configured) [4,404 / 4,571] [Prepa] GoCompilePkg pkg/domain/domain.a [4,576 / 4,639] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 19.0 MiB / 53.0 MiB; 1s remote-cache ... (3 actions, 0 running) [4,141 / 4,639] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 89.0 MiB / 108.6 MiB; 2s remote-cache [4,404 / 4,568] Running nogo on //pkg/domain:domain; 0s remote-cache, linux-sandbox ... (4 actions running) [4,405 / 4,568] GoCompilePkg pkg/domain/domain.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,590 / 4,642] GoCompilePkg pkg/executor/sortexec/sortexec.a; Downloading pkg/executor/sortexec/sortexec.a, 2.0 MiB / 2.5 MiB; 0s remote-cache ... (8 actions, 0 running) [4,377 / 4,573] Running nogo on //pkg/statistics/handle:handle; Downloading pkg/statistics/handle/handle.facts; 0s remote-cache ... (2 actions, 0 running) [4,405 / 4,571] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1672 packages loaded, 13803 targets configured) [4,468 / 4,637] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,582 / 4,639] GoCompilePkg pkg/planner/core/core.a; 2s remote-cache ... (3 actions, 0 running) [4,405 / 4,571] GoCompilePkg pkg/domain/domain.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,723 / 4,750] GoCompilePkg pkg/server/handler/handler.a; 2s remote-cache, linux-sandbox [4,575 / 4,582] GoCompilePkg tests/realtikvtest/brietest/brietest_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,407 / 4,568] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (7 actions, 0 running) [4,610 / 4,642] [Prepa] GoCompilePkg pkg/session/session.a [4,149 / 4,639] GoCompilePkg pkg/table/table.a; 0s remote-cache ... (4 actions, 0 running) [4,078 / 4,573] GoCompilePkg pkg/expression/expression.a; 2s remote-cache [4,409 / 4,573] [Prepa] GoCompilePkg pkg/domain/domain.a [4,407 / 4,571] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (4 actions, 0 running) [4,609 / 4,639] GoCompilePkg pkg/executor/executor.a; Downloading pkg/executor/executor.a, 42.0 MiB / 51.0 MiB; 0s remote-cache [4,407 / 4,571] [Prepa] GoCompilePkg pkg/plugin/plugin.a ... (7 actions, 0 running) [4,729 / 4,750] GoCompilePkg pkg/server/handler/optimizor/optimizor.a; 0s remote-cache, linux-sandbox ... (10 actions running) [4,407 / 4,568] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (8 actions, 0 running) [4,576 / 4,582] GoCompilePkg tests/realtikvtest/brietest/brietest_test.internal.a; 2s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1672 packages loaded, 13803 targets configured) [4,470 / 4,637] [Prepa] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a ... (6 actions, 0 running) [4,290 / 4,639] GoCompilePkg pkg/infoschema/internal/internal.a; 0s remote-cache ... (2 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest3:addindextest3_test (1764 packages loaded, 14429 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,177 / 4,573] GoCompilePkg pkg/executor/aggfuncs/aggfuncs.a; Downloading pkg/executor/aggfuncs/aggfuncs.a, 4.0 MiB / 5.9 MiB; 0s remote-cache ... (8 actions, 0 running) [4,430 / 4,573] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; 0s remote-cache ... (8 actions, 0 running) [4,415 / 4,571] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 0s remote-cache, linux-sandbox ... (15 actions running) [4,631 / 4,642] [Prepa] GoCompilePkg tests/realtikvtest/testutils/testutils.a ... (2 actions, 0 running) [4,416 / 4,571] GoCompilePkg pkg/sessiontxn/staleread/staleread.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,411 / 4,568] GoCompilePkg pkg/plugin/plugin.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,475 / 4,637] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,628 / 4,639] [Prepa] GoCompilePkg tests/realtikvtest/realtikvtest.a ... (2 actions, 0 running) [4,422 / 4,639] GoCompilePkg pkg/statistics/handle/syncload/syncload.a; 0s remote-cache ... (7 actions, 0 running) [4,576 / 4,582] GoCompilePkg tests/realtikvtest/brietest/brietest_test.internal.a; 3s remote-cache, linux-sandbox [4,415 / 4,568] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 1s remote-cache, linux-sandbox ... (16 actions running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/internal/trace/traceviewer.a, 3.3 MiB / 3.4 MiB; 0s remote-cache ... (3 actions, 0 running) [4,301 / 4,573] GoCompilePkg pkg/ttl/cache/cache.a; Downloading pkg/ttl/cache/cache.a, 1023.9 KiB / 2.0 MiB; 0s remote-cache ... (7 actions, 0 running) [4,494 / 4,573] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 14.0 MiB / 14.2 MiB; 0s remote-cache ... (7 actions, 0 running) [4,733 / 4,750] GoCompilePkg pkg/server/handler/optimizor/optimizor.a; 2s remote-cache, linux-sandbox ... (6 actions running) [4,418 / 4,571] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,634 / 4,642] [Prepa] GoCompilePkg tests/realtikvtest/importintotest4/importintotest4_test.internal.a ... (2 actions, 0 running) [4,632 / 4,639] GoCompilePkg tests/realtikvtest/importintotest2/importintotest2_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,417 / 4,571] GoCompilePkg pkg/sessiontxn/staleread/staleread.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,463 / 4,639] [Prepa] GoCompilePkg pkg/infoschema/perfschema/perfschema.a ... (6 actions, 0 running) [4,412 / 4,568] GoCompilePkg pkg/plugin/plugin.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,482 / 4,637] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,397 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ddl.a [4,416 / 4,568] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 52.0 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,736 / 4,750] Running nogo on //pkg/server:server; 0s remote-cache, linux-sandbox ... (4 actions running) [4,426 / 4,571] GoCompilePkg br/pkg/glue/glue.a; 3s remote-cache, linux-sandbox ... (12 actions, 10 running) [4,418 / 4,571] GoCompilePkg pkg/sessiontxn/staleread/staleread.a; 3s remote-cache, linux-sandbox ... (14 actions running) [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 1s remote-cache, linux-sandbox [4,455 / 4,568] GoCompilePkg br/pkg/glue/glue.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,636 / 4,642] GoCompilePkg tests/realtikvtest/importintotest4/importintotest4_test.internal.a; 1s remote-cache, linux-sandbox [4,482 / 4,637] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 3s remote-cache, linux-sandbox ... (16 actions running) [4,488 / 4,639] GoCompilePkg pkg/plugin/plugin.a; 0s remote-cache ... (8 actions, 0 running) [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (6 actions, 0 running) [17 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 4.0 MiB / 8.3 MiB; 2s remote-cache ... (7 actions, 0 running) [4,436 / 4,568] GoCompilePkg br/pkg/conn/conn.a; 0s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,455 / 4,571] GoCompilePkg pkg/planner/indexadvisor/indexadvisor.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,633 / 4,639] GoCompilePkg tests/realtikvtest/importintotest2/importintotest2_test.internal.a; 2s remote-cache, linux-sandbox [4,460 / 4,571] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 0s remote-cache [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; 0s remote-cache, linux-sandbox [4,525 / 4,637] GoCompilePkg br/pkg/conn/conn.a; 0s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,548 / 4,639] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 11.0 MiB / 14.2 MiB; 0s remote-cache ... (8 actions, 0 running) [58 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) [4,478 / 4,568] GoCompilePkg br/pkg/conn/conn.a; 1s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,738 / 4,750] GoCompilePkg pkg/server/server.a; 2s remote-cache, linux-sandbox [4,473 / 4,568] GoCompilePkg pkg/executor/lockstats/lockstats.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 0s remote-cache, linux-sandbox [4,474 / 4,571] Running nogo on //br/pkg/aws:aws; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,457 / 4,573] GoCompilePkg br/pkg/conn/conn.a; 0s remote-cache ... (7 actions, 0 running) [4,561 / 4,573] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a; Downloading pkg/ddl/ingest/testutil/testutil.a, 1002.7 KiB / 2.0 MiB; 0s remote-cache [4,466 / 4,571] GoCompilePkg br/pkg/conn/conn.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [298 / 4,571] GoCompilePkg external/com_github_burntsushi_toml/toml.a; Downloading external/com_github_burntsushi_toml/toml.a, 1023.9 KiB / 1.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,579 / 4,639] GoCompilePkg pkg/planner/core/core.a; 1s remote-cache ... (2 actions, 0 running) [4,513 / 4,573] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 20.0 MiB / 53.0 MiB; 0s remote-cache ... (2 actions, 0 running) [4,481 / 4,568] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 2s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,566 / 4,573] GoCompilePkg tests/realtikvtest/flashbacktest/flashbacktest_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,480 / 4,568] GoCompilePkg pkg/executor/internal/querywatch/querywatch.a; 2s remote-cache, linux-sandbox ... (12 actions running) [4,484 / 4,571] GoCompilePkg pkg/planner/core/core.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [565 / 4,571] GoCompilePkg pkg/util/intset/intset.a; Downloading pkg/util/intset/intset.a, 48.0 KiB / 168.0 KiB; 0s remote-cache ... (7 actions, 0 running) [4,739 / 4,750] [Prepa] GoCompilePkg br/pkg/mock/mock.a ... (2 actions, 0 running) [4,482 / 4,571] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 2s remote-cache, linux-sandbox ... (13 actions, 10 running) [4,610 / 4,639] [Prepa] GoCompilePkg pkg/session/session.a [4,543 / 4,637] GoCompilePkg br/pkg/conn/conn.a; 2s remote-cache, linux-sandbox ... (14 actions running) [4,483 / 4,568] Running nogo on //pkg/planner/core:core; 3s remote-cache, linux-sandbox ... (8 actions running) [4,547 / 4,573] [Prepa] GoCompilePkg pkg/session/session.a [4,483 / 4,568] Running nogo on //pkg/planner/core:core; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [769 / 4,571] GoCompilePkg external/com_github_pingcap_badger/badger.a; Downloading external/com_github_pingcap_badger/badger.a, 2.0 MiB / 2.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,572 / 4,573] [Prepa] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test [4,550 / 4,637] GoCompilePkg pkg/executor/lockstats/lockstats.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,487 / 4,571] GoCompilePkg pkg/planner/core/core.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,488 / 4,571] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,489 / 4,568] Running nogo on //pkg/planner/core:core; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,741 / 4,750] GoCompilePkg br/pkg/mock/mock.a; 1s remote-cache, linux-sandbox [4,631 / 4,639] GoCompilePkg tests/realtikvtest/importintotest3/importintotest3_test.internal.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,491 / 4,568] Running nogo on //pkg/planner/core:core; 3s remote-cache, linux-sandbox ... (16 actions running) [4,565 / 4,573] GoCompilePkg tests/realtikvtest/pipelineddmltest/pipelineddmltest_test.internal.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,491 / 4,571] GoCompilePkg pkg/planner/core/core.a; 5s remote-cache, linux-sandbox ... (16 actions running) [992 / 4,571] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 7.6 MiB / 21.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,633 / 4,639] GoCompilePkg tests/realtikvtest/importintotest3/importintotest3_test.internal.a; 1s remote-cache, linux-sandbox [4,489 / 4,571] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (16 actions running) [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 1s remote-cache, linux-sandbox [4,555 / 4,637] Running nogo on //pkg/planner/core:core; 4s remote-cache, linux-sandbox ... (16 actions running) [4,567 / 4,573] GoCompilePkg tests/realtikvtest/pipelineddmltest/pipelineddmltest_test.internal.a; 1s remote-cache, linux-sandbox [1,136 / 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, 19.0 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,491 / 4,568] Running nogo on //pkg/planner/core:core; 6s remote-cache, linux-sandbox ... (16 actions running) [4,494 / 4,571] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,490 / 4,571] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (15 actions, 14 running) [1,242 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 1s remote-cache ... (8 actions, 0 running) [4,555 / 4,637] Running nogo on //pkg/planner/core:core; 5s remote-cache, linux-sandbox ... (16 actions running) [4,492 / 4,568] Running nogo on //pkg/planner/core:core; 5s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,492 / 4,568] Running nogo on //pkg/planner/core:core; 7s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,742 / 4,750] [Prepa] GoCompilePkg tests/realtikvtest/importintotest/importintotest_test.internal.a ... (2 actions, 0 running) [4,497 / 4,568] Running nogo on //pkg/planner/core:core; 6s remote-cache, linux-sandbox ... (10 actions running) [4,500 / 4,571] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 1s remote-cache, linux-sandbox [1,495 / 4,571] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; Downloading build/tidb_nogo_actual_/tidb_nogo_actual, 13.0 MiB / 13.1 MiB; 0s remote-cache ... (5 actions, 0 running) [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 1s remote-cache, linux-sandbox [4,561 / 4,637] Running nogo on //pkg/planner/core:core; 6s remote-cache, linux-sandbox ... (8 actions running) [4,500 / 4,571] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (6 actions, 4 running) [4,502 / 4,568] Running nogo on //pkg/planner/core:core; 7s remote-cache, linux-sandbox ... (6 actions running) [4,503 / 4,571] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (5 actions, 4 running) [2,678 / 4,571] GoCompilePkg pkg/types/types.a; 0s remote-cache ... (7 actions, 0 running) [4,505 / 4,568] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,744 / 4,750] GoCompilePkg tests/realtikvtest/importintotest/importintotest_test.internal.a; 1s remote-cache, linux-sandbox [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 11s remote-cache, linux-sandbox [4,504 / 4,571] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (4 actions running) [4,505 / 4,568] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (6 actions running) [4,568 / 4,637] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,505 / 4,571] GoCompilePkg pkg/planner/core/core.a; 10s remote-cache, linux-sandbox ... (6 actions running) [3,662 / 4,571] GoCompilePkg pkg/sessionctx/variable/variable.a; Downloading pkg/sessionctx/variable/variable.a, 95.8 KiB / 5.0 MiB; 0s remote-cache ... (4 actions, 0 running) [4,505 / 4,568] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (6 actions running) [4,745 / 4,750] [Prepa] GoCompilePkgExternal tests/realtikvtest/importintotest/importintotest_test_test.external.a ... (2 actions, 0 running) [4,568 / 4,637] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (6 actions running) [3,888 / 4,571] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 72.4 MiB / 94.8 MiB; 0s remote-cache ... (6 actions, 0 running) [4,506 / 4,568] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 13s remote-cache, linux-sandbox [4,506 / 4,571] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,135 / 4,571] Running nogo on //pkg/domain/infosync:infosync; Downloading pkg/domain/infosync/infosync.facts; 0s remote-cache ... (8 actions, 0 running) [4,506 / 4,568] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; 0s remote-cache, linux-sandbox [4,569 / 4,637] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; 10s remote-cache, linux-sandbox [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; 12s remote-cache, linux-sandbox [4,504 / 4,571] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,312 / 4,571] GoCompilePkg pkg/lightning/tikv/tikv.a; 0s remote-cache ... (8 actions, 0 running) [4,507 / 4,568] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,508 / 4,571] GoCompilePkg pkg/planner/core/core.a; 13s remote-cache, linux-sandbox ... (6 actions running) [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 11s remote-cache, linux-sandbox [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 12s remote-cache, linux-sandbox [4,508 / 4,568] GoCompilePkg pkg/planner/core/core.a; 12s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,509 / 4,571] GoCompilePkg pkg/planner/core/core.a; 13s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 1s remote-cache, linux-sandbox [4,573 / 4,637] GoCompilePkg pkg/planner/core/core.a; 12s remote-cache, linux-sandbox ... (4 actions running) [4,511 / 4,571] GoCompilePkg br/pkg/restore/log_client/log_client.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,405 / 4,571] GoCompilePkg pkg/domain/domain.a; Downloading pkg/domain/domain.a, 4.6 MiB / 13.7 MiB; 0s remote-cache ... (2 actions, 0 running) [4,511 / 4,568] GoCompilePkg br/pkg/restore/log_client/log_client.a; 0s remote-cache, linux-sandbox ... (7 actions, 2 running) [4,512 / 4,571] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,642 / 4,643] Testing //tests/realtikvtest/importintotest4:importintotest4_test; 1s remote-cache, linux-sandbox [4,511 / 4,568] GoCompilePkg br/pkg/restore/log_client/log_client.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,574 / 4,637] GoCompilePkg br/pkg/restore/log_client/log_client.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,517 / 4,571] GoCompilePkg br/pkg/restore/log_client/log_client.a; 2s remote-cache, linux-sandbox ... (15 actions running) [4,449 / 4,571] GoCompilePkg br/pkg/checkpoint/checkpoint.a; Downloading br/pkg/checkpoint/checkpoint.a, 10.0 MiB / 12.5 MiB; 0s remote-cache ... (8 actions, 0 running) [4,639 / 4,640] Testing //tests/realtikvtest/importintotest2:importintotest2_test; 1s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 11s remote-cache, linux-sandbox [4,511 / 4,568] GoCompilePkg br/pkg/restore/log_client/log_client.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,513 / 4,568] GoCompilePkg br/pkg/restore/log_client/log_client.a; 2s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,518 / 4,571] Running nogo on //pkg/executor/importer:importer; 2s remote-cache, linux-sandbox ... (15 actions running) [4,510 / 4,571] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 33.9 MiB / 46.0 MiB; 0s remote-cache ... (2 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 12s remote-cache, linux-sandbox [4,517 / 4,571] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,517 / 4,568] GoCompilePkg br/pkg/restore/log_client/log_client.a; 3s remote-cache, linux-sandbox ... (16 actions running) [4,519 / 4,568] Running nogo on //pkg/executor/importer:importer; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,582 / 4,637] GoCompilePkg br/pkg/restore/log_client/log_client.a; 3s remote-cache, linux-sandbox ... (16 actions running) [4,527 / 4,571] GoCompilePkg pkg/executor/join/join.a; 2s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,523 / 4,571] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 3s remote-cache, linux-sandbox ... (14 actions running) [4,524 / 4,571] Running nogo on //br/pkg/task:task; 0s remote-cache, linux-sandbox ... (14 actions running) [4,525 / 4,568] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 3s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 11s remote-cache, linux-sandbox [4,591 / 4,637] Running nogo on //pkg/executor/join:join; 2s remote-cache, linux-sandbox ... (10 actions running) [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 10s remote-cache, linux-sandbox [4,528 / 4,568] GoCompilePkg pkg/executor/importer/importer.a; 1s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,573 / 4,574] Testing //tests/realtikvtest/flashbacktest:flashbacktest_test; 1s remote-cache, linux-sandbox [4,526 / 4,571] Running nogo on //br/pkg/task:task; 1s remote-cache, linux-sandbox ... (12 actions running) [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 12s remote-cache, linux-sandbox [4,534 / 4,568] GoCompilePkg br/pkg/task/task.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,597 / 4,637] GoCompilePkg br/pkg/task/task.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,532 / 4,571] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (6 actions running) [4,533 / 4,571] GoCompilePkg br/pkg/task/task.a; 1s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,533 / 4,568] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,599 / 4,637] [Prepa] GoCompilePkg br/pkg/task/show/show.a [4,536 / 4,571] Running nogo on //br/pkg/task/show:show; 0s remote-cache, linux-sandbox ... (4 actions running) [4,573 / 4,573] checking cached actions [4,537 / 4,571] Running nogo on //br/pkg/task/show:show; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,535 / 4,571] GoCompilePkg br/pkg/task/task.a; 3s remote-cache, linux-sandbox [4,535 / 4,568] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 14s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 0s remote-cache, linux-sandbox [4,539 / 4,568] GoCompilePkg pkg/executor/executor.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,539 / 4,571] GoCompilePkg pkg/executor/executor.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,539 / 4,568] GoCompilePkg pkg/executor/executor.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,539 / 4,571] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,602 / 4,637] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,539 / 4,571] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,639 / 4,640] Testing //tests/realtikvtest/importintotest3:importintotest3_test; 1s remote-cache, linux-sandbox [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 11s remote-cache, linux-sandbox [4,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; 11s remote-cache, linux-sandbox [4,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; 12s remote-cache, linux-sandbox [4,539 / 4,571] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (4 actions running) [4,539 / 4,571] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox ... (4 actions running) [4,540 / 4,568] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,639 / 4,640] Testing //tests/realtikvtest/importintotest2:importintotest2_test; 11s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 0s remote-cache, linux-sandbox [4,603 / 4,637] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,540 / 4,571] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,540 / 4,568] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,604 / 4,637] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,541 / 4,568] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,541 / 4,568] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,642 / 4,643] Testing //tests/realtikvtest/importintotest4:importintotest4_test; 11s remote-cache, linux-sandbox [4,541 / 4,568] GoCompilePkg pkg/executor/executor.a; 7s remote-cache, linux-sandbox [4,541 / 4,568] GoCompilePkg pkg/executor/executor.a; 7s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/flashbacktest:flashbacktest_test; 11s remote-cache, linux-sandbox [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 7s remote-cache, linux-sandbox [4,542 / 4,568] GoCompilePkg pkg/session/session.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 8s remote-cache, linux-sandbox [4,604 / 4,637] GoCompilePkg pkg/executor/executor.a; 8s remote-cache, linux-sandbox [4,542 / 4,568] GoCompilePkg pkg/session/session.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,542 / 4,571] Running nogo on //pkg/session:session; 0s remote-cache, linux-sandbox ... (4 actions running) [4,605 / 4,637] GoCompilePkg pkg/session/session.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,543 / 4,568] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,543 / 4,571] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,544 / 4,571] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox [4,542 / 4,571] [Prepa] GoCompilePkg pkg/session/session.a ... (2 actions, 0 running) [4,545 / 4,568] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a [4,545 / 4,568] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a [4,545 / 4,571] GoCompilePkg pkg/store/gcworker/gcworker.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,608 / 4,637] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) [4,544 / 4,571] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox [4,545 / 4,571] Running nogo on //pkg/store/gcworker:gcworker; 0s remote-cache, linux-sandbox ... (4 actions running) [4,551 / 4,568] Running nogo on //pkg/testkit:testkit; 0s remote-cache, linux-sandbox ... (4 actions running) [4,552 / 4,568] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,552 / 4,571] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,615 / 4,637] GoCompilePkg pkg/testkit/testkit.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,639 / 4,640] Testing //tests/realtikvtest/importintotest3:importintotest3_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 11s remote-cache, linux-sandbox [4,556 / 4,568] GoCompilePkg tests/realtikvtest/realtikvtest.a; 0s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,545 / 4,571] [Prepa] GoCompilePkg pkg/ddl/testutil/testutil.a ... (4 actions, 0 running) [4,555 / 4,568] Running nogo on //pkg/ddl/ingest/testutil:testutil; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,554 / 4,571] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a ... (2 actions, 0 running) [4,555 / 4,571] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,620 / 4,637] Running nogo on //pkg/disttask/framework/testutil:testutil; 0s remote-cache, linux-sandbox ... (8 actions running) [4,559 / 4,571] GoCompilePkg pkg/ddl/testutil/testutil.a; 1s remote-cache, linux-sandbox ... (6 actions running) [4,557 / 4,571] GoCompilePkg tests/realtikvtest/realtikvtest.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,560 / 4,568] [Prepa] GoCompilePkg tests/realtikvtest/addindextest4/addindextest4_test.internal.a ... (2 actions, 0 running) [4,560 / 4,568] [Prepa] GoCompilePkg tests/realtikvtest/addindextest1/addindextest1_test.internal.a [4,625 / 4,637] GoCompilePkg tests/realtikvtest/realtikvtest.a; 1s remote-cache, linux-sandbox [4,563 / 4,571] [Prepa] GoCompilePkg tests/realtikvtest/addindextest3/addindextest3_test.internal.a ... (2 actions, 0 running) [4,563 / 4,571] [Prepa] GoCompilePkg tests/realtikvtest/pessimistictest/pessimistictest_test.internal.a [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 101s remote-cache, linux-sandbox [4,566 / 4,568] [Prepa] GoCompilePkg tests/realtikvtest/addindextest4/addindextest4_test~testmain.a [4,567 / 4,568] [Prepa] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test [4,564 / 4,571] GoCompilePkg tests/realtikvtest/addindextest/addindextest_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,630 / 4,637] GoCompilePkg tests/realtikvtest/addindextest2/addindextest2_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,565 / 4,571] GoCompilePkg tests/realtikvtest/pessimistictest/pessimistictest_test.internal.a; 1s remote-cache, linux-sandbox [4,642 / 4,643] 1 / 1 tests; Testing //tests/realtikvtest/importintotest4:importintotest4_test; 22s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest4:importintotest4_test: ==================== Test output for //tests/realtikvtest/importintotest4:importintotest4_test: === RUN TestImportInto [2025/04/04 10:49:30.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/04 10:49:30.149 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:30.150 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:30.151 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:30.151 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:30.151 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:30.151 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:30.151 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:30.152 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:30.152 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:30.152 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:30.158 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:30.164 +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/04 10:49:30.165 +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/04 10:49:30.166 +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/04 10:49:30.189 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.189 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.194 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.195 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.206 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.229 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893312506154] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:30.251 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:30.293 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1255] ["lease id"=6f18960069d9aff8] [2025/04/04 10:49:30.295 +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/04 10:49:30.301 +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/04 10:49:30.407 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=105.431323ms] [2025/04/04 10:49:30.407 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:30.409 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:49:30.409 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:30.409 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:30.411 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:30.412 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:30.412 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 296861388800/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:30.413 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:30.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:30.413 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:30.413 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [2025/04/04 10:49:30.415 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d9b3f8] [ownerID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [op=none] [2025/04/04 10:49:30.415 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:30.415 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [ownerKey=/tidb/ddl/fg/owner/2231960069d9b3f8] [currRev=96] [2025/04/04 10:49:30.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:30.416 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:30.416 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:30.416 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069d9b16d] [ownerID=b4a751a5-975d-409d-bbcc-45c83a5105f8] [op=none] [2025/04/04 10:49:30.416 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [2025/04/04 10:49:30.416 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [ownerKey=/tidb/br-stream/owner/3eaa960069d9b16d] [currRev=97] [2025/04/04 10:49:30.417 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d9b3f8] [ownerID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [op=none] [2025/04/04 10:49:30.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=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [op=none] [2025/04/04 10:49:30.417 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:30.420 +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/04 10:49:30.435 +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-04 10:49:30.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:30.435 +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-04 10:49:30.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:49:30.441 +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-04 10:49:30.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.582 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=125.483398ms] [2025/04/04 10:49:30.582 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:30.588 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:30.588 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:49:30.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=1] ["take time"=135.256144ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:30.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.604 +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-04 10:49:30.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.618 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:49:30.618 +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/04 10:49:30.620 +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/04 10:49:30.624 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/04 10:49:30.650 +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-04 10:49:30.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:30.650 +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-04 10:49:30.594 +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/04 10:49:30.659 +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-04 10:49:30.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.498078ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:30.719 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:30.719 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:49:30.721 +00:00] [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.632596ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:30.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.740 +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-04 10:49:30.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.773 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:49:30.773 +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/04 10:49:30.788 +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-04 10:49:30.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:30.788 +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-04 10:49:30.743 +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/04 10:49:30.794 +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-04 10:49:30.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.299316ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:30.819 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:30.819 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:49:30.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=3] ["take time"=10.542806ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:30.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.834 +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-04 10:49:30.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.848 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:49:30.848 +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/04 10:49:30.863 +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-04 10:49:30.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:30.863 +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-04 10:49:30.844 +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/04 10:49:30.869 +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-04 10:49:30.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.890 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.32488ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:30.893 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:30.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:49:30.895 +00:00] [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.63864ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:30.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.906 +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-04 10:49:30.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.919 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:49:30.919 +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/04 10:49:30.939 +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-04 10:49:30.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:30.940 +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-04 10:49:30.893 +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/04 10:49:30.947 +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-04 10:49:30.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:30.982 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.434078ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:30.985 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:30.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:49:30.987 +00:00] [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.269543ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:30.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.006 +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-04 10:49:30.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.029 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:49:31.030 +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/04 10:49:31.046 +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-04 10:49:30.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.046 +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-04 10:49:30.994 +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/04 10:49:31.052 +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-04 10:49:30.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.076 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.791907ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.079 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.079 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:49:31.081 +00:00] [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.811344ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:30.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.092 +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-04 10:49:30.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.107 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:49:31.107 +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/04 10:49:31.122 +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-04 10:49:31.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.122 +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-04 10:49:31.094 +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/04 10:49:31.128 +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-04 10:49:31.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.151 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.584361ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.154 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.154 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:49:31.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=7] ["take time"=9.823429ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.168 +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-04 10:49:31.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.183 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:49:31.183 +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/04 10:49:31.196 +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-04 10:49:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.196 +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-04 10:49:31.143 +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/04 10:49:31.202 +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-04 10:49:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.219 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.807388ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.223 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:49:31.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=8] ["take time"=8.532249ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.234 +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-04 10:49:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.246 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:49:31.246 +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/04 10:49:31.259 +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-04 10:49:31.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.259 +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-04 10:49:31.243 +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/04 10:49:31.265 +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-04 10:49:31.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.283 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.926586ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.286 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.286 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:49:31.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=9] ["take time"=8.799635ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.298 +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-04 10:49:31.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.310 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:49:31.310 +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/04 10:49:31.324 +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-04 10:49:31.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.324 +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-04 10:49:31.294 +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/04 10:49:31.330 +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-04 10:49:31.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.349 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.269985ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.352 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:49:31.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=10] ["take time"=8.495235ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.364 +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-04 10:49:31.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.378 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:49:31.378 +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/04 10:49:31.392 +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-04 10:49:31.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.392 +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-04 10:49:31.343 +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/04 10:49:31.397 +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-04 10:49:31.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.414 +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/04 10:49:31.417 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.249029ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.420 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.420 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:49:31.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=11] ["take time"=8.175925ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.432 +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-04 10:49:31.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.445 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:49:31.445 +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/04 10:49:31.447 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:31.463 +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-04 10:49:31.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.463 +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-04 10:49:31.443 +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/04 10:49:31.469 +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-04 10:49:31.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.496 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.211281ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.499 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.499 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:49:31.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=12] ["take time"=10.114953ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.513 +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-04 10:49:31.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.530 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:49:31.530 +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/04 10:49:31.545 +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-04 10:49:31.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.545 +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-04 10:49:31.493 +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/04 10:49:31.551 +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-04 10:49:31.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.746577ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.577 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.578 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:49:31.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=13] ["take time"=9.464874ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.591 +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-04 10:49:31.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.606 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:49:31.606 +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/04 10:49:31.620 +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-04 10:49:31.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.620 +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-04 10:49:31.594 +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/04 10:49:31.628 +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-04 10:49:31.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.648 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.071388ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.651 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.651 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:49:31.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=14] ["take time"=9.052763ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.667 +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-04 10:49:31.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.681 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:49:31.681 +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/04 10:49:31.695 +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-04 10:49:31.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.695 +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-04 10:49:31.643 +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/04 10:49:31.701 +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-04 10:49:31.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.721 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.320831ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.724 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.724 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:49:31.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=15] ["take time"=9.077399ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.737 +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-04 10:49:31.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.750 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:49:31.751 +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/04 10:49:31.764 +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-04 10:49:31.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.764 +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-04 10:49:31.743 +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/04 10:49:31.770 +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-04 10:49:31.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.014917ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.792 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.792 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:49:31.794 +00:00] [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.500959ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.804 +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-04 10:49:31.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.816 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:49:31.816 +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/04 10:49:31.830 +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-04 10:49:31.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.830 +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-04 10:49:31.793 +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/04 10:49:31.835 +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-04 10:49:31.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.855 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.124449ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.858 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.858 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:49:31.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=17] ["take time"=8.792199ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.871 +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-04 10:49:31.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.884 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:49:31.884 +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/04 10:49:31.898 +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-04 10:49:31.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.898 +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-04 10:49:31.843 +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/04 10:49:31.903 +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-04 10:49:31.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.202711ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.927 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.927 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:49:31.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=18] ["take time"=8.96957ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.939 +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-04 10:49:31.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.953 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:49:31.953 +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/04 10:49:31.969 +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-04 10:49:31.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.969 +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-04 10:49:31.943 +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/04 10:49:31.974 +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-04 10:49:31.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.115116ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.003 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.003 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:49:32.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=19] ["take time"=10.171453ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.017 +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-04 10:49:31.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.033 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:49:32.034 +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/04 10:49:32.053 +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-04 10:49:32.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.053 +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-04 10:49:32.044 +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/04 10:49:32.059 +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-04 10:49:32.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.078 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.104941ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.081 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.081 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:49:32.083 +00:00] [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.692951ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.093 +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-04 10:49:32.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.105 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:49:32.106 +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/04 10:49:32.119 +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-04 10:49:32.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.119 +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-04 10:49:32.094 +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/04 10:49:32.123 +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-04 10:49:32.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.140 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.821147ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.143 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.143 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:49:32.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=21] ["take time"=8.575051ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.155 +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-04 10:49:32.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.158 +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/04 10:49:32.167 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:49:32.168 +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/04 10:49:32.180 +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-04 10:49:32.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.180 +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-04 10:49:32.143 +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/04 10:49:32.186 +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-04 10:49:32.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.480805ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.205 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:49:32.206 +00:00] [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.272095ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.217 +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-04 10:49:32.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.228 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:49:32.228 +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/04 10:49:32.243 +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-04 10:49:32.193 +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/04 10:49:32.243 +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-04 10:49:32.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.249 +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-04 10:49:32.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.272 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.69768ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.275 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.275 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:49:32.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=23] ["take time"=9.385337ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.288 +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-04 10:49:32.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.303 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:49:32.303 +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/04 10:49:32.317 +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-04 10:49:32.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.317 +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-04 10:49:32.293 +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/04 10:49:32.323 +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-04 10:49:32.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.342 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=1.933497ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.345 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.345 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:49:32.347 +00:00] [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.829092ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.357 +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-04 10:49:32.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:49:32.370 +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/04 10:49:32.385 +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-04 10:49:32.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.385 +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-04 10:49:32.344 +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/04 10:49:32.391 +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-04 10:49:32.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.411 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.283594ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.412 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:32.413 +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/04 10:49:32.414 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.414 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:49:32.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=25] ["take time"=9.862239ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.428 +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-04 10:49:32.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.445 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:49:32.445 +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/04 10:49:32.459 +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-04 10:49:32.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.459 +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-04 10:49:32.443 +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/04 10:49:32.465 +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-04 10:49:32.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.880855ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.487 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:49:32.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=26] ["take time"=8.949672ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.499 +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-04 10:49:32.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.512 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:49:32.512 +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/04 10:49:32.525 +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-04 10:49:32.494 +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/04 10:49:32.525 +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-04 10:49:32.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.531 +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-04 10:49:32.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.549 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.015287ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.553 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:49:32.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=27] ["take time"=8.992824ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.565 +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-04 10:49:32.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.577 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:49:32.578 +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/04 10:49:32.591 +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-04 10:49:32.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.591 +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-04 10:49:32.543 +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/04 10:49:32.599 +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-04 10:49:32.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.619 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=2.033794ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.623 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.623 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:49:32.625 +00:00] [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.10725ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.635 +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-04 10:49:32.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.648 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:49:32.648 +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/04 10:49:32.650 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:32.663 +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-04 10:49:32.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.663 +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-04 10:49:32.643 +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/04 10:49:32.669 +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-04 10:49:32.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.689 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.312609ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.692 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.692 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:49:32.693 +00:00] [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.671573ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.705 +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-04 10:49:32.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.718 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:49:32.718 +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/04 10:49:32.733 +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-04 10:49:32.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.733 +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-04 10:49:32.693 +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/04 10:49:32.738 +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-04 10:49:32.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.759 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.432595ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.762 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.762 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:49:32.764 +00:00] [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"=8.781506ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.775 +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-04 10:49:32.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.788 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:49:32.788 +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/04 10:49:32.802 +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-04 10:49:32.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.802 +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-04 10:49:32.744 +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/04 10:49:32.808 +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-04 10:49:32.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.830 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=3.100788ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.833 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.834 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:49:32.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=31] ["take time"=9.761842ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.846 +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-04 10:49:32.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.861 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:49:32.861 +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/04 10:49:32.878 +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-04 10:49:32.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.878 +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-04 10:49:32.843 +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/04 10:49:32.885 +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-04 10:49:32.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.913 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.448478ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.916 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.916 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:49:32.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=32] ["take time"=9.841184ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.931 +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-04 10:49:32.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.948 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:49:32.948 +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/04 10:49:32.960 +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-04 10:49:32.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.960 +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-04 10:49:32.943 +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/04 10:49:32.966 +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-04 10:49:32.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.981 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.605743ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.984 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:49:32.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=33] ["take time"=8.162866ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.996 +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-04 10:49:32.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.007 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:49:33.007 +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/04 10:49:33.024 +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-04 10:49:32.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.024 +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-04 10:49:32.993 +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/04 10:49:33.030 +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-04 10:49:32.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.053 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.341782ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:33.056 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.056 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:49:33.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=34] ["take time"=9.020855ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.069 +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-04 10:49:32.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.083 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:49:33.097 +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-04 10:49:33.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.097 +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-04 10:49:33.044 +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/04 10:49:33.103 +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-04 10:49:33.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.124 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.167756ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.127 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.127 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:49:33.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=35] ["take time"=8.720541ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.139 +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-04 10:49:33.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.153 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:49:33.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/04 10:49:33.167 +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-04 10:49:33.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.167 +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-04 10:49:33.143 +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/04 10:49:33.172 +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-04 10:49:33.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.191 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.876843ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.194 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.194 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:49:33.196 +00:00] [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.995932ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.207 +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-04 10:49:33.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.220 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:49:33.220 +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/04 10:49:33.238 +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-04 10:49:33.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.238 +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-04 10:49:33.193 +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/04 10:49:33.244 +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-04 10:49:33.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.262 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.897632ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.265 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:49:33.267 +00:00] [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.432331ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.277 +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-04 10:49:33.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.289 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:49:33.289 +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/04 10:49:33.306 +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-04 10:49:33.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.306 +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-04 10:49:33.293 +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/04 10:49:33.313 +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-04 10:49:33.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.341 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.367897ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.344 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.344 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:49:33.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=38] ["take time"=10.001665ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.359 +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-04 10:49:33.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.378 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:49:33.378 +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/04 10:49:33.396 +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-04 10:49:33.343 +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/04 10:49:33.396 +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-04 10:49:33.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.403 +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-04 10:49:33.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.431 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.226501ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.435 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.435 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:49:33.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=39] ["take time"=10.173415ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.450 +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-04 10:49:33.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.467 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:49:33.468 +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/04 10:49:33.485 +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-04 10:49:33.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.485 +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-04 10:49:33.444 +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/04 10:49:33.492 +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-04 10:49:33.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.521 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.814866ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.525 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.525 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:49:33.527 +00:00] [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.947148ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.540 +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-04 10:49:33.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.558 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:49:33.558 +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/04 10:49:33.576 +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-04 10:49:33.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.576 +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-04 10:49:33.544 +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/04 10:49:33.582 +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-04 10:49:33.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.612 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.81272ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.615 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.616 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:49:33.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=41] ["take time"=10.571342ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.630 +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-04 10:49:33.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.649 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:49:33.649 +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/04 10:49:33.667 +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-04 10:49:33.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.667 +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-04 10:49:33.644 +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/04 10:49:33.674 +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-04 10:49:33.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.704 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.758351ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.707 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.707 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:49:33.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=42] ["take time"=10.24815ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.722 +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-04 10:49:33.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.741 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:49:33.741 +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/04 10:49:33.759 +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-04 10:49:33.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.759 +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-04 10:49:33.744 +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/04 10:49:33.765 +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-04 10:49:33.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.331614ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.795 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:49:33.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=43] ["take time"=9.492096ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.809 +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-04 10:49:33.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.826 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:49:33.826 +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/04 10:49:33.842 +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-04 10:49:33.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.842 +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-04 10:49:33.793 +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/04 10:49:33.848 +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-04 10:49:33.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.873 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.792421ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.876 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.876 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:49:33.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=44] ["take time"=9.487947ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.889 +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-04 10:49:33.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.904 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:49:33.904 +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/04 10:49:33.920 +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-04 10:49:33.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.920 +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-04 10:49:33.894 +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/04 10:49:33.928 +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-04 10:49:33.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.848033ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.955 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.955 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:49:33.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=45] ["take time"=9.246804ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.969 +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-04 10:49:33.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.984 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:49:33.984 +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/04 10:49:34.003 +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-04 10:49:33.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.003 +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-04 10:49:33.944 +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/04 10:49:34.010 +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-04 10:49:33.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.915582ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.045 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.046 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:49:34.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=46] ["take time"=14.253938ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.065 +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-04 10:49:33.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.084 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:49:34.085 +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/04 10:49:34.101 +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-04 10:49:34.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.101 +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-04 10:49:34.044 +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/04 10:49:34.107 +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-04 10:49:34.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.813755ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.134 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:49:34.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=47] ["take time"=9.414649ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.148 +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-04 10:49:34.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.164 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:49:34.164 +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/04 10:49:34.177 +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-04 10:49:34.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.177 +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-04 10:49:34.144 +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/04 10:49:34.183 +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-04 10:49:34.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.937557ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.204 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.204 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:49:34.206 +00:00] [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.810248ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.217 +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-04 10:49:34.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.231 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:49:34.231 +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/04 10:49:34.245 +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-04 10:49:34.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.245 +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-04 10:49:34.193 +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/04 10:49:34.250 +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-04 10:49:34.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.196567ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.273 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:49:34.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=49] ["take time"=8.752642ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.285 +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-04 10:49:34.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.298 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:49:34.298 +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/04 10:49:34.299 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:34.312 +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-04 10:49:34.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.312 +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-04 10:49:34.294 +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/04 10:49:34.318 +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-04 10:49:34.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.338 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.475071ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.342 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.342 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:49:34.344 +00:00] [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.959803ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.355 +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-04 10:49:34.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.368 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:49:34.368 +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/04 10:49:34.380 +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-04 10:49:34.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.380 +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-04 10:49:34.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:49:34.385 +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-04 10:49:34.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.397 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=654.821Β΅s] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:34.401 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.401 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:49:34.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=51] ["take time"=7.813043ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.412 +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-04 10:49:34.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.421 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:34.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:34.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:34.421 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:34.423 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:49:34.423 +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/04 10:49:34.437 +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-04 10:49:34.393 +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/04 10:49:34.438 +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-04 10:49:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.443 +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-04 10:49:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.461 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.74935ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:34.465 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.465 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:49:34.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=52] ["take time"=8.332206ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.477 +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-04 10:49:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.489 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:49:34.505 +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-04 10:49:34.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.505 +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-04 10:49:34.494 +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/04 10:49:34.511 +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-04 10:49:34.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.110105ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.541 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.541 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:49:34.542 +00:00] [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.819436ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.555 +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-04 10:49:34.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.572 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:49:34.573 +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/04 10:49:34.587 +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-04 10:49:34.543 +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/04 10:49:34.587 +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-04 10:49:34.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.593 +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-04 10:49:34.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.342996ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.617 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:49:34.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=54] ["take time"=9.712322ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.630 +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-04 10:49:34.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.645 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:49:34.645 +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/04 10:49:34.661 +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-04 10:49:34.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.661 +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-04 10:49:34.644 +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/04 10:49:34.668 +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-04 10:49:34.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.689 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.582322ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.693 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.693 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:49:34.695 +00:00] [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"=10.292511ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.707 +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-04 10:49:34.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.721 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:49:34.721 +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/04 10:49:34.863 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.447556633s] [2025/04/04 10:49:34.866 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:34.866 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:34.866 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [] [2025/04/04 10:49:34.866 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:34.866 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:34.866 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:34.866 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=37.015Β΅s] [2025/04/04 10:49:34.866 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=36.192Β΅s] [2025/04/04 10:49:34.866 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=28.591Β΅s] [2025/04/04 10:49:34.866 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=30.265Β΅s] [2025/04/04 10:49:34.866 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=27.681Β΅s] [2025/04/04 10:49:34.867 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=40.642Β΅s] [2025/04/04 10:49:34.867 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=31.14Β΅s] [2025/04/04 10:49:34.867 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=40.662Β΅s] [2025/04/04 10:49:34.867 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=32.889Β΅s] [2025/04/04 10:49:34.867 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=27.443Β΅s] [2025/04/04 10:49:34.867 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:34.867 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:34.868 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:34.868 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:34.877 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] ["take time"=11.634417ms] [2025/04/04 10:49:34.877 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:34.878 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1255] [2025/04/04 10:49:34.879 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [] [2025/04/04 10:49:34.878 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:34.878 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:34.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:34.879 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:34.878 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:34.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:34.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:34.879 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [2025/04/04 10:49:34.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:34.879 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:34.879 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:34.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:34.879 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [2025/04/04 10:49:34.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:34.879 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [2025/04/04 10:49:34.880 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b4a751a5-975d-409d-bbcc-45c83a5105f8] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:34.880 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:34.880 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:34.880 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:34.880 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:34.880 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:34.880 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:34.880 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:34.884 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.3607ms] [2025/04/04 10:49:34.884 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893312506154] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:34.894 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:34.941 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=152] ["lease id"=2231960069d9b46c] [2025/04/04 10:49:34.943 +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/04 10:49:35.062 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.00657ms] [2025/04/04 10:49:35.062 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:35.071 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:35.071 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:35.073 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [lease=2231960069d9b3f8] [2025/04/04 10:49:35.073 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:35.073 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 296861442048/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:35.073 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:35.073 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:35.073 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:35.074 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [2025/04/04 10:49:35.075 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d9b3f8] [ownerID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [op=none] [2025/04/04 10:49:35.076 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:35.076 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [ownerKey=/tidb/ddl/fg/owner/2231960069d9b3f8] [currRev=277] [2025/04/04 10:49:35.076 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:35.076 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:35.077 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d9b070] [ownerID=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [op=none] [2025/04/04 10:49:35.077 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [2025/04/04 10:49:35.077 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [ownerKey=/tidb/br-stream/owner/6f18960069d9b070] [currRev=277] [2025/04/04 10:49:35.077 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:35.077 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d9b3f8] [ownerID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [op=none] [2025/04/04 10:49:35.078 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [op=none] [2025/04/04 10:49:35.078 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:35.084 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:35.085 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:35.085 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:35.087 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/2231960069d9b474] [ownerID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [op=none] [2025/04/04 10:49:35.087 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:35.087 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [ownerKey=/tidb/bindinfo/owner/2231960069d9b474] [currRev=278] [2025/04/04 10:49:35.092 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:49:35.095 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:35.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:35.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:35.110 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:35.110 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:35.110 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:35.110 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:35.110 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:35.110 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:35.110 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:35.110 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:35.110 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:35.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:35.111 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:35.112 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:35.112 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:35.112 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:35.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:35.113 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:35.114 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069d9b075] [ownerID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [op=none] [2025/04/04 10:49:35.114 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:35.114 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [ownerKey=/tidb/stats/owner/6f18960069d9b075] [currRev=279] [2025/04/04 10:49:35.114 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:49:35.118 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/632dd269-9c4b-43b4-835b-7da2ebe88e0a] [2025/04/04 10:49:35.118 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [ttl-worker=task-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [originalCount=0] [newCount=4] [2025/04/04 10:49:35.118 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [ttl-worker=task-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [originalCount=0] [newCount=4] [2025/04/04 10:49:35.118 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:35.119 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:35.125 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:35.125 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:35.126 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763775126453915 [2025/04/04 10:49:35.127 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:35.134 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.379058ms] [2025/04/04 10:49:35.134 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:35.134 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:35.138 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743763775140237943 === RUN TestImportInto/TestGlobalSortBasic [2025/04/04 10:49:35.144 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gsort_basic"] [user=] [2025/04/04 10:49:35.156 +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-04 10:49:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.156 +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-04 10:49:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gsort_basic"] [2025/04/04 10:49:35.162 +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-04 10:49:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.177 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=590.842Β΅s] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:35.180 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:49:35.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=56] ["take time"=7.636101ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.193 +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-04 10:49:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.207 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:49:35.207 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gsort_basic"] [user=] [2025/04/04 10:49:35.221 +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-04 10:49:35.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.221 +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-04 10:49:35.193 +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/04 10:49:35.227 +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-04 10:49:35.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.232 +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/04 10:49:35.253 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=2.206236ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.257 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 10:49:35.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=57] ["take time"=9.388317ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.273 +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-04 10:49:35.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.289 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:49:35.289 +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/04 10:49:35.348 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:35.349 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:35.369 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:35.409 +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/04 10:49:35.442 +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/04 10:49:36.086 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:36.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:36.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:36.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:36.118 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:36.118 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:36.118 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/632dd269-9c4b-43b4-835b-7da2ebe88e0a] [watcherID=cff95916-0372-4215-a056-ac61d05b979d] [2025/04/04 10:49:36.126 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:36.130 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:36.130 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:36.130 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:36.130 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:36.147 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:36.147 +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/04 10:49:36.249 +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/04 10:49:36.251 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:36.253 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [2025/04/04 10:49:36.262 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.263 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.265 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:36.265 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:49:36.265 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=77.351Β΅s] [2025/04/04 10:49:36.265 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=194.493Β΅s] [] [2025/04/04 10:49:36.266 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.267 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.274 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 10:49:36.274 +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/04 10:49:36.318 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:36.340 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/04 10:49:36.340 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.341 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.342 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 10:49:36.349 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:36.349 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:36.350 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.350 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:36.350 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.350 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.350 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.350 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.351 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.351 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.363 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 10:49:36.366 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:36.367 +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/04 10:49:36.367 +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/04 10:49:36.367 +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/04 10:49:36.367 +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/04 10:49:36.375 +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/04 10:49:36.375 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [2025/04/04 10:49:36.378 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/43abb626-a12b-4093-8daf-4de5d38f4471] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.378 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8bdcbf2d-a243-45df-ab4b-31d72e563a44] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.378 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/97734469-7193-4dac-b3f3-51fc146ff6b1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.378 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5893faec-6974-4f14-a295-5f219995308d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.378 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7476fcf3-0969-448a-a48e-7d788716f242] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.378 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/77caa02b-22b3-4c6f-a839-852c52d0a165] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.378 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0fdee388-1715-41be-958f-ebd95c79c85b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.378 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:49:36.380 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [2025/04/04 10:49:36.382 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [readDur=903.662Β΅s] [encodeDur=262.28Β΅s] [checksum="{cksum=5544494089301268680,size=556,kvs=12}"] [deliverDur=573.469Β΅s] [type=file] [takeTime=2.046986ms] [] [2025/04/04 10:49:36.387 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=3.898482ms] [write-speed(bytes/s)=44.84KiB] [2025/04/04 10:49:36.387 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.118Β΅s] [write-time=4.028734ms] [sort-speed(kv/s)=962155.2277] [writer-id=data/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [2025/04/04 10:49:36.387 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000001] [maxKey=7480000000000000725f728000000000000003] [2025/04/04 10:49:36.391 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.843544ms] [write-speed(bytes/s)=41.16KiB] [2025/04/04 10:49:36.391 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.894Β΅s] [write-time=3.941581ms] [sort-speed(kv/s)=1036627.5052] [writer-id=index/1/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [2025/04/04 10:49:36.391 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000725f698000000000000001038000000000000003038000000000000003] [2025/04/04 10:49:36.414 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=22.892368ms] [write-speed(bytes/s)=10.45KiB] [2025/04/04 10:49:36.414 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.131Β΅s] [write-time=23.034209ms] [sort-speed(kv/s)=958160.3322] [writer-id=index/2/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [2025/04/04 10:49:36.414 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 10:49:36.419 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=4.671105ms] [write-speed(bytes/s)=33.87KiB] [2025/04/04 10:49:36.419 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.642Β΅s] [write-time=4.824496ms] [sort-speed(kv/s)=823723.2290] [writer-id=index/3/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [2025/04/04 10:49:36.419 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/8ced2eb6-4859-4643-bf4a-86749dd3d81d] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000003038000000000000315038000000000000003] [2025/04/04 10:49:36.419 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=0] [2025/04/04 10:49:36.426 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [takeTime=50.819899ms] [] [2025/04/04 10:49:36.427 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [takeTime=51.784666ms] [] [2025/04/04 10:49:36.449 +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/04 10:49:36.449 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [2025/04/04 10:49:36.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0da7f84e-49bc-41bf-9324-86a13153b90b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c9c8a317-2f5d-4a56-99f2-6ac6e46fd5f5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/778de95b-0ba1-4890-901e-a6e5c438a53c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/889462a1-6a98-4086-9b63-e7882fd401df] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9f9add1b-e54d-4b0a-9955-d35e66dfebb9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/98ddc209-3801-4a3b-89c9-f3fa465b247b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/00141abe-b994-42b6-a09f-a7910e248952] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:36.451 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:49:36.454 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [2025/04/04 10:49:36.494 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [readDur=988.388Β΅s] [encodeDur=300.221Β΅s] [checksum="{cksum=17440827801518230997,size=556,kvs=12}"] [deliverDur=39.086558ms] [type=file] [takeTime=40.629605ms] [] [2025/04/04 10:49:36.515 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/cdb934a2-064b-43a5-878a-9b8567d92205] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=20.480524ms] [write-speed(bytes/s)=8.535KiB] [2025/04/04 10:49:36.515 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/cdb934a2-064b-43a5-878a-9b8567d92205] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.521Β΅s] [write-time=20.653777ms] [sort-speed(kv/s)=852030.6731] [writer-id=data/cdb934a2-064b-43a5-878a-9b8567d92205] [2025/04/04 10:49:36.515 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cdb934a2-064b-43a5-878a-9b8567d92205] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000004] [maxKey=7480000000000000725f728000000000000006] [2025/04/04 10:49:36.535 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/cdb934a2-064b-43a5-878a-9b8567d92205] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=19.471603ms] [write-speed(bytes/s)=8.125KiB] [2025/04/04 10:49:36.535 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/cdb934a2-064b-43a5-878a-9b8567d92205] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.417Β΅s] [write-time=19.582186ms] [sort-speed(kv/s)=877963.1255] [writer-id=index/1/cdb934a2-064b-43a5-878a-9b8567d92205] [2025/04/04 10:49:36.535 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/cdb934a2-064b-43a5-878a-9b8567d92205] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000725f698000000000000001038000000000000006038000000000000006] [2025/04/04 10:49:36.539 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/cdb934a2-064b-43a5-878a-9b8567d92205] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.566697ms] [write-speed(bytes/s)=67.08KiB] [2025/04/04 10:49:36.539 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/cdb934a2-064b-43a5-878a-9b8567d92205] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.404Β΅s] [write-time=3.663143ms] [sort-speed(kv/s)=881316.0987] [writer-id=index/2/cdb934a2-064b-43a5-878a-9b8567d92205] [2025/04/04 10:49:36.539 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/cdb934a2-064b-43a5-878a-9b8567d92205] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 10:49:36.542 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/cdb934a2-064b-43a5-878a-9b8567d92205] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.219222ms] [write-speed(bytes/s)=49.14KiB] [2025/04/04 10:49:36.542 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/cdb934a2-064b-43a5-878a-9b8567d92205] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=4.012Β΅s] [write-time=3.319784ms] [sort-speed(kv/s)=747756.7298] [writer-id=index/3/cdb934a2-064b-43a5-878a-9b8567d92205] [2025/04/04 10:49:36.542 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/cdb934a2-064b-43a5-878a-9b8567d92205] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000003038000000000000143038000000000000006] [2025/04/04 10:49:36.542 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=1] [2025/04/04 10:49:36.545 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [takeTime=95.515862ms] [] [2025/04/04 10:49:36.545 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [takeTime=95.679556ms] [] [2025/04/04 10:49:36.654 +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/04 10:49:36.656 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:36.657 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:49:36.664 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.665 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.669 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=data] [2025/04/04 10:49:36.669 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=1] [2025/04/04 10:49:36.669 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=2] [2025/04/04 10:49:36.669 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=3] [2025/04/04 10:49:36.669 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.670 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.672 +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/04 10:49:36.672 +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/04 10:49:36.685 +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/04 10:49:36.685 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/04 10:49:36.686 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.686 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.686 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.686 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.687 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.686 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.686 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.686 +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/04 10:49:36.687 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.687 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.687 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.687 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.689 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:36.689 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.689 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.689 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.689 +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=321.4225ms] [] [2025/04/04 10:49:36.689 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:49:36.754 +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/04 10:49:36.756 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:36.758 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:49:36.775 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.775 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.783 +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/04 10:49:36.784 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:36.784 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:36.785 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.785 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:36.785 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.785 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.785 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.785 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.786 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.786 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.790 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.790 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.790 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.790 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.790 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.790 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.790 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.790 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.790 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.790 +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/04 10:49:36.790 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.790 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.791 +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/04 10:49:36.791 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:36.795 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [dataFiles=2] [2025/04/04 10:49:36.795 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:36.797 +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/04 10:49:36.798 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:36.798 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:36.799 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.799 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:36.799 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.799 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.799 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.799 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.800 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.800 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.804 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.804 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.804 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.804 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.804 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.804 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.804 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.804 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.804 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.804 +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/04 10:49:36.804 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.804 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.805 +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/04 10:49:36.805 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:36.808 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=2] [2025/04/04 10:49:36.808 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:36.811 +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/04 10:49:36.811 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:36.812 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:36.812 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.812 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:36.813 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.813 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.813 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.813 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.813 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.813 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.817 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.817 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.817 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.817 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.817 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.817 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.817 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.817 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.817 +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/04 10:49:36.817 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.817 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.817 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.818 +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/04 10:49:36.818 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:36.821 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [dataFiles=2] [2025/04/04 10:49:36.821 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:36.824 +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/04 10:49:36.824 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:36.825 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:36.825 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.826 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:36.826 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.826 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.826 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.826 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.826 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.827 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.830 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.830 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.830 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.830 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.830 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.830 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.830 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.830 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.830 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.830 +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/04 10:49:36.830 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.830 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.831 +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/04 10:49:36.831 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:36.835 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f728000000000000001] [endKey=7480000000000000725f72800000000000000600] [dataFiles=2] [2025/04/04 10:49:36.835 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:36.835 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.836 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.847 +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/04 10:49:36.848 +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/04 10:49:36.888 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:36.908 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.909 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.916 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:36.916 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:36.917 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.917 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:36.917 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.917 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.917 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.917 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.918 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.918 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.929 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:36.931 +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/04 10:49:36.931 +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/04 10:49:36.931 +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/04 10:49:36.939 +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/04 10:49:36.940 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=1] [2025/04/04 10:49:36.940 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.941 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:36.945 +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/04 10:49:36.945 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:36.967 +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/04 10:49:36.967 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:36.967 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:36.968 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/04 10:49:36.968 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.043Β΅s] [2025/04/04 10:49:36.968 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=983.712Β΅s] [] [2025/04/04 10:49:36.968 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:36.968 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:36.968 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [2025/04/04 10:49:36.968 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:36.972 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.373163ms] [] [2025/04/04 10:49:36.972 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:36.987 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:36.988 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=19.512598ms] [] [2025/04/04 10:49:36.988 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:49:36.988 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=19.678505ms] [droppedSize=0] [2025/04/04 10:49:36.988 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=17.624Β΅s] [2025/04/04 10:49:36.989 +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/04 10:49:37.000 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=7d2e7e3b-6425-5eaa-bb47-b89a67a6610f] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 10:49:37.002 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=1] [takeTime=61.786228ms] [] [2025/04/04 10:49:37.002 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [takeTime=63.451304ms] [] [2025/04/04 10:49:37.024 +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/04 10:49:37.026 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=4] [kv-group=2] [2025/04/04 10:49:37.026 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.027 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:37.031 +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/04 10:49:37.031 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:37.052 +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/04 10:49:37.053 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:37.053 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:37.053 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF725F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/04 10:49:37.053 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.821Β΅s] [2025/04/04 10:49:37.053 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=737.425Β΅s] [] [2025/04/04 10:49:37.054 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:37.054 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:37.054 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/04 10:49:37.054 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:37.057 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.557866ms] [] [2025/04/04 10:49:37.057 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:37.061 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.062 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.038273ms] [] [2025/04/04 10:49:37.062 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:49:37.062 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.194674ms] [droppedSize=0] [2025/04/04 10:49:37.062 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.705Β΅s] [2025/04/04 10:49:37.063 +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/04 10:49:37.073 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=35a62bba-3aab-5322-b59b-c5bc8baf9c9d] [size=107374182400] [kvs=0] [importedSize=394] [importedCount=6] [2025/04/04 10:49:37.073 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:37.075 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=4] [kv-group=2] [takeTime=48.724284ms] [] [2025/04/04 10:49:37.076 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=ingest] [takeTime=51.608053ms] [] [2025/04/04 10:49:37.098 +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/04 10:49:37.099 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=3] [2025/04/04 10:49:37.099 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.100 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:37.104 +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/04 10:49:37.104 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:37.125 +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/04 10:49:37.126 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:37.126 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:37.126 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/04 10:49:37.126 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.746Β΅s] [2025/04/04 10:49:37.126 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=719.463Β΅s] [] [2025/04/04 10:49:37.127 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:37.127 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:37.127 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [2025/04/04 10:49:37.127 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:37.131 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=4.031167ms] [] [2025/04/04 10:49:37.131 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:37.135 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.136 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=9.304833ms] [] [2025/04/04 10:49:37.136 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:49:37.136 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.472557ms] [droppedSize=0] [2025/04/04 10:49:37.136 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=12.892Β΅s] [2025/04/04 10:49:37.137 +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/04 10:49:37.148 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=8d2242cb-c9a7-5915-a93a-45927b24759d] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 10:49:37.150 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=3] [takeTime=50.500139ms] [] [2025/04/04 10:49:37.150 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=ingest] [takeTime=52.245936ms] [] [2025/04/04 10:49:37.173 +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/04 10:49:37.175 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=data] [2025/04/04 10:49:37.175 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.176 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:37.179 +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/04 10:49:37.179 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:37.201 +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/04 10:49:37.201 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:37.202 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:37.202 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F728000000000FF0000010000000000FA] [end=7480000000000000FF725F728000000000FF0000060000000000FC] [2025/04/04 10:49:37.202 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.953Β΅s] [2025/04/04 10:49:37.202 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=694.98Β΅s] [] [2025/04/04 10:49:37.202 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:37.202 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:37.203 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f728000000000000001] [end-key=7480000000000000725f72800000000000000600] [2025/04/04 10:49:37.203 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:37.206 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.49462ms] [] [2025/04/04 10:49:37.206 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:37.210 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.211 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.335598ms] [] [2025/04/04 10:49:37.211 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:49:37.211 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.542379ms] [droppedSize=0] [2025/04/04 10:49:37.211 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.341Β΅s] [2025/04/04 10:49:37.212 +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/04 10:49:37.222 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=68c3c0d0-46c6-5523-9dfa-6206622dc2ff] [size=107374182400] [kvs=0] [importedSize=262] [importedCount=6] [2025/04/04 10:49:37.224 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=data] [takeTime=48.95074ms] [] [2025/04/04 10:49:37.225 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=ingest] [takeTime=51.999754ms] [] [2025/04/04 10:49:37.254 +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/04 10:49:37.256 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:37.258 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [2025/04/04 10:49:37.279 +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/04 10:49:37.281 +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/04 10:49:37.281 +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/04 10:49:37.309 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [oldStep=ingest] [newStep=post-process] [2025/04/04 10:49:37.315 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=ingest] [2025/04/04 10:49:37.321 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:37.321 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:37.321 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:37.321 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:37.321 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:37.321 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:37.321 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:37.321 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:37.321 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:37.321 +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/04 10:49:37.321 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:37.321 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:37.323 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:37.323 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:37.323 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:37.323 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:37.323 +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=391.98161ms] [] [2025/04/04 10:49:37.325 +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/04 10:49:37.333 +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/04 10:49:37.333 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 10:49:37.333 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 10:49:37.333 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 10:49:37.333 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=2.163Β΅s] [] [2025/04/04 10:49:37.333 +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/04 10:49:37.333 +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/04 10:49:37.333 +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/04 10:49:37.333 +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/04 10:49:37.333 +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/04 10:49:37.333 +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/04 10:49:37.333 +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/04 10:49:37.335 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/04 10:49:37.335 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/04 10:49:37.335 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/04 10:49:37.338 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/04 10:49:37.338 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:37.338 +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/04 10:49:37.338 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=5.003389ms] [] [2025/04/04 10:49:37.338 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=5.16819ms] [] [2025/04/04 10:49:37.338 +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=5.30711ms] [] [2025/04/04 10:49:37.347 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:37.355 +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/04 10:49:37.355 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 10:49:37.358 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 10:49:37.384 +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=58.605272ms] [] [2025/04/04 10:49:37.384 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:49:37.449 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:37.455 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:37.455 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:37.457 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=1] [2025/04/04 10:49:37.458 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.459 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.511 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=1] [takeTime=53.910158ms] [] [2025/04/04 10:49:37.550 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:37.558 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.268448289\n# Parse_time: 0.000287194\n# Compile_time: 0.000548\n# Rewrite_time: 0.000100878\n# Optimize_time: 0.000080792\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjIuMjdzLCBvcGVuOjYyMG5zLCBjbG9zZTo2NjZucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjIuMjdzLCBvcGVuOjYyMG5zLCBjbG9zZTo2NjZucywgbG9vcHM6MnD///8JAzQBeP///////////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/04 10:49:37.588 +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-04 10:49:37.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:49:37.589 +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-04 10:49:37.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.594 +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-04 10:49:37.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.603 +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/04 10:49:37.623 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=2.316518ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:37.626 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 10:49:37.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=58] ["take time"=9.140727ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.639 +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/04 10:49:37.649 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/04 10:49:37.650 +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-04 10:49:37.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.672 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:49:37.672 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/04 10:49:37.678 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.678 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.693 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.726 +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/04 10:49:37.748 +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/04 10:49:37.763 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:37.763 +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/04 10:49:37.865 +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/04 10:49:37.867 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:37.869 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [2025/04/04 10:49:37.877 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.878 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.881 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:37.881 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:49:37.881 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=58.659Β΅s] [2025/04/04 10:49:37.881 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=153.34Β΅s] [] [2025/04/04 10:49:37.882 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.882 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.888 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 10:49:37.888 +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/04 10:49:37.931 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:37.952 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/04 10:49:37.952 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.953 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:37.961 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:37.961 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:37.962 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:37.962 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:37.962 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:37.962 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:37.962 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:37.962 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:37.963 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:37.963 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:37.976 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:37.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/04 10:49:37.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/04 10:49:37.978 +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/04 10:49:37.978 +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/04 10:49:37.979 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 10:49:37.985 +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/04 10:49:37.985 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [2025/04/04 10:49:37.987 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/35813c67-001f-4ce8-ba21-e0d1a4679acc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:37.987 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4dbcd6c1-ebd1-4b78-8c7c-2fdcc11d29b3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:37.987 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7c80ae14-ba39-4071-a34e-16f053b50a9e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:37.987 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cf796e42-d4cd-4ea3-ae8e-6a43873a666e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:37.987 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4ece1ba0-74ce-418c-9821-f4b611b7a62c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:37.987 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dc676537-dcce-45c3-baa6-b83acec96627] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:37.987 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7db1424f-dbac-4579-ac81-d9b6221086a9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:37.987 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:49:37.990 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [2025/04/04 10:49:37.992 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [readDur=1.033765ms] [encodeDur=326.696Β΅s] [checksum="{cksum=3408228459156692313,size=556,kvs=12}"] [deliverDur=507.749Β΅s] [type=file] [takeTime=2.255021ms] [] [2025/04/04 10:49:37.996 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/4a13d83a-4391-4047-841f-a96915b21c70] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=3.898503ms] [write-speed(bytes/s)=44.84KiB] [2025/04/04 10:49:37.996 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/4a13d83a-4391-4047-841f-a96915b21c70] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.813Β΅s] [write-time=4.000765ms] [sort-speed(kv/s)=786782.0614] [writer-id=data/4a13d83a-4391-4047-841f-a96915b21c70] [2025/04/04 10:49:37.996 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4a13d83a-4391-4047-841f-a96915b21c70] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000001] [maxKey=7480000000000000745f728000000000000003] [2025/04/04 10:49:38.001 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/4a13d83a-4391-4047-841f-a96915b21c70] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=4.252132ms] [write-speed(bytes/s)=37.21KiB] [2025/04/04 10:49:38.001 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/4a13d83a-4391-4047-841f-a96915b21c70] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.652Β΅s] [write-time=4.355506ms] [sort-speed(kv/s)=821467.6889] [writer-id=index/3/4a13d83a-4391-4047-841f-a96915b21c70] [2025/04/04 10:49:38.001 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/4a13d83a-4391-4047-841f-a96915b21c70] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000003038000000000000315038000000000000003] [2025/04/04 10:49:38.005 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/4a13d83a-4391-4047-841f-a96915b21c70] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.990724ms] [write-speed(bytes/s)=39.64KiB] [2025/04/04 10:49:38.005 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/4a13d83a-4391-4047-841f-a96915b21c70] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.754Β΅s] [write-time=4.114788ms] [sort-speed(kv/s)=799147.5759] [writer-id=index/1/4a13d83a-4391-4047-841f-a96915b21c70] [2025/04/04 10:49:38.005 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/4a13d83a-4391-4047-841f-a96915b21c70] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000745f698000000000000001038000000000000003038000000000000003] [2025/04/04 10:49:38.010 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/4a13d83a-4391-4047-841f-a96915b21c70] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=4.347861ms] [write-speed(bytes/s)=55.03KiB] [2025/04/04 10:49:38.010 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/4a13d83a-4391-4047-841f-a96915b21c70] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.428Β΅s] [write-time=4.483471ms] [sort-speed(kv/s)=875145.8576] [writer-id=index/2/4a13d83a-4391-4047-841f-a96915b21c70] [2025/04/04 10:49:38.010 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/4a13d83a-4391-4047-841f-a96915b21c70] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 10:49:38.010 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=0] [2025/04/04 10:49:38.013 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [takeTime=28.161321ms] [] [2025/04/04 10:49:38.013 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=encode] [takeTime=28.343146ms] [] [2025/04/04 10:49:38.038 +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/04 10:49:38.038 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [2025/04/04 10:49:38.040 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fd92f7d3-9c44-47e9-a214-57d8198d94d2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:38.040 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ef77c960-c7aa-417d-b44f-bb2ac80255b2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:38.040 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ab51751f-9cd3-499a-91bc-c680ae21da30] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:38.040 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b40e3477-16d6-420f-8426-6948b2e6c39d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:38.040 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/34d9e80b-2e4e-4906-a0af-17ccdf5adca8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:38.040 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:49:38.040 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/adabbc99-ce48-4db6-abfb-5bf0be3ba8f2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:38.040 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ff73b180-0162-43aa-bcce-96d808ac3879] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:38.043 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [2025/04/04 10:49:38.054 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [readDur=909.514Β΅s] [encodeDur=314.734Β΅s] [checksum="{cksum=10500087816336640068,size=556,kvs=12}"] [deliverDur=9.615513ms] [type=file] [takeTime=11.175201ms] [] [2025/04/04 10:49:38.061 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/4540832b-9d7c-499e-a106-674099b4a41a] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=6.907287ms] [write-speed(bytes/s)=25.31KiB] [2025/04/04 10:49:38.061 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/4540832b-9d7c-499e-a106-674099b4a41a] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.284Β΅s] [write-time=7.044159ms] [sort-speed(kv/s)=700280.1120] [writer-id=data/4540832b-9d7c-499e-a106-674099b4a41a] [2025/04/04 10:49:38.061 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4540832b-9d7c-499e-a106-674099b4a41a] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000004] [maxKey=7480000000000000745f728000000000000006] [2025/04/04 10:49:38.083 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/4540832b-9d7c-499e-a106-674099b4a41a] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=21.906096ms] [write-speed(bytes/s)=7.222KiB] [2025/04/04 10:49:38.083 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/4540832b-9d7c-499e-a106-674099b4a41a] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.354Β΅s] [write-time=22.027726ms] [sort-speed(kv/s)=894454.3828] [writer-id=index/1/4540832b-9d7c-499e-a106-674099b4a41a] [2025/04/04 10:49:38.083 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/4540832b-9d7c-499e-a106-674099b4a41a] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000745f698000000000000001038000000000000006038000000000000006] [2025/04/04 10:49:38.092 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/4540832b-9d7c-499e-a106-674099b4a41a] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=8.846868ms] [write-speed(bytes/s)=27.04KiB] [2025/04/04 10:49:38.092 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/4540832b-9d7c-499e-a106-674099b4a41a] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.47Β΅s] [write-time=8.986477ms] [sort-speed(kv/s)=864553.3141] [writer-id=index/2/4540832b-9d7c-499e-a106-674099b4a41a] [2025/04/04 10:49:38.093 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/4540832b-9d7c-499e-a106-674099b4a41a] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 10:49:38.116 +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/04 10:49:38.116 +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/04 10:49:38.117 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/4540832b-9d7c-499e-a106-674099b4a41a] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=24.437128ms] [write-speed(bytes/s)=6.474KiB] [2025/04/04 10:49:38.117 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/4540832b-9d7c-499e-a106-674099b4a41a] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.445Β΅s] [write-time=24.552345ms] [sort-speed(kv/s)=870827.2859] [writer-id=index/3/4540832b-9d7c-499e-a106-674099b4a41a] [2025/04/04 10:49:38.117 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/4540832b-9d7c-499e-a106-674099b4a41a] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000003038000000000000143038000000000000006] [2025/04/04 10:49:38.118 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=1] [2025/04/04 10:49:38.128 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [takeTime=90.372453ms] [] [2025/04/04 10:49:38.129 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [takeTime=91.753332ms] [] [2025/04/04 10:49:38.170 +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/04 10:49:38.173 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:38.175 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:49:38.181 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.182 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.186 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.187 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.216 +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/04 10:49:38.216 +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/04 10:49:38.253 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/04 10:49:38.254 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:38.254 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:38.254 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:38.255 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:38.255 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:38.254 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:38.255 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:38.255 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.255 +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/04 10:49:38.255 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.255 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.255 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:38.257 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:38.257 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.257 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.257 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.257 +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=279.114728ms] [] [2025/04/04 10:49:38.259 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.260 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.261 +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/04 10:49:38.261 +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/04 10:49:38.269 +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/04 10:49:38.270 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=data] [2025/04/04 10:49:38.270 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=data] [subtask-id=10] [file-count=2] [file-groups=1] [concurrency=8] [part-size=14470348] [2025/04/04 10:49:38.270 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=data] [subtask-id=10] [writer-id=02bcc4cc-6985-4845-91dc-114d50e81057] [file-count=2] [2025/04/04 10:49:38.273 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=data] [subtask-id=10] [data-file=2/10/02bcc4cc-6985-4845-91dc-114d50e81057/one-file] [stat-file=2/10/02bcc4cc-6985-4845-91dc-114d50e81057_stat/one-file] [2025/04/04 10:49:38.293 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=data] [subtask-id=10] [writerID=02bcc4cc-6985-4845-91dc-114d50e81057] [2025/04/04 10:49:38.293 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=data] [subtask-id=10] [writer-id=02bcc4cc-6985-4845-91dc-114d50e81057] [file-count=2] [takeTime=22.981962ms] [] [2025/04/04 10:49:38.293 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=data] [total-kv-size=262] [total-kv-count=6] [start-key=7480000000000000745F728000000000000001] [end-key=7480000000000000745F72800000000000000600] [2025/04/04 10:49:38.303 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=data] [takeTime=33.242423ms] [] [2025/04/04 10:49:38.303 +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=34.852748ms] [] [2025/04/04 10:49:38.325 +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/04 10:49:38.327 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=1] [2025/04/04 10:49:38.327 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=1] [subtask-id=11] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 10:49:38.327 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=1] [subtask-id=11] [writer-id=1903f50c-3039-4a11-a6a1-dc1ce5a1b544] [file-count=2] [2025/04/04 10:49:38.330 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=1] [subtask-id=11] [data-file=2/11/1903f50c-3039-4a11-a6a1-dc1ce5a1b544/one-file] [stat-file=2/11/1903f50c-3039-4a11-a6a1-dc1ce5a1b544_stat/one-file] [2025/04/04 10:49:38.358 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=1] [subtask-id=11] [writerID=1903f50c-3039-4a11-a6a1-dc1ce5a1b544] [2025/04/04 10:49:38.359 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=1] [subtask-id=11] [writer-id=1903f50c-3039-4a11-a6a1-dc1ce5a1b544] [file-count=2] [takeTime=31.438655ms] [] [2025/04/04 10:49:38.359 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=1] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [2025/04/04 10:49:38.370 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=1] [takeTime=42.705304ms] [] [2025/04/04 10:49:38.370 +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=44.551061ms] [] [2025/04/04 10:49:38.390 +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/04 10:49:38.392 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=2] [2025/04/04 10:49:38.392 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=2] [subtask-id=12] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 10:49:38.392 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=2] [subtask-id=12] [writer-id=26eef14b-72b0-4998-a6fa-aac303adb405] [file-count=2] [2025/04/04 10:49:38.395 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=2] [subtask-id=12] [data-file=2/12/26eef14b-72b0-4998-a6fa-aac303adb405/one-file] [stat-file=2/12/26eef14b-72b0-4998-a6fa-aac303adb405_stat/one-file] [2025/04/04 10:49:38.423 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=2] [subtask-id=12] [writerID=26eef14b-72b0-4998-a6fa-aac303adb405] [2025/04/04 10:49:38.423 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=2] [subtask-id=12] [writer-id=26eef14b-72b0-4998-a6fa-aac303adb405] [file-count=2] [takeTime=31.31966ms] [] [2025/04/04 10:49:38.423 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=2] [total-kv-size=394] [total-kv-count=6] [start-key=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [end-key=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [2025/04/04 10:49:38.433 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=2] [takeTime=41.420148ms] [] [2025/04/04 10:49:38.433 +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=43.001384ms] [] [2025/04/04 10:49:38.456 +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/04 10:49:38.457 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=3] [2025/04/04 10:49:38.457 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=3] [subtask-id=13] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 10:49:38.457 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=3] [subtask-id=13] [writer-id=d31ce2fa-dd53-4319-8809-17c0e737e7de] [file-count=2] [2025/04/04 10:49:38.461 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=3] [subtask-id=13] [data-file=2/13/d31ce2fa-dd53-4319-8809-17c0e737e7de/one-file] [stat-file=2/13/d31ce2fa-dd53-4319-8809-17c0e737e7de_stat/one-file] [2025/04/04 10:49:38.490 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=3] [subtask-id=13] [writerID=d31ce2fa-dd53-4319-8809-17c0e737e7de] [2025/04/04 10:49:38.490 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=3] [subtask-id=13] [writer-id=d31ce2fa-dd53-4319-8809-17c0e737e7de] [file-count=2] [takeTime=32.304633ms] [] [2025/04/04 10:49:38.490 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=3] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [end-key=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [2025/04/04 10:49:38.501 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=3] [takeTime=43.417001ms] [] [2025/04/04 10:49:38.501 +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=44.710125ms] [] [2025/04/04 10:49:38.570 +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/04 10:49:38.572 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:38.573 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:49:38.591 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.591 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.623 +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/04 10:49:38.624 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:38.625 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:38.625 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:38.625 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:38.625 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:38.625 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:38.625 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:38.625 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:38.626 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:38.626 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:38.630 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:38.630 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:38.630 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:38.630 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:38.630 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:38.630 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.630 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:38.630 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:38.630 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.630 +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/04 10:49:38.630 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.630 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:38.631 +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/04 10:49:38.631 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:38.635 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000600] [dataFiles=1] [2025/04/04 10:49:38.635 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:38.637 +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/04 10:49:38.638 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:38.639 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:38.639 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:38.639 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:38.639 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:38.639 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:38.639 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:38.640 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:38.640 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:38.640 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:38.643 +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/04 10:49:38.643 +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=381.364942ms] [] [2025/04/04 10:49:38.643 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:49:38.644 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:38.644 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:38.644 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:38.644 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:38.644 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:38.644 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:38.644 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:38.644 +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/04 10:49:38.644 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.644 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.644 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.644 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:38.645 +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/04 10:49:38.645 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:38.648 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [dataFiles=1] [2025/04/04 10:49:38.648 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:38.650 +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/04 10:49:38.651 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:38.652 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:38.652 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:38.652 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:38.652 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:38.652 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:38.652 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:38.653 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:38.653 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:38.653 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:38.657 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:38.657 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:38.657 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:38.657 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:38.657 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:38.657 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:38.657 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:38.657 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.657 +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/04 10:49:38.657 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.657 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.657 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:38.658 +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/04 10:49:38.658 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:38.661 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=1] [2025/04/04 10:49:38.661 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:38.663 +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/04 10:49:38.664 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:38.665 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:38.665 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:38.665 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:38.665 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:38.665 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:38.665 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:38.666 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:38.666 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:38.666 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:38.670 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:38.671 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:38.671 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:38.671 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:38.671 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:38.671 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:38.671 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:38.671 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.671 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.671 +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/04 10:49:38.671 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.671 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:38.672 +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/04 10:49:38.672 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:38.675 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [dataFiles=1] [2025/04/04 10:49:38.675 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:38.676 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.676 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.722 +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/04 10:49:38.722 +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/04 10:49:38.758 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:38.778 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.780 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.787 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:38.787 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:38.787 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:38.787 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:38.787 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:38.787 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:38.787 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:38.787 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:38.788 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:38.788 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:38.799 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:38.801 +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/04 10:49:38.801 +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/04 10:49:38.801 +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/04 10:49:38.808 +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/04 10:49:38.810 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=14] [kv-group=data] [2025/04/04 10:49:38.810 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.811 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:38.815 +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/04 10:49:38.815 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:38.836 +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/04 10:49:38.836 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:38.837 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:38.837 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F728000000000FF0000010000000000FA] [end=7480000000000000FF745F728000000000FF0000060000000000FC] [2025/04/04 10:49:38.837 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.894Β΅s] [2025/04/04 10:49:38.837 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=717.91Β΅s] [] [2025/04/04 10:49:38.837 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:38.837 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:38.837 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f728000000000000001] [end-key=7480000000000000745f72800000000000000600] [2025/04/04 10:49:38.838 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:38.841 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.52027ms] [] [2025/04/04 10:49:38.841 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:38.845 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.846 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.265938ms] [] [2025/04/04 10:49:38.846 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:49:38.846 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.430533ms] [droppedSize=0] [2025/04/04 10:49:38.846 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.318Β΅s] [2025/04/04 10:49:38.846 +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/04 10:49:38.856 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c92104fe-1480-5ebe-be2b-61946fa2dda3] [size=107374182400] [kvs=0] [importedSize=262] [importedCount=6] [2025/04/04 10:49:38.858 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=14] [kv-group=data] [takeTime=48.432273ms] [] [2025/04/04 10:49:38.858 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [takeTime=50.063733ms] [] [2025/04/04 10:49:38.880 +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/04 10:49:38.882 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=15] [kv-group=1] [2025/04/04 10:49:38.882 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.883 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:38.886 +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/04 10:49:38.886 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:38.908 +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/04 10:49:38.908 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:38.908 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:38.909 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/04 10:49:38.909 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=5.085Β΅s] [2025/04/04 10:49:38.909 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=682.848Β΅s] [] [2025/04/04 10:49:38.909 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:38.909 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:38.909 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [2025/04/04 10:49:38.909 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:38.913 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.328355ms] [] [2025/04/04 10:49:38.913 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:38.916 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.917 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.132038ms] [] [2025/04/04 10:49:38.917 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:49:38.917 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.282ms] [droppedSize=0] [2025/04/04 10:49:38.918 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=6.129Β΅s] [2025/04/04 10:49:38.918 +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/04 10:49:38.928 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=42e52923-6f90-566b-850e-758ca411cbe4] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 10:49:38.929 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=15] [kv-group=1] [takeTime=47.029666ms] [] [2025/04/04 10:49:38.929 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=ingest] [takeTime=48.783654ms] [] [2025/04/04 10:49:38.950 +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/04 10:49:38.952 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=2] [2025/04/04 10:49:38.952 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.953 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:38.957 +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/04 10:49:38.957 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:38.978 +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/04 10:49:38.979 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:38.979 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:38.979 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF745F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/04 10:49:38.979 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.43Β΅s] [2025/04/04 10:49:38.979 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=755.14Β΅s] [] [2025/04/04 10:49:38.979 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:38.980 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:38.980 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/04 10:49:38.980 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:38.983 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.462219ms] [] [2025/04/04 10:49:38.983 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:38.987 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:38.988 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.144831ms] [] [2025/04/04 10:49:38.988 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:49:38.988 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.287206ms] [droppedSize=0] [2025/04/04 10:49:38.988 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.33Β΅s] [2025/04/04 10:49:38.988 +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/04 10:49:38.998 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=797c5bd4-ca63-548e-8137-62562b529a90] [size=107374182400] [kvs=0] [importedSize=394] [importedCount=6] [2025/04/04 10:49:39.000 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=2] [takeTime=47.730645ms] [] [2025/04/04 10:49:39.000 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=ingest] [takeTime=49.497175ms] [] [2025/04/04 10:49:39.020 +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/04 10:49:39.022 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=3] [2025/04/04 10:49:39.022 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.023 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:39.027 +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/04 10:49:39.027 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:39.049 +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/04 10:49:39.049 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:39.049 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:39.049 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/04 10:49:39.050 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.932Β΅s] [2025/04/04 10:49:39.050 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=768.702Β΅s] [] [2025/04/04 10:49:39.050 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:39.050 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:39.050 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [2025/04/04 10:49:39.050 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:39.054 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.610412ms] [] [2025/04/04 10:49:39.054 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:39.057 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.058 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.045116ms] [] [2025/04/04 10:49:39.058 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 10:49:39.058 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.204165ms] [droppedSize=0] [2025/04/04 10:49:39.058 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.216Β΅s] [2025/04/04 10:49:39.059 +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/04 10:49:39.068 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 10:49:39.070 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=3] [takeTime=47.890754ms] [] [2025/04/04 10:49:39.070 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [takeTime=49.554251ms] [] [2025/04/04 10:49:39.170 +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/04 10:49:39.172 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:39.174 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [2025/04/04 10:49:39.193 +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/04 10:49:39.195 +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/04 10:49:39.195 +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/04 10:49:39.211 +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/04 10:49:39.211 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=ingest] [2025/04/04 10:49:39.218 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:39.218 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:39.218 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:39.218 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:39.218 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:39.218 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:39.218 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:39.218 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:39.218 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:39.218 +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/04 10:49:39.218 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:39.218 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:39.220 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:39.220 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:39.220 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:39.220 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:39.220 +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=419.349042ms] [] [2025/04/04 10:49:39.220 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:49:39.228 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:39.248 +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/04 10:49:39.255 +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/04 10:49:39.255 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 10:49:39.255 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 10:49:39.255 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 10:49:39.255 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=3.15Β΅s] [] [2025/04/04 10:49:39.255 +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/04 10:49:39.256 +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/04 10:49:39.256 +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/04 10:49:39.256 +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/04 10:49:39.256 +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/04 10:49:39.256 +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/04 10:49:39.256 +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/04 10:49:39.263 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/04 10:49:39.267 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/04 10:49:39.267 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/04 10:49:39.270 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/04 10:49:39.270 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:39.270 +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/04 10:49:39.270 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=15.100149ms] [] [2025/04/04 10:49:39.271 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=15.325664ms] [] [2025/04/04 10:49:39.271 +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=15.494064ms] [] [2025/04/04 10:49:39.277 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:39.369 +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/04 10:49:39.370 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 10:49:39.373 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 10:49:39.391 +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=142.959586ms] [] [2025/04/04 10:49:39.391 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:49:39.505 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:39.512 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:39.512 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:39.514 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=2] [2025/04/04 10:49:39.514 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.515 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.566 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.893103067\n# Parse_time: 0.000182727\n# Compile_time: 0.000541498\n# Rewrite_time: 0.000112269\n# Optimize_time: 0.000370095\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuODlzLCBvcGVuOjY5MW5zLCBjbG9zZTo2NTducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuODlzLCBvcGVuOjY5MW5zLCBjbG9zZTo2NTducywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000019467\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/04 10:49:39.607 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=2] [takeTime=92.891169ms] [] [2025/04/04 10:49:39.632 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:39.645 +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-04 10:49:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.645 +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-04 10:49:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:49:39.650 +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-04 10:49:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.659 +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/04 10:49:39.679 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=2.372774ms] [gotSchemaVersion=59] [phyTblIDs="[116,118]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:39.682 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 10:49:39.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=59] ["take time"=9.72912ms] [job="ID:119, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.696 +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/04 10:49:39.700 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="truncate table"] [2025/04/04 10:49:39.701 +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-04 10:49:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.721 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:49:39.721 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/04 10:49:39.727 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.728 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.745 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.782 +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/04 10:49:39.804 +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/04 10:49:39.819 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:39.819 +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/04 10:49:39.922 +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/04 10:49:39.924 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:39.926 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [2025/04/04 10:49:39.939 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.940 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.942 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:39.943 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:49:39.943 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=98.013Β΅s] [2025/04/04 10:49:39.943 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=269.23Β΅s] [] [2025/04/04 10:49:39.943 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.944 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:39.964 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 10:49:39.964 +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/04 10:49:40.010 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:40.032 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/04 10:49:40.032 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.033 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.037 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 10:49:40.041 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:40.041 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:40.042 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:40.042 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:40.042 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:40.042 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:40.042 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:40.042 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:40.043 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:40.043 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:40.056 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:40.058 +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/04 10:49:40.059 +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/04 10:49:40.059 +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/04 10:49:40.059 +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/04 10:49:40.067 +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/04 10:49:40.067 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [2025/04/04 10:49:40.070 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/57a2fb88-5c4e-4e19-9048-1ef9b325110b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.070 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/54dc0d4e-d55d-496c-8de7-18626ebd9c48] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.070 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/02b42f5f-4584-49fe-afc5-dc549e2985f1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.070 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/42d0ecef-13df-4bd8-b280-e2119333e4ca] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.070 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/04 10:49:40.070 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4869b949-b0cb-42f3-8a44-1e89b614258a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.070 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9f4d30d5-79db-42e2-b175-9c924672eb82] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.070 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1176362a-d8e5-4727-9deb-ce89e30d23aa] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.072 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [2025/04/04 10:49:40.093 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [readDur=899.394Β΅s] [encodeDur=337.989Β΅s] [checksum="{cksum=1019797567031239126,size=556,kvs=12}"] [deliverDur=19.589092ms] [type=file] [takeTime=21.191594ms] [] [2025/04/04 10:49:40.104 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=10.930231ms] [write-speed(bytes/s)=15.99KiB] [2025/04/04 10:49:40.105 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.596Β΅s] [write-time=11.123124ms] [sort-speed(kv/s)=652741.5144] [writer-id=data/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [2025/04/04 10:49:40.105 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000001] [maxKey=7480000000000000765f728000000000000003] [2025/04/04 10:49:40.116 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=11.087709ms] [write-speed(bytes/s)=14.27KiB] [2025/04/04 10:49:40.116 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.538Β΅s] [write-time=11.220757ms] [sort-speed(kv/s)=847936.6874] [writer-id=index/1/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [2025/04/04 10:49:40.116 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000765f698000000000000001038000000000000003038000000000000003] [2025/04/04 10:49:40.126 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=9.96101ms] [write-speed(bytes/s)=24.02KiB] [2025/04/04 10:49:40.126 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.376Β΅s] [write-time=10.092177ms] [sort-speed(kv/s)=888625.5924] [writer-id=index/2/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [2025/04/04 10:49:40.126 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 10:49:40.142 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=15.965269ms] [write-speed(bytes/s)=9.909KiB] [2025/04/04 10:49:40.143 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.486Β΅s] [write-time=16.137962ms] [sort-speed(kv/s)=860585.1979] [writer-id=index/3/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [2025/04/04 10:49:40.143 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/a18dcac2-7d96-45f2-82e0-c5ac0ba5c2c3] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000003038000000000000315038000000000000003] [2025/04/04 10:49:40.143 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=0] [2025/04/04 10:49:40.150 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [takeTime=82.874899ms] [] [2025/04/04 10:49:40.150 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [takeTime=83.057338ms] [] [2025/04/04 10:49:40.175 +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/04 10:49:40.176 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [2025/04/04 10:49:40.179 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1c7ef184-f64c-44db-a69f-5014fdb8dd7e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.179 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7f95f2a9-49d9-4572-b9d6-f85f07e33211] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.179 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/714e524f-e5a1-4366-ae2b-26ecb5658069] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.179 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/04 10:49:40.179 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0955c538-a234-48c3-8ffe-afd73415ea23] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.179 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/30d2bc1a-6453-4d47-ae29-a3e651ed0e02] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.179 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c0a5b75c-1ede-4ee1-8501-2f8deb1a9308] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.179 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e206c703-4e47-4e5a-a10e-c174326441ef] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:40.181 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [2025/04/04 10:49:40.205 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [readDur=1.060949ms] [encodeDur=314.077Β΅s] [checksum="{cksum=12744263349315450059,size=556,kvs=12}"] [deliverDur=21.929984ms] [type=file] [takeTime=23.681925ms] [] [2025/04/04 10:49:40.218 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=12.865749ms] [write-speed(bytes/s)=13.59KiB] [2025/04/04 10:49:40.218 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.538Β΅s] [write-time=12.980465ms] [sort-speed(kv/s)=661084.1781] [writer-id=data/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [2025/04/04 10:49:40.218 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000004] [maxKey=7480000000000000765f728000000000000006] [2025/04/04 10:49:40.228 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=9.136451ms] [write-speed(bytes/s)=17.32KiB] [2025/04/04 10:49:40.228 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.53Β΅s] [write-time=9.273681ms] [sort-speed(kv/s)=849858.3569] [writer-id=index/3/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [2025/04/04 10:49:40.228 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000003038000000000000143038000000000000006] [2025/04/04 10:49:40.238 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=10.147657ms] [write-speed(bytes/s)=15.59KiB] [2025/04/04 10:49:40.238 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.72Β΅s] [write-time=10.266246ms] [sort-speed(kv/s)=806451.6129] [writer-id=index/1/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [2025/04/04 10:49:40.238 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000765f698000000000000001038000000000000006038000000000000006] [2025/04/04 10:49:40.249 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=10.950279ms] [write-speed(bytes/s)=21.85KiB] [2025/04/04 10:49:40.250 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.902Β΅s] [write-time=11.081379ms] [sort-speed(kv/s)=768836.4941] [writer-id=index/2/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [2025/04/04 10:49:40.250 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/a1ae3ef8-45df-43ac-b12f-63b4cdab1649] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 10:49:40.250 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=1] [2025/04/04 10:49:40.257 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [takeTime=81.480839ms] [] [2025/04/04 10:49:40.258 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [takeTime=81.988721ms] [] [2025/04/04 10:49:40.327 +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/04 10:49:40.329 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:40.330 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:49:40.337 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.338 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.343 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=data] [2025/04/04 10:49:40.343 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=2] [2025/04/04 10:49:40.343 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=3] [2025/04/04 10:49:40.343 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=1] [2025/04/04 10:49:40.343 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.344 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.347 +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/04 10:49:40.347 +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/04 10:49:40.405 +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/04 10:49:40.405 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/04 10:49:40.406 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:40.406 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:40.406 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:40.406 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:40.406 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:40.406 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:40.406 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:40.406 +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/04 10:49:40.406 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:40.406 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:40.406 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:40.406 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:40.408 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:40.408 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:40.409 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:40.409 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:40.409 +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=349.789844ms] [] [2025/04/04 10:49:40.409 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:49:40.427 +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/04 10:49:40.429 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:40.431 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:49:40.431 +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/04 10:49:40.432 +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/04 10:49:40.527 +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/04 10:49:40.531 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 10:49:40.622 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:40.628 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:40.628 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:40.630 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=3] [2025/04/04 10:49:40.630 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.631 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.680 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=3] [takeTime=49.773241ms] [] [2025/04/04 10:49:40.704 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestGlobalSortBasic (5.58s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortMultiFiles [2025/04/04 10:49:40.795 +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/04 10:49:40.809 +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-04 10:49:40.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.809 +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-04 10:49:40.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/04 10:49:40.814 +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-04 10:49:40.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=724.651Β΅s] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:40.837 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/04 10:49:40.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=60] ["take time"=12.751263ms] [job="ID:121, Type:create schema, State:done, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.850 +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-04 10:49:40.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.861 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 10:49:40.862 +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/04 10:49:40.876 +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-04 10:49:40.844 +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/04 10:49:40.876 +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-04 10:49:40.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.882 +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-04 10:49:40.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.888 +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/04 10:49:40.905 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.18805ms] [gotSchemaVersion=61] [phyTblIDs="[122]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.909 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/04 10:49:40.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=61] ["take time"=9.456177ms] [job="ID:123, Type:create table, State:done, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.923 +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-04 10:49:40.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.937 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 10:49:40.938 +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/04 10:49:40.944 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.945 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.961 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.995 +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/04 10:49:41.015 +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/04 10:49:41.030 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:41.030 +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/04 10:49:41.132 +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/04 10:49:41.133 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:41.136 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [2025/04/04 10:49:41.144 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.145 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.148 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:41.148 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=147780] [2025/04/04 10:49:41.148 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=147780] [cost=156.92Β΅s] [2025/04/04 10:49:41.148 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=300.177Β΅s] [] [2025/04/04 10:49:41.148 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.149 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.159 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [subtask-count=1] [2025/04/04 10:49:41.159 +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/04 10:49:41.200 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:41.221 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/04 10:49:41.221 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.222 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.230 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:41.230 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:41.230 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:41.231 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:41.231 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:41.231 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:41.231 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:41.231 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:41.231 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:41.232 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:41.244 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 10:49:41.245 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:41.247 +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/04 10:49:41.247 +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/04 10:49:41.247 +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/04 10:49:41.247 +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/04 10:49:41.255 +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/04 10:49:41.255 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [2025/04/04 10:49:41.257 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.257 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.257 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.257 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.257 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.257 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.257 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.257 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.260 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [2025/04/04 10:49:41.260 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [2025/04/04 10:49:41.260 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [2025/04/04 10:49:41.260 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [2025/04/04 10:49:41.260 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [2025/04/04 10:49:41.261 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [2025/04/04 10:49:41.261 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [2025/04/04 10:49:41.261 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [2025/04/04 10:49:41.400 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [readDur=10.317892ms] [encodeDur=116.443414ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=32.474781ms] [type=file] [takeTime=140.019216ms] [] [2025/04/04 10:49:41.400 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.402 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [readDur=8.27629ms] [encodeDur=115.324989ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=41.277178ms] [type=file] [takeTime=141.123228ms] [] [2025/04/04 10:49:41.402 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:41.403 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [2025/04/04 10:49:41.404 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [2025/04/04 10:49:41.408 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [readDur=10.884959ms] [encodeDur=118.751121ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=30.100343ms] [type=file] [takeTime=148.205691ms] [] [2025/04/04 10:49:41.414 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [readDur=9.204009ms] [encodeDur=117.796701ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=35.696324ms] [type=file] [takeTime=152.561031ms] [] [2025/04/04 10:49:41.414 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [readDur=8.971669ms] [encodeDur=120.110659ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=45.538553ms] [type=file] [takeTime=154.052751ms] [] [2025/04/04 10:49:41.415 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [readDur=8.886319ms] [encodeDur=125.809914ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=91.6665ms] [type=file] [takeTime=153.975844ms] [] [2025/04/04 10:49:41.417 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [readDur=12.126514ms] [encodeDur=81.793361ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=44.909723ms] [type=file] [takeTime=155.611594ms] [] [2025/04/04 10:49:41.427 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [readDur=8.719753ms] [encodeDur=117.955011ms] [checksum="{cksum=10408207814181128213,size=255604,kvs=4000}"] [deliverDur=123.709473ms] [type=file] [takeTime=166.557843ms] [] [2025/04/04 10:49:41.433 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=24.106901ms] [write-speed(bytes/s)=2.097MiB] [2025/04/04 10:49:41.433 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=368.374Β΅s] [write-time=24.224043ms] [sort-speed(kv/s)=2714632.4116] [writer-id=data/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [2025/04/04 10:49:41.433 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001b58] [maxKey=74800000000000007a5f728000000000001f3f] [2025/04/04 10:49:41.445 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=31.110302ms] [write-speed(bytes/s)=1.625MiB] [2025/04/04 10:49:41.445 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=419.096Β΅s] [write-time=31.256918ms] [sort-speed(kv/s)=2386088.1516] [writer-id=data/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [2025/04/04 10:49:41.446 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001388] [maxKey=74800000000000007a5f72800000000000176f] [2025/04/04 10:49:41.446 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/18e4a1b3-e8ca-42a5-b996-de020e57e399] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=31.585949ms] [write-speed(bytes/s)=1.6MiB] [2025/04/04 10:49:41.447 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/18e4a1b3-e8ca-42a5-b996-de020e57e399] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=448.608Β΅s] [write-time=31.729544ms] [sort-speed(kv/s)=2229117.6261] [writer-id=data/18e4a1b3-e8ca-42a5-b996-de020e57e399] [2025/04/04 10:49:41.447 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/18e4a1b3-e8ca-42a5-b996-de020e57e399] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000fa0] [maxKey=74800000000000007a5f728000000000001387] [2025/04/04 10:49:41.447 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/9dcc3603-48b1-4354-8b6a-d2768e280d94] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=31.099519ms] [write-speed(bytes/s)=1.625MiB] [2025/04/04 10:49:41.447 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/9dcc3603-48b1-4354-8b6a-d2768e280d94] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=530.377Β΅s] [write-time=31.218239ms] [sort-speed(kv/s)=1885451.2922] [writer-id=data/9dcc3603-48b1-4354-8b6a-d2768e280d94] [2025/04/04 10:49:41.447 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9dcc3603-48b1-4354-8b6a-d2768e280d94] [kv-cnt-cap=1365] [minKey=74800000000000007a5f7280000000000007d0] [maxKey=74800000000000007a5f728000000000000bb7] [2025/04/04 10:49:41.451 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=23.980238ms] [write-speed(bytes/s)=2.064MiB] [2025/04/04 10:49:41.451 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=321.865Β΅s] [write-time=24.086881ms] [sort-speed(kv/s)=3106892.6413] [writer-id=data/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [2025/04/04 10:49:41.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000000] [maxKey=74800000000000007a5f7280000000000003e7] [2025/04/04 10:49:41.456 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=38.770942ms] [write-speed(bytes/s)=1.304MiB] [2025/04/04 10:49:41.456 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=338.517Β΅s] [write-time=38.906285ms] [sort-speed(kv/s)=2954061.3913] [writer-id=data/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [2025/04/04 10:49:41.456 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [kv-cnt-cap=1365] [minKey=74800000000000007a5f7280000000000003e8] [maxKey=74800000000000007a5f7280000000000007cf] [2025/04/04 10:49:41.496 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=62.599546ms] [write-speed(bytes/s)=1.249MiB] [2025/04/04 10:49:41.496 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=308.297Β΅s] [write-time=62.73622ms] [sort-speed(kv/s)=3243625.4651] [writer-id=index/1/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [2025/04/04 10:49:41.496 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f69800000000000000101746573742d373939ff3900000000000000f8038000000000001f3f] [2025/04/04 10:49:41.497 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=50.766418ms] [write-speed(bytes/s)=1.803MiB] [2025/04/04 10:49:41.497 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=358.8Β΅s] [write-time=50.893786ms] [sort-speed(kv/s)=2787068.0045] [writer-id=index/2/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [2025/04/04 10:49:41.497 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000138801746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000203800000000000176f01746573742d353939ff3900000000000000f803800000000000176f] [2025/04/04 10:49:41.498 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/9dcc3603-48b1-4354-8b6a-d2768e280d94] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=50.308663ms] [write-speed(bytes/s)=1.82MiB] [2025/04/04 10:49:41.498 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/9dcc3603-48b1-4354-8b6a-d2768e280d94] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=331.332Β΅s] [write-time=50.439247ms] [sort-speed(kv/s)=3018120.7973] [writer-id=index/2/9dcc3603-48b1-4354-8b6a-d2768e280d94] [2025/04/04 10:49:41.498 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/9dcc3603-48b1-4354-8b6a-d2768e280d94] [kv-cnt-cap=1365] [minKey=74800000000000007a5f6980000000000000020380000000000007d001746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f698000000000000002038000000000000bb701746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/04 10:49:41.502 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/18e4a1b3-e8ca-42a5-b996-de020e57e399] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=54.518029ms] [write-speed(bytes/s)=1.434MiB] [2025/04/04 10:49:41.502 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/18e4a1b3-e8ca-42a5-b996-de020e57e399] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=577.057Β΅s] [write-time=54.64021ms] [sort-speed(kv/s)=1732931.0623] [writer-id=index/1/18e4a1b3-e8ca-42a5-b996-de020e57e399] [2025/04/04 10:49:41.502 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/18e4a1b3-e8ca-42a5-b996-de020e57e399] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000101746573742d343939ff3900000000000000f8038000000000001387] [2025/04/04 10:49:41.502 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [sequence-number=0] [bytes=79990] [stat-size=121] [write-time=46.638947ms] [write-speed(bytes/s)=1.636MiB] [2025/04/04 10:49:41.502 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [sequence-number=0] [bytes=79990] [kv-cnt=1000] [sort-time=4.099491ms] [write-time=46.754817ms] [sort-speed(kv/s)=243932.7224] [writer-id=index/1/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [2025/04/04 10:49:41.502 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/04 10:49:41.503 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=46.564987ms] [write-speed(bytes/s)=1.966MiB] [2025/04/04 10:49:41.503 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=386.576Β΅s] [write-time=46.682616ms] [sort-speed(kv/s)=2586813.4597] [writer-id=index/2/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [2025/04/04 10:49:41.503 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [kv-cnt-cap=1365] [minKey=74800000000000007a5f6980000000000000020380000000000003e801746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f6980000000000000020380000000000007cf01746573742d313939ff3900000000000000f80380000000000007cf] [2025/04/04 10:49:41.511 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [readDur=8.182227ms] [encodeDur=89.892921ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=10.413798ms] [type=file] [takeTime=107.524248ms] [] [2025/04/04 10:49:41.514 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=16.934743ms] [write-speed(bytes/s)=5.406MiB] [2025/04/04 10:49:41.514 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=434.986Β΅s] [write-time=17.054766ms] [sort-speed(kv/s)=2298924.5631] [writer-id=index/2/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [2025/04/04 10:49:41.514 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000001b5801746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f698000000000000002038000000000001f3f01746573742d373939ff3900000000000000f8038000000000001f3f] [2025/04/04 10:49:41.514 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=16.43279ms] [write-speed(bytes/s)=5.571MiB] [2025/04/04 10:49:41.514 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=428.055Β΅s] [write-time=16.562519ms] [sort-speed(kv/s)=2336148.3921] [writer-id=index/3/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [2025/04/04 10:49:41.514 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d353030ff3000000000000000f8038000000000001388038000000000001388] [maxKey=74800000000000007a5f69800000000000000301746573742d353939ff3900000000000000f803800000000000176f03800000000000176f] [2025/04/04 10:49:41.522 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [readDur=9.521492ms] [encodeDur=99.025048ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=4.859943ms] [type=file] [takeTime=118.635384ms] [] [2025/04/04 10:49:41.524 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/9dcc3603-48b1-4354-8b6a-d2768e280d94] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=25.393417ms] [write-speed(bytes/s)=3.605MiB] [2025/04/04 10:49:41.524 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/9dcc3603-48b1-4354-8b6a-d2768e280d94] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=394.146Β΅s] [write-time=25.519646ms] [sort-speed(kv/s)=2537130.9109] [writer-id=index/3/9dcc3603-48b1-4354-8b6a-d2768e280d94] [2025/04/04 10:49:41.524 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/9dcc3603-48b1-4354-8b6a-d2768e280d94] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d323030ff3000000000000000f80380000000000007d00380000000000007d0] [maxKey=74800000000000007a5f69800000000000000301746573742d323939ff3900000000000000f8038000000000000bb7038000000000000bb7] [2025/04/04 10:49:41.525 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/18e4a1b3-e8ca-42a5-b996-de020e57e399] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=22.202753ms] [write-speed(bytes/s)=4.123MiB] [2025/04/04 10:49:41.525 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/18e4a1b3-e8ca-42a5-b996-de020e57e399] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=358.677Β΅s] [write-time=22.371395ms] [sort-speed(kv/s)=2788023.7651] [writer-id=index/2/18e4a1b3-e8ca-42a5-b996-de020e57e399] [2025/04/04 10:49:41.525 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/18e4a1b3-e8ca-42a5-b996-de020e57e399] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000000fa001746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000203800000000000138701746573742d343939ff3900000000000000f8038000000000001387] [2025/04/04 10:49:41.525 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=21.382479ms] [write-speed(bytes/s)=4.282MiB] [2025/04/04 10:49:41.525 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=375.363Β΅s] [write-time=21.505719ms] [sort-speed(kv/s)=2664087.8296] [writer-id=index/3/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [2025/04/04 10:49:41.525 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d313030ff3000000000000000f80380000000000003e80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000301746573742d313939ff3900000000000000f80380000000000007cf0380000000000007cf] [2025/04/04 10:49:41.526 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=23.009617ms] [write-speed(bytes/s)=3.89MiB] [2025/04/04 10:49:41.526 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=355.43Β΅s] [write-time=23.126969ms] [sort-speed(kv/s)=2813493.5149] [writer-id=index/2/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [2025/04/04 10:49:41.526 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f6980000000000000020380000000000003e701746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/04 10:49:41.532 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=17.332485ms] [write-speed(bytes/s)=4.512MiB] [2025/04/04 10:49:41.532 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=340.893Β΅s] [write-time=17.467743ms] [sort-speed(kv/s)=2933471.7932] [writer-id=index/1/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [2025/04/04 10:49:41.532 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/9a8dd717-6d7c-4e97-b3a9-4323e4d920fd] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000101746573742d353939ff3900000000000000f803800000000000176f] [2025/04/04 10:49:41.534 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=19.311821ms] [write-speed(bytes/s)=4.741MiB] [2025/04/04 10:49:41.534 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=337.471Β΅s] [write-time=19.490493ms] [sort-speed(kv/s)=2963217.5802] [writer-id=index/3/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [2025/04/04 10:49:41.534 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/cd7ee90b-7548-4d5e-90df-d8e4ec054f42] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d373030ff3000000000000000f8038000000000001b58038000000000001b58] [maxKey=74800000000000007a5f69800000000000000301746573742d373939ff3900000000000000f8038000000000001f3f038000000000001f3f] [2025/04/04 10:49:41.546 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=34.491005ms] [write-speed(bytes/s)=2.931MiB] [2025/04/04 10:49:41.546 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=756.439Β΅s] [write-time=34.620702ms] [sort-speed(kv/s)=2643967.3259] [writer-id=data/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [2025/04/04 10:49:41.546 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [kv-cnt-cap=2048] [minKey=74800000000000007a5f728000000000000bb8] [maxKey=74800000000000007a5f728000000000002327] [2025/04/04 10:49:41.549 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/18e4a1b3-e8ca-42a5-b996-de020e57e399] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=23.234367ms] [write-speed(bytes/s)=3.94MiB] [2025/04/04 10:49:41.549 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/18e4a1b3-e8ca-42a5-b996-de020e57e399] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=532.203Β΅s] [write-time=23.363407ms] [sort-speed(kv/s)=1878982.2680] [writer-id=index/3/18e4a1b3-e8ca-42a5-b996-de020e57e399] [2025/04/04 10:49:41.549 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/18e4a1b3-e8ca-42a5-b996-de020e57e399] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d343030ff3000000000000000f8038000000000000fa0038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000301746573742d343939ff3900000000000000f8038000000000001387038000000000001387] [2025/04/04 10:49:41.550 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/9dcc3603-48b1-4354-8b6a-d2768e280d94] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=25.421255ms] [write-speed(bytes/s)=3.076MiB] [2025/04/04 10:49:41.550 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/9dcc3603-48b1-4354-8b6a-d2768e280d94] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=316.039Β΅s] [write-time=25.526766ms] [sort-speed(kv/s)=3164166.4478] [writer-id=index/1/9dcc3603-48b1-4354-8b6a-d2768e280d94] [2025/04/04 10:49:41.550 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/9dcc3603-48b1-4354-8b6a-d2768e280d94] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f69800000000000000101746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/04 10:49:41.551 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=25.191543ms] [write-speed(bytes/s)=3.104MiB] [2025/04/04 10:49:41.551 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=317.419Β΅s] [write-time=25.300907ms] [sort-speed(kv/s)=3150410.0259] [writer-id=index/1/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [2025/04/04 10:49:41.551 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8f774d1e-d0d6-4f1f-b883-dd5abedd5bde] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000101746573742d313939ff3900000000000000f80380000000000007cf] [2025/04/04 10:49:41.553 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/b379823c-3b49-4a90-a230-c534f195cd4e] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=29.129508ms] [write-speed(bytes/s)=3.47MiB] [2025/04/04 10:49:41.553 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/b379823c-3b49-4a90-a230-c534f195cd4e] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=678.647Β΅s] [write-time=29.253853ms] [sort-speed(kv/s)=2947040.2138] [writer-id=data/b379823c-3b49-4a90-a230-c534f195cd4e] [2025/04/04 10:49:41.553 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b379823c-3b49-4a90-a230-c534f195cd4e] [kv-cnt-cap=2048] [minKey=74800000000000007a5f728000000000001770] [maxKey=74800000000000007a5f72800000000000270f] [2025/04/04 10:49:41.553 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=22.412246ms] [write-speed(bytes/s)=3.994MiB] [2025/04/04 10:49:41.553 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=4.465765ms] [write-time=22.530238ms] [sort-speed(kv/s)=223925.7999] [writer-id=index/3/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [2025/04/04 10:49:41.553 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/152f5b5b-005c-4aaf-bebd-f600eaaf2bcc] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff0000000000000000f70380000000000003e70380000000000003e7] [2025/04/04 10:49:41.569 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=22.276892ms] [write-speed(bytes/s)=8.22MiB] [2025/04/04 10:49:41.570 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=782.527Β΅s] [write-time=22.397461ms] [sort-speed(kv/s)=2555822.3550] [writer-id=index/2/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [2025/04/04 10:49:41.570 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [kv-cnt-cap=2048] [minKey=74800000000000007a5f698000000000000002038000000000000bb801746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000203800000000000232701746573742d383939ff3900000000000000f8038000000000002327] [2025/04/04 10:49:41.577 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/b379823c-3b49-4a90-a230-c534f195cd4e] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=23.459898ms] [write-speed(bytes/s)=6.667MiB] [2025/04/04 10:49:41.577 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/b379823c-3b49-4a90-a230-c534f195cd4e] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=619.163Β΅s] [write-time=23.574914ms] [sort-speed(kv/s)=3230167.1773] [writer-id=index/1/b379823c-3b49-4a90-a230-c534f195cd4e] [2025/04/04 10:49:41.577 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/b379823c-3b49-4a90-a230-c534f195cd4e] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f] [2025/04/04 10:49:41.594 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=23.626476ms] [write-speed(bytes/s)=7.75MiB] [2025/04/04 10:49:41.594 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=766.333Β΅s] [write-time=23.739673ms] [sort-speed(kv/s)=2609831.4962] [writer-id=index/3/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [2025/04/04 10:49:41.594 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d333030ff3000000000000000f8038000000000000bb8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000301746573742d383939ff3900000000000000f8038000000000002327038000000000002327] [2025/04/04 10:49:41.603 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/b379823c-3b49-4a90-a230-c534f195cd4e] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=25.33999ms] [write-speed(bytes/s)=7.226MiB] [2025/04/04 10:49:41.603 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/b379823c-3b49-4a90-a230-c534f195cd4e] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=747.413Β΅s] [write-time=25.445902ms] [sort-speed(kv/s)=2675896.7264] [writer-id=index/2/b379823c-3b49-4a90-a230-c534f195cd4e] [2025/04/04 10:49:41.603 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/b379823c-3b49-4a90-a230-c534f195cd4e] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000203800000000000177001746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f] [2025/04/04 10:49:41.621 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=25.652323ms] [write-speed(bytes/s)=6.097MiB] [2025/04/04 10:49:41.621 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=633.556Β΅s] [write-time=25.757672ms] [sort-speed(kv/s)=3156784.8777] [writer-id=index/1/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [2025/04/04 10:49:41.621 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/ba8a3cf7-c146-4b21-a307-26415fbbe94a] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000101746573742d383939ff3900000000000000f8038000000000002327] [2025/04/04 10:49:41.630 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/b379823c-3b49-4a90-a230-c534f195cd4e] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=26.059279ms] [write-speed(bytes/s)=7.026MiB] [2025/04/04 10:49:41.631 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/b379823c-3b49-4a90-a230-c534f195cd4e] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=711.023Β΅s] [write-time=26.239876ms] [sort-speed(kv/s)=2812848.5295] [writer-id=index/3/b379823c-3b49-4a90-a230-c534f195cd4e] [2025/04/04 10:49:41.631 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/b379823c-3b49-4a90-a230-c534f195cd4e] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d363030ff3000000000000000f8038000000000001770038000000000001770] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f] [2025/04/04 10:49:41.631 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=encode] [engine-id=0] [2025/04/04 10:49:41.636 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [takeTime=380.683745ms] [] [2025/04/04 10:49:41.636 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [takeTime=381.521948ms] [] [2025/04/04 10:49:41.738 +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/04 10:49:41.739 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:41.741 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:49:41.747 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.748 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.752 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=data] [2025/04/04 10:49:41.752 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=2] [2025/04/04 10:49:41.752 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=3] [2025/04/04 10:49:41.752 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=1] [2025/04/04 10:49:41.753 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.753 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.757 +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/04 10:49:41.757 +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/04 10:49:41.780 +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/04 10:49:41.780 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/04 10:49:41.781 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:41.781 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:41.781 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:41.781 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:41.781 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:41.781 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:41.781 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:41.781 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.781 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.781 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.781 +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/04 10:49:41.781 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:41.783 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:41.783 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.783 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.784 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.784 +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=536.671929ms] [] [2025/04/04 10:49:41.784 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:49:41.836 +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/04 10:49:41.838 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:41.839 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:49:41.856 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.857 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.864 +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/04 10:49:41.865 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:41.865 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:41.866 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:41.866 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:41.866 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:41.866 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:41.866 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:41.866 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:41.867 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:41.867 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:41.870 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:41.870 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:41.870 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:41.870 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:41.870 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:41.870 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:41.871 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:41.871 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.871 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.870 +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/04 10:49:41.871 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.871 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:41.872 +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/04 10:49:41.872 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:41.877 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/04 10:49:41.878 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:41.880 +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/04 10:49:41.881 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:41.881 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:41.882 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:41.882 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:41.882 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:41.882 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:41.882 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:41.882 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:41.883 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:41.883 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:41.886 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:41.886 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:41.886 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:41.886 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:41.886 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:41.887 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:41.887 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:41.887 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.887 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.887 +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/04 10:49:41.887 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.887 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:41.888 +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/04 10:49:41.888 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:41.893 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [dataFiles=8] [2025/04/04 10:49:41.893 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:41.896 +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/04 10:49:41.896 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:41.897 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:41.898 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:41.898 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:41.898 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:41.898 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:41.898 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:41.898 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:41.898 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:41.898 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:41.902 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:41.902 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:41.902 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:41.902 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:41.902 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:41.902 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:41.902 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:41.902 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.902 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.902 +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/04 10:49:41.902 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.902 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:41.903 +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/04 10:49:41.903 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:41.909 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f728000000000000000] [endKey=74800000000000007a5f72800000000000270f00] [dataFiles=8] [2025/04/04 10:49:41.909 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:41.911 +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/04 10:49:41.912 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:41.913 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:41.913 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:41.913 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:41.913 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:41.913 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:41.913 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:41.914 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:41.914 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:41.914 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:41.918 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:41.918 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:41.918 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:41.918 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:41.918 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:41.918 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:41.918 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:41.918 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.918 +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/04 10:49:41.918 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.918 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.918 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:41.919 +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/04 10:49:41.919 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:41.925 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/04 10:49:41.925 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:41.925 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.926 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.944 +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/04 10:49:41.944 +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/04 10:49:41.979 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:42.000 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.001 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.009 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:42.009 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:42.009 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:42.009 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:42.010 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:42.010 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:42.010 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:42.010 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:42.010 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:42.010 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:42.022 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:42.024 +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/04 10:49:42.024 +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/04 10:49:42.024 +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/04 10:49:42.031 +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/04 10:49:42.033 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=2] [2025/04/04 10:49:42.033 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.034 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:42.038 +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/04 10:49:42.038 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:42.060 +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/04 10:49:42.060 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:42.060 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:42.061 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000020380000000FF0000000001746573FF742D300000FD0380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000020380000000FF0000270F01746573FF742D393939FF3900FF000000000000F803FF800000000000270FFF0000000000000000F9] [2025/04/04 10:49:42.061 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.44Β΅s] [2025/04/04 10:49:42.061 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=695.701Β΅s] [] [2025/04/04 10:49:42.061 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:42.061 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:42.061 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/04 10:49:42.061 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:42.068 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.271002ms] [] [2025/04/04 10:49:42.068 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:42.080 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.081 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=19.942976ms] [] [2025/04/04 10:49:42.081 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 10:49:42.083 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=21.927859ms] [droppedSize=0] [2025/04/04 10:49:42.093 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=10.306023ms] [2025/04/04 10:49:42.094 +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/04 10:49:42.117 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] [size=107374182400] [kvs=0] [importedSize=797862] [importedCount=10000] [2025/04/04 10:49:42.119 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=2] [takeTime=85.584135ms] [] [2025/04/04 10:49:42.119 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [takeTime=87.651433ms] [] [2025/04/04 10:49:42.142 +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/04 10:49:42.144 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=3] [2025/04/04 10:49:42.162 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.163 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:42.166 +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/04 10:49:42.166 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:42.188 +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/04 10:49:42.188 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:42.188 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:42.189 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000030174657374FF2D300000FD038000FF0000000000000380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000030174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F03FF800000000000270FFF0000000000000000F9] [2025/04/04 10:49:42.189 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.798Β΅s] [2025/04/04 10:49:42.189 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=735.934Β΅s] [] [2025/04/04 10:49:42.189 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:42.189 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:42.189 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [end-key=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [2025/04/04 10:49:42.189 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:42.195 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.350223ms] [] [2025/04/04 10:49:42.195 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:42.210 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.210 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=21.502307ms] [] [2025/04/04 10:49:42.211 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 10:49:42.212 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=23.146212ms] [droppedSize=0] [2025/04/04 10:49:42.226 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=13.564783ms] [2025/04/04 10:49:42.226 +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/04 10:49:42.250 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] [size=107374182400] [kvs=0] [importedSize=797862] [importedCount=10000] [2025/04/04 10:49:42.252 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=3] [takeTime=107.983145ms] [] [2025/04/04 10:49:42.253 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [takeTime=111.391065ms] [] [2025/04/04 10:49:42.276 +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/04 10:49:42.279 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=data] [2025/04/04 10:49:42.279 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.280 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:42.283 +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/04 10:49:42.283 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:42.305 +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/04 10:49:42.305 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:42.306 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:42.306 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F728000000000FF0000000000000000FA] [end=7480000000000000FF7A5F728000000000FF00270F0000000000FC] [2025/04/04 10:49:42.306 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.244Β΅s] [2025/04/04 10:49:42.306 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=771.532Β΅s] [] [2025/04/04 10:49:42.306 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:42.306 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:42.307 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f728000000000000000] [end-key=74800000000000007a5f72800000000000270f00] [2025/04/04 10:49:42.307 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:42.313 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.252442ms] [] [2025/04/04 10:49:42.313 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:42.324 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.325 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=18.222504ms] [] [2025/04/04 10:49:42.325 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 10:49:42.327 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=20.083854ms] [droppedSize=0] [2025/04/04 10:49:42.336 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.232208ms] [2025/04/04 10:49:42.337 +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/04 10:49:42.357 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=54d02857-7fde-5e9a-9a20-8cf556c9d0e8] [size=107374182400] [kvs=0] [importedSize=368890] [importedCount=10000] [2025/04/04 10:49:42.359 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=data] [takeTime=80.692023ms] [] [2025/04/04 10:49:42.359 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [takeTime=82.994733ms] [] [2025/04/04 10:49:42.382 +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/04 10:49:42.384 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=1] [2025/04/04 10:49:42.384 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.385 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:42.389 +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/04 10:49:42.389 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:42.411 +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/04 10:49:42.411 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:42.411 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:42.412 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000010174657374FF2D300000FD038000FF0000000000000000FD] [end=7480000000000000FF7A5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F00FF0000000000000000F8] [2025/04/04 10:49:42.412 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=5.381Β΅s] [2025/04/04 10:49:42.412 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=855.948Β΅s] [] [2025/04/04 10:49:42.412 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:42.412 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:42.412 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/04 10:49:42.412 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:42.418 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.300874ms] [] [2025/04/04 10:49:42.418 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:42.429 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.431 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=18.435356ms] [] [2025/04/04 10:49:42.431 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 10:49:42.433 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=20.627712ms] [droppedSize=0] [2025/04/04 10:49:42.447 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=13.641245ms] [2025/04/04 10:49:42.447 +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/04 10:49:42.471 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=87740094-6033-5a46-85c3-533d680c8701] [size=107374182400] [kvs=0] [importedSize=657990] [importedCount=10000] [2025/04/04 10:49:42.472 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=1] [takeTime=88.406985ms] [] [2025/04/04 10:49:42.474 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [takeTime=91.775084ms] [] [2025/04/04 10:49:42.537 +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/04 10:49:42.539 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:42.540 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [2025/04/04 10:49:42.562 +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/04 10:49:42.565 +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/04 10:49:42.565 +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/04 10:49:42.597 +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/04 10:49:42.604 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=ingest] [2025/04/04 10:49:42.610 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:42.610 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:42.610 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:42.610 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:42.610 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:42.610 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:42.610 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:42.610 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:42.610 +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/04 10:49:42.610 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:42.611 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:42.611 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:42.613 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:42.613 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:42.613 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:42.613 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:42.613 +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.764039ms] [] [2025/04/04 10:49:42.614 +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/04 10:49:42.623 +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/04 10:49:42.623 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 10:49:42.623 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 10:49:42.623 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 10:49:42.623 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=1.689Β΅s] [] [2025/04/04 10:49:42.623 +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/04 10:49:42.623 +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/04 10:49:42.623 +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/04 10:49:42.623 +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/04 10:49:42.623 +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/04 10:49:42.623 +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/04 10:49:42.623 +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/04 10:49:42.631 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=14807964115588225436] [totalKvs=10000] [totalBytes=368890] [2025/04/04 10:49:42.633 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=2] [checksum=554937224690942610] [totalKvs=10000] [totalBytes=797862] [2025/04/04 10:49:42.634 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=3] [checksum=7064370007260104284] [totalKvs=10000] [totalBytes=797862] [2025/04/04 10:49:42.637 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=1] [checksum=4056391227583092039] [totalKvs=10000] [totalBytes=657990] [2025/04/04 10:49:42.637 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:42.637 +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/04 10:49:42.637 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=14.551974ms] [] [2025/04/04 10:49:42.637 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=14.737375ms] [] [2025/04/04 10:49:42.638 +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=14.884176ms] [] [2025/04/04 10:49:42.646 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:42.737 +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/04 10:49:42.737 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 10:49:42.740 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 10:49:42.758 +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=143.196649ms] [] [2025/04/04 10:49:42.758 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:49:42.832 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:42.834 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.8956483990000002\n# Parse_time: 0.000104816\n# Compile_time: 0.000504874\n# Rewrite_time: 0.000105549\n# Optimize_time: 0.001093085\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('SLAwCTU5XzIJMAkwCU4vQQkxCXRpbWU6MS44OXMsIG9wZW46NjAwbnMsIGNsb3MBGVgxOcK1cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('Y+AKXwoMSW1wb3J0SW50b18yMAE4AUABUgNOL0FaLnRpbWU6MS44OXMsIG9wZW46NjAwbnMsIGNsb3MBGTwxOcK1cywgbG9vcHM6MnD/EQE0AXj///////////8BGAE=')\n# Resource_group: default\n# Tikv_cpu_time: 0.000019467\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/04 10:49:42.838 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:42.838 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:42.840 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=4] [2025/04/04 10:49:42.840 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.841 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestGlobalSortMultiFiles (2.27s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortUniqueKeyConflict [2025/04/04 10:49:43.053 +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-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists gs_multi_files"] [2025/04/04 10:49:43.053 +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-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.063 +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-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.076 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=4] [takeTime=235.401311ms] [] [2025/04/04 10:49:43.084 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=2.223106ms] [gotSchemaVersion=62] [phyTblIDs="[122]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:43.088 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=62] [2025/04/04 10:49:43.090 +00:00] [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.713906ms] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.100 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:43.104 +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-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=149.312Β΅s] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:43.120 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=63] [2025/04/04 10:49:43.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=63] ["take time"=7.715287ms] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.132 +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-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.138 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:49:43.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=130.53Β΅s] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:43.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/04 10:49:43.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=64] ["take time"=7.624554ms] [job="ID:124, Type:drop schema, State:done, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.165 +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/04 10:49:43.170 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop schema"] [2025/04/04 10:49:43.171 +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-04 10:49:42.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.189 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 10:49:43.189 +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/04 10:49:43.201 +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-04 10:49:43.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/04 10:49:43.201 +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-04 10:49:43.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.207 +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-04 10:49:43.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=869.039Β΅s] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:43.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/04 10:49:43.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=65] ["take time"=8.552472ms] [job="ID:126, Type:create schema, State:done, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.238 +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-04 10:49:43.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.248 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 10:49:43.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=] [sql="create database gs_multi_files"] [user=] [2025/04/04 10:49:43.264 +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-04 10:49:43.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.264 +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-04 10:49:43.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100) unique key);"] [2025/04/04 10:49:43.269 +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-04 10:49:43.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.274 +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/04 10:49:43.292 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=2.008385ms] [gotSchemaVersion=66] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.296 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/04 10:49:43.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=66] ["take time"=8.946749ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.309 +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-04 10:49:43.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.321 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:49:43.321 +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/04 10:49:43.328 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.329 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.347 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.383 +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/04 10:49:43.407 +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/04 10:49:43.424 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:43.424 +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/04 10:49:43.527 +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/04 10:49:43.529 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:43.531 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [2025/04/04 10:49:43.540 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.541 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.544 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:43.544 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:49:43.544 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=1] [cost=139.05Β΅s] [2025/04/04 10:49:43.544 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=296.792Β΅s] [] [2025/04/04 10:49:43.545 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.546 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.570 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [subtask-count=10] [2025/04/04 10:49:43.570 +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/04 10:49:43.610 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:43.631 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/04 10:49:43.631 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.632 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.639 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 10:49:43.641 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:43.641 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:43.642 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:43.642 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:43.642 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:43.642 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:43.642 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:43.642 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:43.642 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:43.642 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:43.655 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:43.657 +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/04 10:49:43.657 +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/04 10:49:43.657 +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/04 10:49:43.657 +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/04 10:49:43.666 +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/04 10:49:43.666 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [2025/04/04 10:49:43.668 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/daa143fa-1ad2-4f1c-bd98-39afede87257] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.669 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/33ee2291-483c-4600-9c9f-5b10763bedf7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.669 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/70600915-d7b2-474e-b8c2-88354ae4e726] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.669 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/247dc060-7420-4fbd-b92f-2803078e4b96] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.669 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0e2c1699-84b5-4856-8243-9574acfb9e1d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.669 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:43.669 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c95ba725-f87a-45e5-b4e5-46cf344edfce] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.669 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8b166640-5d3c-4633-8372-4146cb8d6a12] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.671 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [2025/04/04 10:49:43.710 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [readDur=7.178007ms] [encodeDur=26.856051ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.44638ms] [type=file] [takeTime=38.955197ms] [] [2025/04/04 10:49:43.722 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/2374183e-adfa-4b57-aea0-0732e899bc77] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.121091ms] [write-speed(bytes/s)=4.545MiB] [2025/04/04 10:49:43.722 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/2374183e-adfa-4b57-aea0-0732e899bc77] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=348.376Β΅s] [write-time=11.291382ms] [sort-speed(kv/s)=2870461.7999] [writer-id=data/2374183e-adfa-4b57-aea0-0732e899bc77] [2025/04/04 10:49:43.722 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2374183e-adfa-4b57-aea0-0732e899bc77] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001b58] [maxKey=74800000000000007f5f728000000000001f3f] [2025/04/04 10:49:43.734 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/2374183e-adfa-4b57-aea0-0732e899bc77] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=12.243338ms] [write-speed(bytes/s)=6.309MiB] [2025/04/04 10:49:43.735 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/2374183e-adfa-4b57-aea0-0732e899bc77] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=341.929Β΅s] [write-time=12.364304ms] [sort-speed(kv/s)=2924583.7586] [writer-id=index/1/2374183e-adfa-4b57-aea0-0732e899bc77] [2025/04/04 10:49:43.735 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/2374183e-adfa-4b57-aea0-0732e899bc77] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d373030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d373939ff3900000000000000f8] [2025/04/04 10:49:43.735 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=7] [2025/04/04 10:49:43.738 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [takeTime=71.523922ms] [] [2025/04/04 10:49:43.738 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [takeTime=72.002577ms] [] [2025/04/04 10:49:43.761 +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/04 10:49:43.761 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [2025/04/04 10:49:43.764 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2aefd6ff-d04e-4c03-99f0-7d10753c91d6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.764 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8467645e-10c8-4c82-80c0-790449381a97] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.764 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fb96c5da-d834-48db-817e-d0cfcead0ebd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.764 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1b0cfbbb-f8c8-485e-9aef-536d0dedd45a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.764 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/36391791-f7dd-43a4-8a43-d967b251e288] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.764 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dc347ce1-efac-4bb9-a3d5-48993da788a3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.764 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/94822923-cb5b-42a3-ad8d-7213611f1090] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.764 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:43.767 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [2025/04/04 10:49:43.809 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [readDur=7.43594ms] [encodeDur=29.124229ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=3.20757ms] [type=file] [takeTime=42.277297ms] [] [2025/04/04 10:49:43.821 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/c02295de-cd6d-4e9b-9022-8568a6f93550] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.435298ms] [write-speed(bytes/s)=4.42MiB] [2025/04/04 10:49:43.821 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/c02295de-cd6d-4e9b-9022-8568a6f93550] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=348.429Β΅s] [write-time=11.557506ms] [sort-speed(kv/s)=2870025.1701] [writer-id=data/c02295de-cd6d-4e9b-9022-8568a6f93550] [2025/04/04 10:49:43.821 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c02295de-cd6d-4e9b-9022-8568a6f93550] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001f40] [maxKey=74800000000000007f5f728000000000002327] [2025/04/04 10:49:43.835 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/c02295de-cd6d-4e9b-9022-8568a6f93550] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.601493ms] [write-speed(bytes/s)=5.679MiB] [2025/04/04 10:49:43.835 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/c02295de-cd6d-4e9b-9022-8568a6f93550] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=335.593Β΅s] [write-time=13.71692ms] [sort-speed(kv/s)=2979799.9362] [writer-id=index/1/c02295de-cd6d-4e9b-9022-8568a6f93550] [2025/04/04 10:49:43.835 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/c02295de-cd6d-4e9b-9022-8568a6f93550] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d383030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d383939ff3900000000000000f8] [2025/04/04 10:49:43.835 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=8] [2025/04/04 10:49:43.838 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [takeTime=76.866206ms] [] [2025/04/04 10:49:43.838 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [takeTime=77.020426ms] [] [2025/04/04 10:49:43.866 +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/04 10:49:43.866 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [2025/04/04 10:49:43.868 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/685b1922-8bef-43a9-8113-c9e3cda48abe] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.868 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fe1a0b79-e659-4908-aa28-6edcffc58057] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.868 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/22740be7-75e9-433c-b1f7-b551bd5430e1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.868 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7adbab65-fa20-4ed0-8e5a-2dc058ec9a75] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.868 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:43.868 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b8cf4a2e-83e1-4e89-94f1-466088cc1c1f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.868 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1e9f3123-02f4-4cd5-a7bb-117c592550e6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.868 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f6a10eae-5614-41a8-ba89-11d9b2b42077] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.871 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [2025/04/04 10:49:43.910 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [readDur=7.081631ms] [encodeDur=27.528587ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.109929ms] [type=file] [takeTime=39.366615ms] [] [2025/04/04 10:49:43.922 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/cfa31997-3c3b-40ac-b3f4-6e77851ce506] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.404621ms] [write-speed(bytes/s)=4.432MiB] [2025/04/04 10:49:43.922 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/cfa31997-3c3b-40ac-b3f4-6e77851ce506] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=334.977Β΅s] [write-time=11.553936ms] [sort-speed(kv/s)=2985279.5864] [writer-id=data/cfa31997-3c3b-40ac-b3f4-6e77851ce506] [2025/04/04 10:49:43.922 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cfa31997-3c3b-40ac-b3f4-6e77851ce506] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000003e8] [maxKey=74800000000000007f5f7280000000000007cf] [2025/04/04 10:49:43.935 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/cfa31997-3c3b-40ac-b3f4-6e77851ce506] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=12.234877ms] [write-speed(bytes/s)=6.314MiB] [2025/04/04 10:49:43.935 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/cfa31997-3c3b-40ac-b3f4-6e77851ce506] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=345.05Β΅s] [write-time=12.370309ms] [sort-speed(kv/s)=2898130.7057] [writer-id=index/1/cfa31997-3c3b-40ac-b3f4-6e77851ce506] [2025/04/04 10:49:43.935 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/cfa31997-3c3b-40ac-b3f4-6e77851ce506] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d313939ff3900000000000000f8] [2025/04/04 10:49:43.935 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=1] [2025/04/04 10:49:43.938 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [takeTime=72.028896ms] [] [2025/04/04 10:49:43.938 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [takeTime=72.328792ms] [] [2025/04/04 10:49:43.960 +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/04 10:49:43.960 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [2025/04/04 10:49:43.962 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4c8fdefb-abd0-432f-a334-772b4ef17ee0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.962 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/aee9921a-57b2-4e86-a5a6-f48bec40df4f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.962 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3ee8a84b-e417-4beb-ab8e-374e3115d117] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.962 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/25b03c79-8081-4173-a934-3ba4a25c89f4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.962 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6fb32ab6-97d5-4827-bedd-cb2a0e7cdf24] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.962 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:43.962 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b0057a98-da31-406c-bf3f-73af492756ef] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.962 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ad4f039a-fe50-421e-9586-011d8012c6ad] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:43.965 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [2025/04/04 10:49:44.007 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [readDur=7.719802ms] [encodeDur=30.030707ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.1382ms] [type=file] [takeTime=42.090864ms] [] [2025/04/04 10:49:44.019 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/907aaec3-c686-456a-a24d-e7daa5ddc49a] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.00463ms] [write-speed(bytes/s)=4.593MiB] [2025/04/04 10:49:44.019 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/907aaec3-c686-456a-a24d-e7daa5ddc49a] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=596.17Β΅s] [write-time=11.134617ms] [sort-speed(kv/s)=1677373.9034] [writer-id=data/907aaec3-c686-456a-a24d-e7daa5ddc49a] [2025/04/04 10:49:44.019 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/907aaec3-c686-456a-a24d-e7daa5ddc49a] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000007d0] [maxKey=74800000000000007f5f728000000000000bb7] [2025/04/04 10:49:44.033 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/907aaec3-c686-456a-a24d-e7daa5ddc49a] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.171019ms] [write-speed(bytes/s)=5.865MiB] [2025/04/04 10:49:44.033 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/907aaec3-c686-456a-a24d-e7daa5ddc49a] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=354.969Β΅s] [write-time=13.275933ms] [sort-speed(kv/s)=2817147.4129] [writer-id=index/1/907aaec3-c686-456a-a24d-e7daa5ddc49a] [2025/04/04 10:49:44.033 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/907aaec3-c686-456a-a24d-e7daa5ddc49a] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d323030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d323939ff3900000000000000f8] [2025/04/04 10:49:44.033 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=2] [2025/04/04 10:49:44.035 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [takeTime=75.408653ms] [] [2025/04/04 10:49:44.036 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [takeTime=75.601865ms] [] [2025/04/04 10:49:44.058 +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/04 10:49:44.059 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [2025/04/04 10:49:44.061 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0ee5b79d-91cb-4315-95b2-696fc884b9bc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.061 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9ca1bb89-b8e0-4cbf-b3d8-0b0bedec7004] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.061 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9187f400-9a45-4238-b5dd-05b346efea68] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.061 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a559d7d1-4a25-445b-b1ce-d7f0a6e5edce] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.061 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:44.061 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6469e518-925e-437b-9c3b-4aa193a81e71] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.061 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f4617713-6437-4852-b8b3-de4ee3643c65] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.061 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/37452c7a-f995-42c9-9b3d-42d40c0d616d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.063 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [2025/04/04 10:49:44.102 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [readDur=7.118078ms] [encodeDur=27.33796ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.220456ms] [type=file] [takeTime=39.093712ms] [] [2025/04/04 10:49:44.113 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/fc71a2d1-46ee-4ea7-9953-8109456b149a] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=10.648897ms] [write-speed(bytes/s)=4.746MiB] [2025/04/04 10:49:44.113 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/fc71a2d1-46ee-4ea7-9953-8109456b149a] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=333.776Β΅s] [write-time=10.765807ms] [sort-speed(kv/s)=2996021.2837] [writer-id=data/fc71a2d1-46ee-4ea7-9953-8109456b149a] [2025/04/04 10:49:44.113 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fc71a2d1-46ee-4ea7-9953-8109456b149a] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000bb8] [maxKey=74800000000000007f5f728000000000000f9f] [2025/04/04 10:49:44.127 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/fc71a2d1-46ee-4ea7-9953-8109456b149a] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.645318ms] [write-speed(bytes/s)=5.661MiB] [2025/04/04 10:49:44.128 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/fc71a2d1-46ee-4ea7-9953-8109456b149a] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=347.612Β΅s] [write-time=13.787804ms] [sort-speed(kv/s)=2876770.6523] [writer-id=index/1/fc71a2d1-46ee-4ea7-9953-8109456b149a] [2025/04/04 10:49:44.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/fc71a2d1-46ee-4ea7-9953-8109456b149a] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d333030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d333939ff3900000000000000f8] [2025/04/04 10:49:44.128 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=3] [2025/04/04 10:49:44.131 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [takeTime=72.0709ms] [] [2025/04/04 10:49:44.131 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [takeTime=72.262268ms] [] [2025/04/04 10:49:44.154 +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/04 10:49:44.154 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [2025/04/04 10:49:44.156 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/623dfad5-d3e8-4343-9df4-7affc99c6006] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.156 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/14de48da-7934-4727-845f-416207ecd4a9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.156 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/426fb936-6813-4509-9ca9-d1e77b5e2c60] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.156 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2626950e-75b1-433c-8807-2721f1050486] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.156 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/31708ead-1c1a-44d1-9bd1-06fa05881e4e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.156 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/bf17a817-32be-4aa5-8871-2a3df63a7501] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.156 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ebeb7ea5-dcdb-4fc4-8408-ad69f98342f4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.156 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:44.158 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [2025/04/04 10:49:44.197 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [readDur=7.130292ms] [encodeDur=27.168979ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.528094ms] [type=file] [takeTime=39.303994ms] [] [2025/04/04 10:49:44.209 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/77516276-b398-423c-bbf0-43183673b097] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.350924ms] [write-speed(bytes/s)=4.453MiB] [2025/04/04 10:49:44.209 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/77516276-b398-423c-bbf0-43183673b097] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=371.86Β΅s] [write-time=11.478648ms] [sort-speed(kv/s)=2689184.1015] [writer-id=data/77516276-b398-423c-bbf0-43183673b097] [2025/04/04 10:49:44.210 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/77516276-b398-423c-bbf0-43183673b097] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000fa0] [maxKey=74800000000000007f5f728000000000001387] [2025/04/04 10:49:44.223 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/77516276-b398-423c-bbf0-43183673b097] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.127084ms] [write-speed(bytes/s)=5.885MiB] [2025/04/04 10:49:44.223 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/77516276-b398-423c-bbf0-43183673b097] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=330.819Β΅s] [write-time=13.255938ms] [sort-speed(kv/s)=3022800.9879] [writer-id=index/1/77516276-b398-423c-bbf0-43183673b097] [2025/04/04 10:49:44.223 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/77516276-b398-423c-bbf0-43183673b097] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d343030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d343939ff3900000000000000f8] [2025/04/04 10:49:44.223 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=4] [2025/04/04 10:49:44.226 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [takeTime=72.659217ms] [] [2025/04/04 10:49:44.227 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [takeTime=72.857871ms] [] [2025/04/04 10:49:44.251 +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/04 10:49:44.251 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [2025/04/04 10:49:44.253 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2726c0e1-9121-43c1-b4f4-06d16090b948] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.253 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/66c8b4cf-666e-4f81-bc60-a54451476958] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.253 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4e3ceced-0292-4dce-8eee-3c1e9a5215d9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.253 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/33b32748-7f70-47c3-95f1-d27088549358] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.253 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/55cb0177-6065-46f0-a38d-d7d55f130929] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.253 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7a76e969-630a-4e87-9356-eaa962b4a130] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.253 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:44.253 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fc31b230-bae4-4f0d-b80c-32c27d013e49] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.256 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [2025/04/04 10:49:44.299 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [readDur=7.903166ms] [encodeDur=31.068113ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.171489ms] [type=file] [takeTime=43.6012ms] [] [2025/04/04 10:49:44.311 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8cb14d35-0190-41ac-80fd-ce25a7bcc4e3] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.36082ms] [write-speed(bytes/s)=4.449MiB] [2025/04/04 10:49:44.311 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8cb14d35-0190-41ac-80fd-ce25a7bcc4e3] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=347.751Β΅s] [write-time=11.508611ms] [sort-speed(kv/s)=2875620.7746] [writer-id=data/8cb14d35-0190-41ac-80fd-ce25a7bcc4e3] [2025/04/04 10:49:44.312 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8cb14d35-0190-41ac-80fd-ce25a7bcc4e3] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001770] [maxKey=74800000000000007f5f728000000000001b57] [2025/04/04 10:49:44.326 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8cb14d35-0190-41ac-80fd-ce25a7bcc4e3] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.46753ms] [write-speed(bytes/s)=5.736MiB] [2025/04/04 10:49:44.326 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8cb14d35-0190-41ac-80fd-ce25a7bcc4e3] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=337.758Β΅s] [write-time=13.580575ms] [sort-speed(kv/s)=2960699.6725] [writer-id=index/1/8cb14d35-0190-41ac-80fd-ce25a7bcc4e3] [2025/04/04 10:49:44.326 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8cb14d35-0190-41ac-80fd-ce25a7bcc4e3] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d363030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d363939ff3900000000000000f8] [2025/04/04 10:49:44.326 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=6] [2025/04/04 10:49:44.329 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [takeTime=77.849489ms] [] [2025/04/04 10:49:44.329 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [takeTime=78.098265ms] [] [2025/04/04 10:49:44.354 +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/04 10:49:44.355 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [2025/04/04 10:49:44.357 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6b402081-3c49-47a6-b696-a6e80d5f5360] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.357 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/96f3474b-ae66-468c-89b3-a577c625b97e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.357 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8f9ee385-0381-498a-93d1-785e97ac6246] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.357 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7a5ef2b8-4dea-4342-9a7d-c91d33ad0bfe] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.357 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5a018146-95c6-41ad-bca9-c9a471f6bbd0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.357 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/69f6f2d3-c7d3-4755-9cbb-184849f2ed71] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.357 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7a6b4f76-ebc8-40c1-8b7a-6c9fbcd10679] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.357 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:44.359 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [2025/04/04 10:49:44.399 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [readDur=6.992346ms] [encodeDur=27.355763ms] [checksum="{cksum=14807964115588225436,size=98880,kvs=2000}"] [deliverDur=2.118731ms] [type=file] [takeTime=40.072479ms] [] [2025/04/04 10:49:44.412 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/a2a5e5c4-b12d-455d-90f8-94fc7a032c35] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=12.084956ms] [write-speed(bytes/s)=4.095MiB] [2025/04/04 10:49:44.412 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/a2a5e5c4-b12d-455d-90f8-94fc7a032c35] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=320.631Β΅s] [write-time=12.192512ms] [sort-speed(kv/s)=3118850.0176] [writer-id=data/a2a5e5c4-b12d-455d-90f8-94fc7a032c35] [2025/04/04 10:49:44.412 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a2a5e5c4-b12d-455d-90f8-94fc7a032c35] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000000] [maxKey=74800000000000007f5f7280000000000003e7] [2025/04/04 10:49:44.430 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/a2a5e5c4-b12d-455d-90f8-94fc7a032c35] [sequence-number=0] [bytes=78990] [stat-size=103] [write-time=13.74971ms] [write-speed(bytes/s)=5.479MiB] [2025/04/04 10:49:44.430 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/a2a5e5c4-b12d-455d-90f8-94fc7a032c35] [sequence-number=0] [bytes=78990] [kv-cnt=1000] [sort-time=4.02214ms] [write-time=13.86571ms] [sort-speed(kv/s)=248623.8669] [writer-id=index/1/a2a5e5c4-b12d-455d-90f8-94fc7a032c35] [2025/04/04 10:49:44.430 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/a2a5e5c4-b12d-455d-90f8-94fc7a032c35] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d300000fd] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff0000000000000000f7] [2025/04/04 10:49:44.430 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=0] [2025/04/04 10:49:44.434 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [takeTime=78.939681ms] [] [2025/04/04 10:49:44.434 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [takeTime=79.139585ms] [] [2025/04/04 10:49:44.457 +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/04 10:49:44.457 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [2025/04/04 10:49:44.460 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7fd59280-f50f-4485-a1e6-be8957a373a3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.460 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/25024c57-8c3e-4ae3-8c7e-7fd84fce6f43] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.460 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/40b42ee6-55e3-4386-b6a5-d836645023c3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.460 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d327d392-c8d4-46c6-aaca-8ba950d92a7b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.460 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/33cda10c-683b-4a25-9fc1-fed4cdda28e0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.460 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f2beb152-cfcb-417e-b4dc-a8e8e5e9ee59] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.460 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4ab1bbbd-fbd3-49f0-aa64-d257414fde25] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.460 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:44.462 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [2025/04/04 10:49:44.508 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [readDur=8.515053ms] [encodeDur=32.218741ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.474757ms] [type=file] [takeTime=45.769677ms] [] [2025/04/04 10:49:44.522 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/b5c0a7f3-9fe3-4096-9878-48650e296821] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=13.233134ms] [write-speed(bytes/s)=3.82MiB] [2025/04/04 10:49:44.522 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/b5c0a7f3-9fe3-4096-9878-48650e296821] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=575.821Β΅s] [write-time=13.372266ms] [sort-speed(kv/s)=1736650.7995] [writer-id=data/b5c0a7f3-9fe3-4096-9878-48650e296821] [2025/04/04 10:49:44.522 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b5c0a7f3-9fe3-4096-9878-48650e296821] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001388] [maxKey=74800000000000007f5f72800000000000176f] [2025/04/04 10:49:44.542 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/b5c0a7f3-9fe3-4096-9878-48650e296821] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=19.409528ms] [write-speed(bytes/s)=3.98MiB] [2025/04/04 10:49:44.542 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/b5c0a7f3-9fe3-4096-9878-48650e296821] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=343.496Β΅s] [write-time=19.571886ms] [sort-speed(kv/s)=2911242.0523] [writer-id=index/1/b5c0a7f3-9fe3-4096-9878-48650e296821] [2025/04/04 10:49:44.542 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/b5c0a7f3-9fe3-4096-9878-48650e296821] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d353030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d353939ff3900000000000000f8] [2025/04/04 10:49:44.543 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=5] [2025/04/04 10:49:44.556 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [takeTime=98.207674ms] [] [2025/04/04 10:49:44.556 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [takeTime=98.387401ms] [] [2025/04/04 10:49:44.582 +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/04 10:49:44.582 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [2025/04/04 10:49:44.584 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cab6416c-32fa-4ec7-b21a-53cad969efeb] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.585 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7935face-d652-4481-9f6c-70892b6d69dc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.584 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/650aece5-11ba-4d0d-b9e4-27e3410911be] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.585 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/53e6028c-3d37-45bc-a995-851a349756c6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.585 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9c6e008b-a830-446e-8de6-935d763d313f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.585 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/563420c8-2fe1-478c-9a34-d82f94c9faea] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.585 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ede5e61b-acd4-4789-bf18-72c7cc0727b3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 10:49:44.585 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:44.588 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [2025/04/04 10:49:44.638 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [readDur=7.846493ms] [encodeDur=29.593851ms] [checksum="{cksum=15899235463001290329,size=102100,kvs=2002}"] [deliverDur=10.429661ms] [type=file] [takeTime=50.162463ms] [] [2025/04/04 10:49:44.661 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/ffc96307-6286-45a8-a425-dae53cd677f5] [sequence-number=0] [bytes=53052] [stat-size=74] [write-time=22.406771ms] [write-speed(bytes/s)=2.258MiB] [2025/04/04 10:49:44.661 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/ffc96307-6286-45a8-a425-dae53cd677f5] [sequence-number=0] [bytes=53052] [kv-cnt=1001] [sort-time=335.416Β΅s] [write-time=22.563064ms] [sort-speed(kv/s)=2984353.7577] [writer-id=data/ffc96307-6286-45a8-a425-dae53cd677f5] [2025/04/04 10:49:44.661 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ffc96307-6286-45a8-a425-dae53cd677f5] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000002328] [maxKey=74800000000000007f5f728000000005f5e0ff] [2025/04/04 10:49:44.681 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/ffc96307-6286-45a8-a425-dae53cd677f5] [sequence-number=0] [bytes=81080] [stat-size=112] [write-time=18.537212ms] [write-speed(bytes/s)=4.171MiB] [2025/04/04 10:49:44.681 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/ffc96307-6286-45a8-a425-dae53cd677f5] [sequence-number=0] [bytes=81080] [kv-cnt=1001] [sort-time=756.729Β΅s] [write-time=18.694659ms] [sort-speed(kv/s)=1322798.5184] [writer-id=index/1/ffc96307-6286-45a8-a425-dae53cd677f5] [2025/04/04 10:49:44.681 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/ffc96307-6286-45a8-a425-dae53cd677f5] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f8] [2025/04/04 10:49:44.681 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=9] [2025/04/04 10:49:44.686 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [takeTime=104.70054ms] [] [2025/04/04 10:49:44.687 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [takeTime=104.88069ms] [] [2025/04/04 10:49:44.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=encode] [next-step=merge-sort] [2025/04/04 10:49:44.733 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:44.734 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [2025/04/04 10:49:44.743 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.744 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.763 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=data] [2025/04/04 10:49:44.763 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=1] [2025/04/04 10:49:44.763 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.764 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.767 +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/04 10:49:44.768 +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/04 10:49:44.833 +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/04 10:49:44.834 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:44.836 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 10:49:44.844 +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/04 10:49:44.844 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/04 10:49:44.846 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:44.846 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:44.846 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:44.846 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:44.846 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:44.846 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:44.846 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:44.846 +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/04 10:49:44.846 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:44.846 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:44.846 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:44.846 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:44.848 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:44.848 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:44.848 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:44.848 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:44.848 +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.190996873s] [] [2025/04/04 10:49:44.848 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:49:44.854 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.856 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.878 +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/04 10:49:44.879 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:44.880 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:44.881 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:44.881 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:44.881 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:44.881 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:44.881 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:44.881 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:44.882 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:44.882 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:44.886 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:44.886 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:44.886 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:44.886 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:44.886 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:44.886 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:44.886 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:44.886 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:44.886 +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/04 10:49:44.886 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:44.886 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:44.886 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:44.887 +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/04 10:49:44.887 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:44.894 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f728000000000000000] [endKey=74800000000000007f5f728000000005f5e0ff00] [dataFiles=10] [2025/04/04 10:49:44.894 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:44.897 +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/04 10:49:44.898 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:44.898 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:44.899 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:44.899 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:44.899 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:44.899 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:44.899 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:44.899 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:44.900 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:44.900 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:44.904 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:44.904 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:44.904 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:44.904 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:44.904 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:44.904 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:44.904 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:44.904 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:44.904 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:44.904 +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/04 10:49:44.904 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:44.904 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:44.905 +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/04 10:49:44.905 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 10:49:44.912 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f69800000000000000101746573742d300000fd] [endKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [dataFiles=10] [2025/04/04 10:49:44.912 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 10:49:44.913 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.914 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.931 +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/04 10:49:44.931 +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/04 10:49:44.969 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:44.992 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.993 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.001 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:45.001 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:45.001 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:45.001 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:45.002 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:45.002 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:45.002 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:45.002 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:45.002 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:45.003 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:45.015 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:45.018 +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/04 10:49:45.018 +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/04 10:49:45.018 +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/04 10:49:45.026 +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/04 10:49:45.028 +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/04 10:49:45.028 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.029 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:45.033 +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/04 10:49:45.033 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:45.055 +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/04 10:49:45.055 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:45.055 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:45.056 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F728000000000FF0000000000000000FA] [end=7480000000000000FF7F5F728000000005FFF5E0FF0000000000FC] [2025/04/04 10:49:45.056 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=5.098Β΅s] [2025/04/04 10:49:45.056 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=889.763Β΅s] [] [2025/04/04 10:49:45.056 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:45.056 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:45.056 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f728000000000000000] [end-key=74800000000000007f5f728000000005f5e0ff00] [2025/04/04 10:49:45.056 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:45.063 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.947615ms] [] [2025/04/04 10:49:45.063 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:45.074 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.075 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=18.799279ms] [] [2025/04/04 10:49:45.075 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/04 10:49:45.077 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=20.987893ms] [droppedSize=0] [2025/04/04 10:49:45.087 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=10.276952ms] [2025/04/04 10:49:45.088 +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/04 10:49:45.109 +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/04 10:49:45.112 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [takeTime=83.840435ms] [] [2025/04/04 10:49:45.112 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [takeTime=86.106328ms] [] [2025/04/04 10:49:45.137 +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/04 10:49:45.139 +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/04 10:49:45.139 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.140 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 10:49:45.144 +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/04 10:49:45.144 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:45.166 +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/04 10:49:45.166 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:45.166 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 10:49:45.167 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F698000000000FF0000010174657374FF2D300000FD000000FC] [end=7480000000000000FF7F5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80000FF0000000000000000F7] [2025/04/04 10:49:45.167 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.974Β΅s] [2025/04/04 10:49:45.167 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=776.074Β΅s] [] [2025/04/04 10:49:45.167 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 10:49:45.167 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 10:49:45.167 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f69800000000000000101746573742d300000fd] [end-key=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [2025/04/04 10:49:45.167 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 10:49:45.173 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.127745ms] [] [2025/04/04 10:49:45.173 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 10:49:45.184 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.185 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=17.568959ms] [] [2025/04/04 10:49:45.185 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/04 10:49:45.186 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=19.061692ms] [droppedSize=0] [2025/04/04 10:49:45.200 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=13.967286ms] [2025/04/04 10:49:45.200 +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/04 10:49:45.202 +00:00] [ERROR] [task_executor.go:447] ["run subtask failed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [takeTime=63.37125ms] [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/04 10:49:45.203 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=ingest] [takeTime=65.897572ms] [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/04 10:49:45.203 +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/04 10:49:45.210 +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/04 10:49:45.235 +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/04 10:49:45.260 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=ingest] [2025/04/04 10:49:45.263 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:45.263 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:45.263 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:45.263 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:45.263 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:45.263 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:45.263 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:45.263 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:45.263 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:45.263 +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/04 10:49:45.263 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:45.263 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:45.265 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:45.265 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:45.265 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:45.265 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:45.265 +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=247.182457ms] [] [2025/04/04 10:49:45.265 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:49:45.331 +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/04 10:49:45.334 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 10:49:45.426 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:45.433 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:45.433 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:45.434 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=5] [2025/04/04 10:49:45.434 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.435 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.524 +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/04 10:49:45.525 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.20270832\n# Parse_time: 0.000158785\n# Compile_time: 0.000518927\n# Rewrite_time: 0.000111146\n# Optimize_time: 0.000459725\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('R/BGMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjIuMnMsIG9wZW46NjEwbnMsIGNsb3NlOjEuMTnCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjgBQAFSA04vQVotdGltZToyLjJzLCBvcGVuOjYxMG5zLCBjbG9zZToxLjE5wrVzLCBsb29wczoxcP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000019467\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.53s) === NAME TestImportInto === RUN TestImportInto/TestSplitFile [2025/04/04 10:49:45.531 +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/04 10:49:45.544 +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-04 10:49:45.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.544 +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-04 10:49:45.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database split_file"] [2025/04/04 10:49:45.549 +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-04 10:49:45.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=789.544Β΅s] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:45.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=67] [2025/04/04 10:49:45.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=67] ["take time"=8.130922ms] [job="ID:130, Type:create schema, State:done, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.580 +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-04 10:49:45.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.591 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/04 10:49:45.591 +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/04 10:49:45.719 +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-04 10:49:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.719 +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-04 10:49:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100));"] [2025/04/04 10:49:45.720 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=5] [takeTime=286.228172ms] [] [2025/04/04 10:49:45.725 +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-04 10:49:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.731 +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/04 10:49:45.747 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:45.748 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=2.016615ms] [gotSchemaVersion=68] [phyTblIDs="[131]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=68] [2025/04/04 10:49:45.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=68] ["take time"=10.343411ms] [job="ID:132, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.766 +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-04 10:49:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.777 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 10:49:45.778 +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/04 10:49:45.785 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.833 +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/04 10:49:45.852 +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/04 10:49:45.867 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 10:49:45.867 +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/04 10:49:45.969 +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/04 10:49:45.970 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:45.971 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 10:49:45.980 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.982 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:45.983 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:49:45.987 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=4.699818ms] [2025/04/04 10:49:45.987 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=4.822086ms] [] [2025/04/04 10:49:45.988 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/04 10:49:45.988 +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/04 10:49:46.019 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:46.039 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:49:46.040 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:46.048 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:46.048 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:46.048 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:46.049 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:46.049 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:46.049 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:46.049 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:46.049 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:46.049 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:46.049 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:46.062 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:46.063 +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/04 10:49:46.064 +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/04 10:49:46.064 +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/04 10:49:46.064 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/04 10:49:46.064 +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/04 10:49:46.072 +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/04 10:49:46.072 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [2025/04/04 10:49:46.076 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 10:49:46.076 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:49:46.080 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:49:46.081 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 10:49:46.099 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 10:49:46.167 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:0] [2025/04/04 10:49:46.173 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:0] [readDur=1.880179ms] [encodeDur=3.131324ms] [checksum="{cksum=5150199586330057191,size=6334,kvs=179}"] [deliverDur=188.895Β΅s] [type=file] [takeTime=5.836988ms] [] [2025/04/04 10:49:46.175 +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/7a3a04fc-4a27-40aa-950d-2ff39f986529.sst] [firstKey=7480000000000000835F728000000000000000] [lastKey=7480000000000000835F7280000000000000B2] [2025/04/04 10:49:46.175 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:46.175 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:46.175 +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/04 10:49:46.177 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=2.480357ms] [] [2025/04/04 10:49:46.177 +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/04 10:49:46.182 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:46.203 +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/04 10:49:46.204 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:46.205 +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/04 10:49:46.219 +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/04 10:49:46.220 +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=42.984796ms] [] [2025/04/04 10:49:46.221 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:49:46.222 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.126932ms] [] [2025/04/04 10:49:46.222 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:46.222 +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/04 10:49:46.223 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=1.516768ms] [] [2025/04/04 10:49:46.223 +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/04 10:49:46.227 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:49:46.227 +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.750249ms] [] [2025/04/04 10:49:46.227 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:49:46.228 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=1.0171ms] [] [2025/04/04 10:49:46.228 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [takeTime=156.559425ms] [] [2025/04/04 10:49:46.229 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=156.723464ms] [] [2025/04/04 10:49:46.253 +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/04 10:49:46.254 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [2025/04/04 10:49:46.257 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:49:46.261 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:49:46.261 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 10:49:46.323 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [2025/04/04 10:49:46.329 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [readDur=1.094662ms] [encodeDur=3.293802ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=196.811Β΅s] [type=file] [takeTime=5.210165ms] [] [2025/04/04 10:49:46.330 +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/d938ce8f-1ec3-4842-bb63-eb25c8bd1440.sst] [firstKey=7480000000000000835F7280000000000000B3] [lastKey=7480000000000000835F728000000000000154] [2025/04/04 10:49:46.330 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 10:49:46.330 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 10:49:46.330 +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/04 10:49:46.332 +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.158581ms] [] [2025/04/04 10:49:46.333 +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/04 10:49:46.338 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:46.360 +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/04 10:49:46.360 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:46.361 +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/04 10:49:46.373 +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/04 10:49:46.375 +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=42.338614ms] [] [2025/04/04 10:49:46.375 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:49:46.376 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.155035ms] [] [2025/04/04 10:49:46.376 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 10:49:46.376 +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/04 10:49:46.378 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=1.480583ms] [] [2025/04/04 10:49:46.378 +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/04 10:49:46.382 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:49:46.382 +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.643505ms] [] [2025/04/04 10:49:46.382 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:49:46.382 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=838.12Β΅s] [] [2025/04/04 10:49:46.383 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [takeTime=129.097476ms] [] [2025/04/04 10:49:46.383 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [takeTime=129.256436ms] [] [2025/04/04 10:49:46.409 +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/04 10:49:46.409 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [2025/04/04 10:49:46.413 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:49:46.417 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:49:46.417 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 10:49:46.444 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [2025/04/04 10:49:46.450 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [readDur=1.231341ms] [encodeDur=3.548688ms] [checksum="{cksum=8141207420748078351,size=5724,kvs=159}"] [deliverDur=170.627Β΅s] [type=file] [takeTime=5.783978ms] [] [2025/04/04 10:49:46.451 +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/9c8d6838-82d3-48b5-8392-2ca9aaf35a27.sst] [firstKey=7480000000000000835F728000000000000155] [lastKey=7480000000000000835F7280000000000001F3] [2025/04/04 10:49:46.451 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 10:49:46.451 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 10:49:46.451 +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/04 10:49:46.454 +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.407525ms] [] [2025/04/04 10:49:46.454 +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/04 10:49:46.459 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:46.481 +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/04 10:49:46.481 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:46.483 +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/04 10:49:46.496 +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/04 10:49:46.498 +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=43.803392ms] [] [2025/04/04 10:49:46.498 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:49:46.499 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.221037ms] [] [2025/04/04 10:49:46.499 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 10:49:46.499 +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/04 10:49:46.501 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=1.467921ms] [] [2025/04/04 10:49:46.501 +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/04 10:49:46.505 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:49:46.505 +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.980024ms] [] [2025/04/04 10:49:46.505 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:49:46.506 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=963.131Β΅s] [] [2025/04/04 10:49:46.506 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [takeTime=96.955087ms] [] [2025/04/04 10:49:46.506 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=97.113443ms] [] [2025/04/04 10:49:46.574 +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/04 10:49:46.575 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:46.576 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:46.576 +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/04 10:49:46.606 +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/04 10:49:46.607 +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/04 10:49:46.607 +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/04 10:49:46.630 +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/04 10:49:46.639 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:49:46.644 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:46.644 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:46.644 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:46.644 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:46.644 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:46.644 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:46.644 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:46.644 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:46.644 +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/04 10:49:46.644 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:46.644 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:46.644 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:46.646 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:46.646 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:46.646 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:46.646 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:46.646 +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=582.140801ms] [] [2025/04/04 10:49:46.647 +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/04 10:49:46.654 +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/04 10:49:46.655 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 10:49:46.655 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 10:49:46.655 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 10:49:46.655 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=2.274Β΅s] [] [2025/04/04 10:49:46.655 +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/04 10:49:46.655 +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/04 10:49:46.655 +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/04 10:49:46.655 +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/04 10:49:46.657 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=131] [physicalTableID=131] [indexID=-1] [checksum=14807964115588225436] [totalKvs=500] [totalBytes=17890] [2025/04/04 10:49:46.657 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:46.657 +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/04 10:49:46.657 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=2.743406ms] [] [2025/04/04 10:49:46.657 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=2.891062ms] [] [2025/04/04 10:49:46.658 +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.045102ms] [] [2025/04/04 10:49:46.670 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:46.676 +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/04 10:49:46.676 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 10:49:46.679 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 10:49:46.710 +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=62.352431ms] [] [2025/04/04 10:49:46.710 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 10:49:46.769 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 10:49:46.771 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.992554391\n# Parse_time: 0.00015918\n# Compile_time: 0.00055638\n# Rewrite_time: 0.000103242\n# Optimize_time: 0.000459725\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS42bXMsIG9wZW46NTYzbnMsIGNsb3NlOjc4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS42bXMsIG9wZW46NTYzbnMsIGNsb3NlOjc4MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000019467\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/04 10:49:46.776 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:46.776 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/04 10:49:46.798 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:46.810 +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-04 10:49:46.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.810 +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-04 10:49:46.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:49:46.815 +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-04 10:49:46.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.824 +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/04 10:49:46.840 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.76225ms] [gotSchemaVersion=69] [phyTblIDs="[131,133]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:46.843 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=69] [2025/04/04 10:49:46.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=69] ["take time"=8.796948ms] [job="ID:134, Type:truncate table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.855 +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/04 10:49:46.860 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="truncate table"] [2025/04/04 10:49:46.861 +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-04 10:49:46.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.879 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 10:49:46.879 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=split_file] [sql="truncate table t"] [user=] [2025/04/04 10:49:46.885 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:46.929 +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/04 10:49:46.948 +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/04 10:49:46.962 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:46.962 +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/04 10:49:47.065 +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/04 10:49:47.066 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:47.067 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 10:49:47.075 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:47.076 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:47.076 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:49:47.076 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:49:47.077 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:47.077 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:49:47.082 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=4.979443ms] [2025/04/04 10:49:47.082 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=5.109264ms] [] [2025/04/04 10:49:47.083 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/04 10:49:47.083 +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/04 10:49:47.120 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:47.140 +00:00] [ERROR] [distsql.go:1565] ["table reader fetch next chunk 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/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1132\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.(*tableWorker).executeTask\n\tpkg/executor/distsql.go:1563\ngithub.com/pingcap/tidb/pkg/executor.execTableTask\n\tpkg/executor/distsql.go:1250\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles.func2\n\tpkg/executor/distsql.go:1096\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/executor.(*tableWorker).executeTask\n\tpkg/executor/distsql.go:1565\ngithub.com/pingcap/tidb/pkg/executor.execTableTask\n\tpkg/executor/distsql.go:1250\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles.func2\n\tpkg/executor/distsql.go:1096\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/04 10:49:47.142 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:49:47.143 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:47.150 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:47.150 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:47.151 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:47.151 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:47.151 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:47.151 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:47.151 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:47.151 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:47.152 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:47.152 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:47.164 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:47.166 +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/04 10:49:47.166 +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/04 10:49:47.166 +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/04 10:49:47.166 +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/04 10:49:47.166 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/04 10:49:47.171 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 10:49:47.175 +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/04 10:49:47.175 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [2025/04/04 10:49:47.179 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:49:47.183 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:49:47.183 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:49:47.190 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 10:49:47.258 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:0] [2025/04/04 10:49:47.263 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:0] [readDur=972.52Β΅s] [encodeDur=3.331212ms] [checksum="{cksum=8361670451610043062,size=6300,kvs=178}"] [deliverDur=191.153Β΅s] [type=file] [takeTime=5.102805ms] [] [2025/04/04 10:49:47.265 +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/cd8a7859-255c-4f88-a68b-fc57aeba4600.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F7280000000000000B2] [2025/04/04 10:49:47.265 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:47.265 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:47.265 +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/04 10:49:47.267 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=2.150578ms] [] [2025/04/04 10:49:47.267 +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/04 10:49:47.271 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:47.293 +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/04 10:49:47.293 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:47.295 +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/04 10:49:47.307 +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/04 10:49:47.309 +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=41.494731ms] [] [2025/04/04 10:49:47.309 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 10:49:47.310 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.091262ms] [] [2025/04/04 10:49:47.310 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:47.310 +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/04 10:49:47.311 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=1.438739ms] [] [2025/04/04 10:49:47.312 +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/04 10:49:47.315 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:49:47.315 +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.512471ms] [] [2025/04/04 10:49:47.315 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 10:49:47.316 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=848.917Β΅s] [] [2025/04/04 10:49:47.316 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [takeTime=141.438179ms] [] [2025/04/04 10:49:47.317 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=141.918479ms] [] [2025/04/04 10:49:47.341 +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/04 10:49:47.341 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [2025/04/04 10:49:47.344 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:49:47.348 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:49:47.348 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:49:47.419 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [2025/04/04 10:49:47.425 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [readDur=1.303983ms] [encodeDur=3.53689ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=162.159Β΅s] [type=file] [takeTime=5.561484ms] [] [2025/04/04 10:49:47.426 +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/12e63bda-cb0f-4817-93f1-2952cecb9fbb.sst] [firstKey=7480000000000000855F7280000000000000B3] [lastKey=7480000000000000855F728000000000000154] [2025/04/04 10:49:47.426 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 10:49:47.427 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 10:49:47.427 +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/04 10:49:47.429 +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.026117ms] [] [2025/04/04 10:49:47.429 +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/04 10:49:47.435 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:47.457 +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/04 10:49:47.457 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:47.459 +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/04 10:49:47.470 +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/04 10:49:47.471 +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=42.708832ms] [] [2025/04/04 10:49:47.472 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 10:49:47.473 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.145371ms] [] [2025/04/04 10:49:47.473 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 10:49:47.473 +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/04 10:49:47.474 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=1.61406ms] [] [2025/04/04 10:49:47.475 +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/04 10:49:47.478 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:49:47.478 +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.510694ms] [] [2025/04/04 10:49:47.478 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 10:49:47.479 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=934.556Β΅s] [] [2025/04/04 10:49:47.479 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [takeTime=138.524047ms] [] [2025/04/04 10:49:47.479 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [takeTime=138.663608ms] [] [2025/04/04 10:49:47.502 +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/04 10:49:47.502 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [2025/04/04 10:49:47.505 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:49:47.509 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:49:47.509 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:49:47.570 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [2025/04/04 10:49:47.575 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [readDur=1.142703ms] [encodeDur=3.283388ms] [checksum="{cksum=15344168976920314669,size=5724,kvs=159}"] [deliverDur=158.984Β΅s] [type=file] [takeTime=5.092305ms] [] [2025/04/04 10:49:47.577 +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/17c933f7-6fe7-440a-ac78-39a73b4cfb27.sst] [firstKey=7480000000000000855F728000000000000155] [lastKey=7480000000000000855F7280000000000001F3] [2025/04/04 10:49:47.577 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 10:49:47.577 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 10:49:47.577 +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/04 10:49:47.580 +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.387455ms] [] [2025/04/04 10:49:47.580 +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/04 10:49:47.585 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:47.608 +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/04 10:49:47.608 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:47.610 +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/04 10:49:47.621 +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/04 10:49:47.623 +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=43.197ms] [] [2025/04/04 10:49:47.623 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 10:49:47.624 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.091562ms] [] [2025/04/04 10:49:47.624 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 10:49:47.624 +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/04 10:49:47.626 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=1.54047ms] [] [2025/04/04 10:49:47.626 +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/04 10:49:47.629 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:49:47.629 +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.666969ms] [] [2025/04/04 10:49:47.630 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 10:49:47.631 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=1.018316ms] [] [2025/04/04 10:49:47.631 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [takeTime=128.922642ms] [] [2025/04/04 10:49:47.631 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=129.074616ms] [] [2025/04/04 10:49:47.669 +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/04 10:49:47.670 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:47.671 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:47.671 +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/04 10:49:47.704 +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/04 10:49:47.705 +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/04 10:49:47.705 +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/04 10:49:47.737 +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/04 10:49:47.744 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:49:47.749 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:47.749 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:47.749 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:47.749 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:47.749 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:47.749 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:47.749 +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/04 10:49:47.749 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:47.749 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.749 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.749 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.749 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:47.751 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:47.751 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.751 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.751 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.751 +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=584.775601ms] [] [2025/04/04 10:49:47.752 +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/04 10:49:47.759 +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/04 10:49:47.759 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 10:49:47.759 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 10:49:47.759 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 10:49:47.759 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=1.696Β΅s] [] [2025/04/04 10:49:47.759 +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/04 10:49:47.759 +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/04 10:49:47.759 +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/04 10:49:47.759 +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/04 10:49:47.762 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=6555504159897345263] [totalKvs=499] [totalBytes=17856] [2025/04/04 10:49:47.763 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:47.763 +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/04 10:49:47.763 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=3.744331ms] [] [2025/04/04 10:49:47.763 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=3.87066ms] [] [2025/04/04 10:49:47.763 +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=4.002976ms] [] [2025/04/04 10:49:47.771 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:47.773 +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/04 10:49:47.773 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 10:49:47.775 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 10:49:47.789 +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=36.488542ms] [] [2025/04/04 10:49:47.789 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 10:49:47.864 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.985091733\n# Parse_time: 0.000172303\n# Compile_time: 0.000539716\n# Rewrite_time: 0.00010311\n# Optimize_time: 0.000263085\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC4xbXMsIG9wZW46Njc2bnMsIGNsb3NlOjg2N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NC4xbXMsIG9wZW46Njc2bnMsIGNsb3NlOjg2N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000019467\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/04 10:49:47.865 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:47.872 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:47.872 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:47.887 +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-04 10:49:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.887 +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-04 10:49:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (a int primary key nonclustered, b varchar(100));"] [2025/04/04 10:49:47.893 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:47.894 +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-04 10:49:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.898 +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/04 10:49:47.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.829291ms] [gotSchemaVersion=70] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:47.918 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=70] [2025/04/04 10:49:47.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=70] ["take time"=8.657992ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.931 +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-04 10:49:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.942 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/04 10:49:47.943 +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/04 10:49:47.949 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:47.999 +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/04 10:49:48.018 +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/04 10:49:48.032 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/04 10:49:48.032 +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/04 10:49:48.135 +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/04 10:49:48.136 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:48.137 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/04 10:49:48.145 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:48.147 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:49:48.147 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=26] [2025/04/04 10:49:48.152 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=9] [RegionsCount=2] [BatchSize=26] [cost=4.635864ms] [2025/04/04 10:49:48.152 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=4.754376ms] [] [2025/04/04 10:49:48.152 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:48.152 +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/04 10:49:48.189 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 10:49:48.209 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 10:49:48.209 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:48.217 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:48.217 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893312506154] [2025/04/04 10:49:48.217 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:48.217 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:48.217 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:48.217 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:48.217 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:48.218 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:48.218 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:48.218 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:48.230 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:48.231 +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/04 10:49:48.231 +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/04 10:49:48.231 +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/04 10:49:48.231 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=8] [disk-quota=348.5GiB] [2025/04/04 10:49:48.231 +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/04 10:49:48.239 +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/04 10:49:48.239 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [2025/04/04 10:49:48.242 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/04 10:49:48.243 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/04 10:49:48.247 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/04 10:49:48.247 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/04 10:49:48.247 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/04 10:49:48.262 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:15] [2025/04/04 10:49:48.264 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/04 10:49:48.264 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:15] [readDur=115.503Β΅s] [encodeDur=649.759Β΅s] [checksum="{cksum=6641800212242329557,size=139,kvs=4}"] [deliverDur=809.768Β΅s] [type=file] [takeTime=2.004085ms] [] [2025/04/04 10:49:48.266 +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/04250972-a58c-4f8d-bbac-a5cfbf00ee79.sst] [firstKey=7480000000000000875F728000000000000005] [lastKey=7480000000000000875F728000000000000006] [2025/04/04 10:49:48.270 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:0] [2025/04/04 10:49:48.272 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:0] [readDur=944.387Β΅s] [encodeDur=354.327Β΅s] [checksum="{cksum=4172864564292863038,size=207,kvs=6}"] [deliverDur=209.255Β΅s] [type=file] [takeTime=1.732167ms] [] [2025/04/04 10:49:48.273 +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/0b9f6c62-5b57-4752-a5dc-14f6ebf50649.sst] [firstKey=7480000000000000875F728000000000000001] [lastKey=7480000000000000875F728000000000000003] [2025/04/04 10:49:48.273 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:49:48.273 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:49:48.273 +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/04 10:49:48.275 +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.220752ms] [] [2025/04/04 10:49:48.275 +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/04 10:49:48.280 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:48.302 +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/04 10:49:48.302 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:48.304 +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/04 10:49:48.314 +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/04 10:49:48.316 +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=40.584697ms] [] [2025/04/04 10:49:48.316 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/04 10:49:48.317 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [takeTime=1.146921ms] [] [2025/04/04 10:49:48.317 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:49:48.317 +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/04 10:49:48.318 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=180] [count=5] [cost=997.178Β΅s] [file=/tmp/tidb/import-4000/8/3f0a0734-602d-5886-ba9a-bb426e401303.sst/02457dac-f65f-42cf-95fe-3c53b3de2c0b.sst] [2025/04/04 10:49:48.318 +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/02457dac-f65f-42cf-95fe-3c53b3de2c0b.sst] [firstKey=7480000000000000875F698000000000000001038000000000000001] [lastKey=7480000000000000875F698000000000000001038000000000000009] [2025/04/04 10:49:48.321 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [takeTime=3.296663ms] [] [2025/04/04 10:49:48.321 +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/04 10:49:48.325 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:48.347 +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/04 10:49:48.347 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:48.348 +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/04 10:49:48.359 +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/04 10:49:48.360 +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=39.743723ms] [] [2025/04/04 10:49:48.360 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/04 10:49:48.362 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [takeTime=1.050046ms] [] [2025/04/04 10:49:48.362 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [takeTime=122.580902ms] [] [2025/04/04 10:49:48.362 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=122.711606ms] [] [2025/04/04 10:49:48.440 +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/04 10:49:48.441 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:48.442 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:48.442 +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/04 10:49:48.471 +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/04 10:49:48.473 +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/04 10:49:48.473 +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/04 10:49:48.500 +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/04 10:49:48.507 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 10:49:48.511 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:48.511 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:48.511 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:48.511 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:48.511 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:48.511 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:48.511 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:48.511 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.511 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.511 +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/04 10:49:48.511 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.511 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:48.513 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:48.513 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.513 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.513 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.513 +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=281.61173ms] [] [2025/04/04 10:49:48.515 +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/04 10:49:48.522 +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/04 10:49:48.522 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 10:49:48.522 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 10:49:48.522 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 10:49:48.528 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=5.49751ms] [] [2025/04/04 10:49:48.528 +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/04 10:49:48.528 +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/04 10:49:48.528 +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/04 10:49:48.528 +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/04 10:49:48.528 +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/04 10:49:48.534 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=-1] [checksum=10656432631736324641] [totalKvs=5] [totalBytes=166] [2025/04/04 10:49:48.535 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=1] [checksum=17737380028387883466] [totalKvs=5] [totalBytes=180] [2025/04/04 10:49:48.536 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:48.536 +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/04 10:49:48.536 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=13.702191ms] [] [2025/04/04 10:49:48.536 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=13.862327ms] [] [2025/04/04 10:49:48.536 +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.990953ms] [] [2025/04/04 10:49:48.544 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:48.641 +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/04 10:49:48.641 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/04 10:49:48.644 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/04 10:49:48.674 +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=159.409274ms] [] [2025/04/04 10:49:48.674 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/04 10:49:48.734 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/04 10:49:48.740 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:48.740 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/04 10:49:48.765 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:48.938 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995292795\n# Parse_time: 0.000094648\n# Compile_time: 0.00046676\n# Rewrite_time: 0.000082283\n# Optimize_time: 0.000254913\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC40bXMsIG9wZW46NjUwbnMsIGNsb3NlOjg4MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC40bXMsIG9wZW46NjUwbnMsIGNsb3NlOjg4MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000019467\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/04 10:49:48.941 +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.43s) === NAME TestImportInto [2025/04/04 10:49:48.988 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:48.989 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [] [2025/04/04 10:49:48.989 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:48.989 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:48.989 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:48.989 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:48.989 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=76.651Β΅s] [2025/04/04 10:49:48.989 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=55.633Β΅s] [2025/04/04 10:49:48.989 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=59.186Β΅s] [2025/04/04 10:49:48.989 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=63.938Β΅s] [2025/04/04 10:49:48.989 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=64.188Β΅s] [2025/04/04 10:49:48.989 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=76.288Β΅s] [2025/04/04 10:49:48.990 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=55.706Β΅s] [2025/04/04 10:49:48.990 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=50.93Β΅s] [2025/04/04 10:49:48.990 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=60.129Β΅s] [2025/04/04 10:49:48.990 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=51.262Β΅s] [2025/04/04 10:49:48.990 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:48.990 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:48.991 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:48.991 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:48.997 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] ["take time"=8.649441ms] [2025/04/04 10:49:48.997 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:48.997 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:48.997 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/632dd269-9c4b-43b4-835b-7da2ebe88e0a] [watcherID=cff95916-0372-4215-a056-ac61d05b979d] [2025/04/04 10:49:48.997 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:48.998 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/632dd269-9c4b-43b4-835b-7da2ebe88e0a] [2025/04/04 10:49:48.998 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [ttl-worker=task-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [originalCount=4] [newCount=0] [2025/04/04 10:49:48.998 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:48.998 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:48.998 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:48.998 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:48.998 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [ttl-worker=task-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [originalCount=4] [newCount=0] [2025/04/04 10:49:49.001 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:49.001 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:49.001 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:49.001 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:49.004 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.004 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=152] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:49.005 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.005 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:49.006 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:49.005 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:49.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:49.005 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:49.006 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:49.006 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [2025/04/04 10:49:49.006 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [2025/04/04 10:49:49.006 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:49.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:49.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.006 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:49.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:49.006 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.006 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:49.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:49.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:49.006 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.006 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:49.006 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:49.006 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:49.007 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:49.007 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:49.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:49.007 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:49.007 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:49.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:49.007 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=834dc3de-2dce-4e56-aa61-c58f3d1bcd6b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:49.007 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [] [2025/04/04 10:49:49.007 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:49.007 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:49.008 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.008 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [2025/04/04 10:49:49.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:49.008 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:49:49.008 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:49.010 +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.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/04 10:49:49.014 +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/04 10:49:49.015 +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/04 10:49:49.015 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:49.015 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:49.015 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:49.082 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=ebba69ae-e866-4cd8-a1cc-796dddd472ec] [error="context canceled"] [2025/04/04 10:49:49.082 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:49.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:49.096 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=107.165835ms] [2025/04/04 10:49:49.099 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:49.099 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:49.099 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:49.099 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:49.099 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:49.099 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:49.099 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:49.099 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:49.099 +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/04 10:49:49.099 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:49.099 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:49.099 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:49.101 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (18.98s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest4:importintotest4_test up-to-date: bazel-bin/tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test INFO: Elapsed time: 72.844s, Critical Path: 54.47s INFO: 4640 processes: 4618 remote cache hit, 13 internal, 9 linux-sandbox. INFO: Build completed successfully, 4640 total actions //tests/realtikvtest/importintotest4:importintotest4_test PASSED in 22.7s PASSED importintotest4_test.TestImportInto (19.0s) PASSED importintotest4_test.TestImportInto/TestGlobalSortBasic (5.6s) PASSED importintotest4_test.TestImportInto/TestGlobalSortMultiFiles (2.3s) PASSED importintotest4_test.TestImportInto/TestGlobalSortUniqueKeyConflict (2.5s) PASSED importintotest4_test.TestImportInto/TestSplitFile (3.4s) Test cases: finished with 5 passing and 0 failing out of 5 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 [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; 1s remote-cache, linux-sandbox Recording test results [4,566 / 4,571] [Prepa] GoCompilePkgExternal tests/realtikvtest/addindextest3/addindextest3_test_test.external.a [4,639 / 4,640] 1 / 1 tests; Testing //tests/realtikvtest/importintotest2:importintotest2_test; 22s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest2:importintotest2_test: ==================== Test output for //tests/realtikvtest/importintotest2:importintotest2_test: === RUN TestImportInto [2025/04/04 10:49:30.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/04 10:49:30.709 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:30.711 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:30.712 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:30.712 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:30.712 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:30.712 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:30.712 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:30.712 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:30.713 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:30.713 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:30.718 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:30.726 +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/04 10:49:30.726 +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/04 10:49:30.727 +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/04 10:49:30.752 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.752 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.757 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.757 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.768 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:30.792 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407901033089673] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:30.818 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:30.855 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1782] ["lease id"=2231960069db1d56] [2025/04/04 10:49:30.858 +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/04 10:49:30.864 +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/04 10:49:30.969 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=104.720755ms] [2025/04/04 10:49:30.969 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:30.970 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:49:30.970 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c6a19857-95d4-4886-93ac-afd36f393864] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:30.971 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:30.972 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:30.974 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:30.974 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 211299151872/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:30.974 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:30.974 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:30.974 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:30.975 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [2025/04/04 10:49:30.976 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069db1d5b] [ownerID=c6a19857-95d4-4886-93ac-afd36f393864] [op=none] [2025/04/04 10:49:30.976 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:30.976 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [ownerKey=/tidb/ddl/fg/owner/2231960069db1d5b] [currRev=96] [2025/04/04 10:49:30.978 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:30.978 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:30.978 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:30.978 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069df04f7] [ownerID=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [op=none] [2025/04/04 10:49:30.978 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [2025/04/04 10:49:30.978 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [ownerKey=/tidb/br-stream/owner/6f18960069df04f7] [currRev=97] [2025/04/04 10:49:30.978 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069db1d5b] [ownerID=c6a19857-95d4-4886-93ac-afd36f393864] [op=none] [2025/04/04 10:49:30.979 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [op=none] [2025/04/04 10:49:30.979 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:30.982 +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/04 10:49:30.997 +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-04 10:49:30.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:49:30.997 +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-04 10:49:30.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.004 +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-04 10:49:30.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.143 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=124.79141ms] [2025/04/04 10:49:31.144 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:31.150 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.150 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:49:31.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=1] ["take time"=135.237932ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:30.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.166 +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-04 10:49:30.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.181 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:49:31.181 +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/04 10:49:31.183 +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/04 10:49:31.187 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Europe/Berlin] [2025/04/04 10:49:31.212 +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-04 10:49:31.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.212 +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-04 10:49:31.16 +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/04 10:49:31.222 +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-04 10:49:31.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.378684ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.282 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:49:31.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=2] ["take time"=14.57395ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.304 +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-04 10:49:31.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.336 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:49:31.336 +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/04 10:49:31.351 +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-04 10:49:31.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.351 +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-04 10:49:31.309 +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/04 10:49:31.357 +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-04 10:49:31.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.107197ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.381 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:49:31.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=3] ["take time"=9.415781ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.394 +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-04 10:49:31.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.408 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:49:31.408 +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/04 10:49:31.422 +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-04 10:49:31.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.422 +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-04 10:49:31.409 +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/04 10:49:31.428 +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-04 10:49:31.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.448 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.096468ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.451 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.451 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:49:31.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=4] ["take time"=9.343374ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.464 +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-04 10:49:31.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.477 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:49:31.477 +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/04 10:49:31.499 +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-04 10:49:31.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.499 +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-04 10:49:31.46 +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/04 10:49:31.506 +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-04 10:49:31.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.543 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.592904ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.547 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:49:31.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=5] ["take time"=12.305848ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.564 +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-04 10:49:31.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.586 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:49:31.586 +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/04 10:49:31.603 +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-04 10:49:31.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.603 +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-04 10:49:31.56 +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/04 10:49:31.609 +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-04 10:49:31.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.638 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=3.041686ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.642 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.642 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:49:31.644 +00:00] [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.658028ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.656 +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-04 10:49:31.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.672 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:49:31.672 +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/04 10:49:31.688 +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-04 10:49:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.688 +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-04 10:49:31.659 +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/04 10:49:31.694 +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-04 10:49:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.717 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.57624ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.720 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.720 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:49:31.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=7] ["take time"=9.73386ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.734 +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-04 10:49:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.748 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:49:31.748 +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/04 10:49:31.761 +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-04 10:49:31.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.761 +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-04 10:49:31.709 +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/04 10:49:31.767 +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-04 10:49:31.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.784 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.723531ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.788 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.788 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:49:31.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=8] ["take time"=8.94295ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.800 +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-04 10:49:31.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.811 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:49:31.812 +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/04 10:49:31.825 +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-04 10:49:31.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.825 +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-04 10:49:31.809 +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/04 10:49:31.831 +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-04 10:49:31.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.852 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=2.049355ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.855 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.855 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:49:31.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=9] ["take time"=9.554877ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.868 +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-04 10:49:31.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.881 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:49:31.881 +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/04 10:49:31.896 +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-04 10:49:31.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.896 +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-04 10:49:31.859 +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/04 10:49:31.902 +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-04 10:49:31.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.923 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.306687ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.926 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.926 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:49:31.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=10] ["take time"=9.09733ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.939 +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-04 10:49:31.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.953 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:49:31.953 +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/04 10:49:31.968 +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-04 10:49:31.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:31.968 +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-04 10:49:31.909 +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/04 10:49:31.974 +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-04 10:49:31.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:31.975 +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/04 10:49:31.994 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.302676ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:31.997 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:31.997 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:49:31.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=11] ["take time"=9.130488ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:31.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.011 +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-04 10:49:31.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.024 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:49:32.024 +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/04 10:49:32.026 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:32.041 +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-04 10:49:32.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.041 +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-04 10:49:32.009 +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/04 10:49:32.048 +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-04 10:49:32.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.075 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.108436ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.078 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.078 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:49:32.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=12] ["take time"=10.093753ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.093 +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-04 10:49:32.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.110 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:49:32.110 +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/04 10:49:32.126 +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-04 10:49:32.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.126 +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-04 10:49:32.109 +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/04 10:49:32.132 +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-04 10:49:32.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.697559ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.159 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:49:32.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=13] ["take time"=9.979031ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.173 +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-04 10:49:32.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.188 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:49:32.188 +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/04 10:49:32.203 +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-04 10:49:32.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.203 +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-04 10:49:32.159 +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/04 10:49:32.209 +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-04 10:49:32.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.228 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.307236ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.232 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.232 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:49:32.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=14] ["take time"=8.764448ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.245 +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-04 10:49:32.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.260 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:49:32.260 +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/04 10:49:32.276 +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-04 10:49:32.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.276 +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-04 10:49:32.259 +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/04 10:49:32.282 +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-04 10:49:32.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.302 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.165093ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.306 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.306 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:49:32.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=15] ["take time"=9.670255ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.319 +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-04 10:49:32.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.337 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:49:32.337 +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/04 10:49:32.352 +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-04 10:49:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.352 +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-04 10:49:32.31 +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/04 10:49:32.358 +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-04 10:49:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.378 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.115065ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.381 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:49:32.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=16] ["take time"=9.742691ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.394 +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-04 10:49:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.407 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:49:32.407 +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/04 10:49:32.421 +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-04 10:49:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.421 +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-04 10:49:32.41 +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/04 10:49:32.427 +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-04 10:49:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.447 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.171427ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.450 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.451 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:49:32.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=17] ["take time"=9.37617ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.464 +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-04 10:49:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.477 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:49:32.478 +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/04 10:49:32.494 +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-04 10:49:32.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.494 +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-04 10:49:32.459 +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/04 10:49:32.499 +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-04 10:49:32.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.520 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.219454ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.523 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.523 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:49:32.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=18] ["take time"=9.379116ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.537 +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-04 10:49:32.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.550 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:49:32.551 +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/04 10:49:32.567 +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-04 10:49:32.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.567 +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-04 10:49:32.509 +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/04 10:49:32.574 +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-04 10:49:32.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.601 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.284717ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.604 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.605 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:49:32.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=19] ["take time"=10.547015ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.618 +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-04 10:49:32.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.635 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:49:32.635 +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/04 10:49:32.656 +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-04 10:49:32.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 11s remote-cache, linux-sandbox [2025/04/04 10:49:32.656 +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-04 10:49:32.609 +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/04 10:49:32.662 +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-04 10:49:32.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.221536ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.685 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:49:32.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=20] ["take time"=9.165673ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.698 +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-04 10:49:32.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.711 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:49:32.711 +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/04 10:49:32.719 +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/04 10:49:32.724 +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-04 10:49:32.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.724 +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-04 10:49:32.709 +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/04 10:49:32.730 +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-04 10:49:32.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.747 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.747314ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.750 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.751 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:49:32.752 +00:00] [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.828321ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.763 +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-04 10:49:32.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:49:32.775 +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/04 10:49:32.786 +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-04 10:49:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.786 +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-04 10:49:32.76 +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/04 10:49:32.791 +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-04 10:49:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.808 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.575203ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.811 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.811 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:49:32.813 +00:00] [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.64159ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.823 +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-04 10:49:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.834 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:49:32.834 +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/04 10:49:32.849 +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-04 10:49:32.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.849 +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-04 10:49:32.809 +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/04 10:49:32.855 +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-04 10:49:32.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.877 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.625409ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.881 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.881 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:49:32.882 +00:00] [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.641458ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.894 +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-04 10:49:32.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:49:32.909 +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/04 10:49:32.922 +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-04 10:49:32.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.922 +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-04 10:49:32.909 +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/04 10:49:32.927 +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-04 10:49:32.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.946 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.005737ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:32.950 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:32.950 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:49:32.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=24] ["take time"=8.770286ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.961 +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-04 10:49:32.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:32.974 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:32.974 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:49:32.974 +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/04 10:49:32.974 +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/04 10:49:32.988 +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-04 10:49:32.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:32.988 +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-04 10:49:32.959 +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/04 10:49:32.993 +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-04 10:49:32.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.058916ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.016 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.016 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:49:33.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=25] ["take time"=8.748777ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:32.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.028 +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-04 10:49:32.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.042 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:49:33.044 +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/04 10:49:33.058 +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-04 10:49:33.009 +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/04 10:49:33.058 +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-04 10:49:33.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.064 +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-04 10:49:33.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.083 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.893023ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.086 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.086 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:49:33.088 +00:00] [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.975486ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.098 +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-04 10:49:33.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.111 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:49:33.111 +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/04 10:49:33.125 +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-04 10:49:33.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.125 +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-04 10:49:33.109 +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/04 10:49:33.130 +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-04 10:49:33.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.150 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.966561ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.153 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:49:33.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=27] ["take time"=9.15237ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.166 +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-04 10:49:33.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.179 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:49:33.179 +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/04 10:49:33.193 +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-04 10:49:33.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.193 +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-04 10:49:33.159 +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/04 10:49:33.199 +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-04 10:49:33.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=2.382939ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.223 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:49:33.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=28] ["take time"=10.633696ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.236 +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-04 10:49:33.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:49:33.250 +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/04 10:49:33.252 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:33.265 +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-04 10:49:33.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.265 +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-04 10:49:33.209 +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/04 10:49:33.271 +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-04 10:49:33.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.292 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.290052ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.295 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.295 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:49:33.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=29] ["take time"=9.186871ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.308 +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-04 10:49:33.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:49:33.322 +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/04 10:49:33.336 +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-04 10:49:33.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.336 +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-04 10:49:33.309 +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/04 10:49:33.342 +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-04 10:49:33.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.364 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.478627ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.367 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.367 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:49:33.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=30] ["take time"=9.501768ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.381 +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-04 10:49:33.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.395 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:49:33.395 +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/04 10:49:33.410 +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-04 10:49:33.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.411 +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-04 10:49:33.359 +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/04 10:49:33.417 +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-04 10:49:33.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.439 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.754896ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.443 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.443 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:49:33.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=31] ["take time"=10.143377ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.456 +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-04 10:49:33.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.469 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:49:33.470 +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/04 10:49:33.487 +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-04 10:49:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.487 +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-04 10:49:33.46 +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/04 10:49:33.493 +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-04 10:49:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.521 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.322302ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.525 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.525 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:49:33.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=32] ["take time"=9.982634ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.539 +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-04 10:49:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.557 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:49:33.557 +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/04 10:49:33.569 +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-04 10:49:33.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.569 +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-04 10:49:33.559 +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/04 10:49:33.574 +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-04 10:49:33.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.591 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.609783ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.594 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.594 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:49: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=33] ["take time"=8.310985ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.605 +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-04 10:49:33.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.618 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:49:33.618 +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/04 10:49:33.635 +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-04 10:49:33.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.635 +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-04 10:49:33.61 +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/04 10:49:33.641 +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-04 10:49:33.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.663 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.154476ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:33.666 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.667 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:49:33.668 +00:00] [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.971123ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.679 +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-04 10:49:33.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.692 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:49:33.706 +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-04 10:49:33.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.706 +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-04 10:49:33.659 +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/04 10:49:33.712 +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-04 10:49:33.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.733 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.16655ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.736 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.736 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:49: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=35] ["take time"=9.952926ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.748 +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-04 10:49:33.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.761 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:49:33.761 +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/04 10:49:33.774 +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-04 10:49:33.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.774 +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-04 10:49:33.759 +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/04 10:49:33.780 +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-04 10:49:33.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.803 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.945892ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.807 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.807 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:49:33.809 +00:00] [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"=9.467745ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.820 +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-04 10:49:33.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.832 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:49:33.832 +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/04 10:49:33.846 +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-04 10:49:33.81 +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/04 10:49:33.846 +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-04 10:49:33.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.851 +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-04 10:49:33.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.860537ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.873 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:49:33.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=37] ["take time"=8.683673ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.885 +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-04 10:49:33.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.897 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:49:33.897 +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/04 10:49:33.914 +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-04 10:49:33.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:33.914 +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-04 10:49:33.859 +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/04 10:49:33.921 +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-04 10:49:33.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.570978ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:33.954 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:33.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:49:33.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=38] ["take time"=10.836074ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.969 +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-04 10:49:33.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:33.987 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:49:33.987 +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/04 10:49:34.004 +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-04 10:49:33.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.003 +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-04 10:49:33.959 +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/04 10:49:34.010 +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-04 10:49:33.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.038 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.278446ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.041 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.041 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:49:34.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=39] ["take time"=10.094752ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.055 +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-04 10:49:33.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.072 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:49:34.072 +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/04 10:49:34.091 +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-04 10:49:34.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.091 +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-04 10:49:34.059 +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/04 10:49:34.098 +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-04 10:49:34.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.127 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.768984ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.130 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.130 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:49:34.132 +00:00] [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"=11.008893ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.146 +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-04 10:49:34.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.165 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:49:34.165 +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/04 10:49:34.183 +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-04 10:49:34.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.183 +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-04 10:49:34.159 +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/04 10:49:34.191 +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-04 10:49:34.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.222 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.789607ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.225 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:49:34.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=41] ["take time"=10.566703ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.241 +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-04 10:49:34.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.260 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:49:34.260 +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/04 10:49:34.278 +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-04 10:49:34.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.278 +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-04 10:49:34.259 +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/04 10:49:34.285 +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-04 10:49:34.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.316 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.943132ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.320 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.320 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:49:34.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=42] ["take time"=10.903288ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.335 +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-04 10:49:34.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.354 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:49:34.354 +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/04 10:49:34.371 +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-04 10:49:34.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.371 +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-04 10:49:34.359 +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/04 10:49:34.378 +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-04 10:49:34.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.550145ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.410 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:49:34.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=43] ["take time"=10.53639ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.425 +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-04 10:49:34.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.442 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:49:34.442 +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/04 10:49:34.458 +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-04 10:49:34.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.458 +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-04 10:49:34.409 +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/04 10:49:34.465 +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-04 10:49:34.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.489 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.882074ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.492 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.493 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:49:34.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=44] ["take time"=9.575877ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.506 +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-04 10:49:34.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.522 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:49:34.523 +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/04 10:49:34.539 +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-04 10:49:34.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.539 +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-04 10:49:34.509 +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/04 10:49:34.545 +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-04 10:49:34.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.575 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.937828ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.579 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:49:34.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=45] ["take time"=10.910244ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.594 +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-04 10:49:34.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.609 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:49:34.609 +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/04 10:49:34.628 +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-04 10:49:34.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.628 +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-04 10:49:34.609 +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/04 10:49:34.635 +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-04 10:49:34.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.666 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.917417ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.670 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.670 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:49:34.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=46] ["take time"=11.013367ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.685 +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-04 10:49:34.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.704 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:49:34.705 +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/04 10:49:34.720 +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-04 10:49:34.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [4,636 / 4,637] [Prepa] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test [2025/04/04 10:49:34.720 +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-04 10:49:34.71 +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/04 10:49:34.726 +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-04 10:49:34.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.751 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.776425ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.754 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.755 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:49:34.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=47] ["take time"=9.503559ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.768 +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-04 10:49:34.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.784 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:49:34.784 +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/04 10:49:34.798 +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-04 10:49:34.759 +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/04 10:49:34.798 +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-04 10:49:34.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.803 +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-04 10:49:34.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.823 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.028944ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.826 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.826 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:49: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=48] ["take time"=9.272215ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.839 +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-04 10:49:34.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.852 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:49:34.852 +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/04 10:49:34.866 +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-04 10:49:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.866 +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-04 10:49:34.81 +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/04 10:49:34.871 +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-04 10:49:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.891 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.108139ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.895 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:49:34.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=49] ["take time"=9.204527ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.907 +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-04 10:49:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.920 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:49:34.920 +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/04 10:49:34.921 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:34.934 +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-04 10:49:34.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.934 +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-04 10:49:34.909 +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/04 10:49:34.940 +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-04 10:49:34.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.959 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.171104ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.963 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.963 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:49:34.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=50] ["take time"=9.1015ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.975 +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-04 10:49:34.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.982 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:34.982 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:34.982 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:34.982 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:34.989 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:49:34.990 +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/04 10:49:35.000 +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-04 10:49:34.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.000 +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-04 10:49:34.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:49:35.005 +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-04 10:49:34.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.018 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=685.8Β΅s] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:35.022 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.022 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:49:35.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=51] ["take time"=7.906697ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.034 +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-04 10:49:34.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.045 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:49:35.045 +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/04 10:49:35.060 +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-04 10:49:35.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.060 +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-04 10:49:35.009 +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/04 10:49:35.066 +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-04 10:49:35.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.085 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.770108ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:35.088 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.088 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:49:35.090 +00:00] [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.52136ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.100 +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-04 10:49:35.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.113 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:49:35.129 +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-04 10:49:35.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.129 +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-04 10:49:35.109 +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/04 10:49:35.135 +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-04 10:49:35.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.161 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.108223ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.164 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.164 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:49:35.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=53] ["take time"=9.870387ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.178 +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-04 10:49:35.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.194 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:49:35.194 +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/04 10:49:35.208 +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-04 10:49:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.208 +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-04 10:49:35.16 +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/04 10:49:35.214 +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-04 10:49:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.235 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.222359ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.238 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.238 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:49:35.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"=10.04957ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.251 +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-04 10:49:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.264 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:49:35.264 +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/04 10:49:35.280 +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-04 10:49:35.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.280 +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-04 10:49:35.259 +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/04 10:49:35.285 +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-04 10:49:35.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.308 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.523922ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.312 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.312 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:49:35.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=55] ["take time"=10.235381ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.325 +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-04 10:49:35.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.340 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:49:35.340 +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/04 10:49:35.494 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.516147912s] [2025/04/04 10:49:35.497 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:35.497 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [] [2025/04/04 10:49:35.497 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:35.497 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.497 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:35.497 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:35.497 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=48.719Β΅s] [2025/04/04 10:49:35.497 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=39.618Β΅s] [2025/04/04 10:49:35.497 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=31.578Β΅s] [2025/04/04 10:49:35.497 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=32.514Β΅s] [2025/04/04 10:49:35.497 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=43.302Β΅s] [2025/04/04 10:49:35.497 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=30.533Β΅s] [2025/04/04 10:49:35.497 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=38.912Β΅s] [2025/04/04 10:49:35.498 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=30.168Β΅s] [2025/04/04 10:49:35.498 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=30.915Β΅s] [2025/04/04 10:49:35.498 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=27.757Β΅s] [2025/04/04 10:49:35.498 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.498 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.499 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:35.499 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:35.508 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c6a19857-95d4-4886-93ac-afd36f393864] ["take time"=12.050639ms] [2025/04/04 10:49:35.509 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.509 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1782] [2025/04/04 10:49:35.510 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:35.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:35.510 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:35.510 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:35.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:35.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:35.510 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:35.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:35.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:35.510 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [] [2025/04/04 10:49:35.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:35.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:35.510 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:35.510 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [2025/04/04 10:49:35.510 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [2025/04/04 10:49:35.510 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [2025/04/04 10:49:35.511 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:35.511 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:35.511 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=682fc020-4bb6-47ed-b35c-fdbbcfefd2db] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:35.511 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:35.511 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:35.511 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:35.511 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:35.511 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:35.515 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.030516ms] [2025/04/04 10:49:35.516 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407901033089673] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:35.526 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:35.564 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=100] ["lease id"=6f18960069df0567] [2025/04/04 10:49:35.567 +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/04 10:49:35.686 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.890839ms] [2025/04/04 10:49:35.686 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:35.696 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c6a19857-95d4-4886-93ac-afd36f393864] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:35.696 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:35.698 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [lease=2231960069db1d5b] [2025/04/04 10:49:35.698 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:35.698 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 211299524608/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:35.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:35.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:35.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:35.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:35.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:35.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:35.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:35.698 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:35.699 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:35.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:35.699 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:35.699 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:35.699 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0472f0cb-f650-449c-9629-b7c80f247871] [2025/04/04 10:49:35.701 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069db1d5b] [ownerID=c6a19857-95d4-4886-93ac-afd36f393864] [op=none] [2025/04/04 10:49:35.701 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.701 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [ownerKey=/tidb/ddl/fg/owner/2231960069db1d5b] [currRev=276] [2025/04/04 10:49:35.701 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:35.701 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0472f0cb-f650-449c-9629-b7c80f247871] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:35.702 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069df087a] [ownerID=0472f0cb-f650-449c-9629-b7c80f247871] [op=none] [2025/04/04 10:49:35.702 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0472f0cb-f650-449c-9629-b7c80f247871] [2025/04/04 10:49:35.702 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:35.702 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0472f0cb-f650-449c-9629-b7c80f247871] [ownerKey=/tidb/br-stream/owner/3eaa960069df087a] [currRev=276] [2025/04/04 10:49:35.703 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069db1d5b] [ownerID=c6a19857-95d4-4886-93ac-afd36f393864] [op=none] [2025/04/04 10:49:35.703 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [op=none] [2025/04/04 10:49:35.703 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:35.710 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.711 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:35.711 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:35.713 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f18960069df056f] [ownerID=c6a19857-95d4-4886-93ac-afd36f393864] [op=none] [2025/04/04 10:49:35.713 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.713 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [ownerKey=/tidb/bindinfo/owner/6f18960069df056f] [currRev=277] [2025/04/04 10:49:35.720 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:49:35.723 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:35.723 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:35.730 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:35.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:35.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:35.738 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:35.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:35.738 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:35.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:35.738 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:35.738 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:35.738 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:35.739 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:35.739 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:35.741 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:35.741 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:35.741 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:35.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:35.742 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:35.742 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:35.743 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069df0881] [ownerID=c6a19857-95d4-4886-93ac-afd36f393864] [op=none] [2025/04/04 10:49:35.743 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.743 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [ownerKey=/tidb/stats/owner/3eaa960069df0881] [currRev=278] [2025/04/04 10:49:35.744 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=72] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 10:49:35.746 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1f76ad38-d032-4b68-b658-a028fa58ff91] [2025/04/04 10:49:35.747 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [ttl-worker=task-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [originalCount=0] [newCount=4] [2025/04/04 10:49:35.747 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [ttl-worker=task-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [originalCount=0] [newCount=4] [2025/04/04 10:49:35.747 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:35.749 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:35.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:35.755 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:35.756 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763775756573587 [2025/04/04 10:49:35.758 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:35.765 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.078511ms] [2025/04/04 10:49:35.765 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:35.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:35.769 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743763775770705415 [2025/04/04 10:49:35.796 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] === RUN TestImportInto/TestCastNegativeToUnsigned [2025/04/04 10:49:35.799 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:49:35.811 +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-04 10:49:35.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:49:35.811 +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-04 10:49:35.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.816 +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-04 10:49:35.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.917 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=86.257063ms] [2025/04/04 10:49:35.917 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 10:49:35.917 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:35.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:49:35.923 +00:00] [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"=94.253354ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.934 +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-04 10:49:35.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.944 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:49:35.944 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 10:49:35.957 +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-04 10:49:35.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.957 +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-04 10:49:35.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int unsigned)"] [2025/04/04 10:49:35.963 +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-04 10:49:35.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.967 +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/04 10:49:35.981 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.370025ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 10:49:35.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=57] ["take time"=7.977802ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.997 +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-04 10:49:35.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:49:36.009 +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/04 10:49:36.048 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=6f1500d3-965f-4fe2-b4df-4b9f28f87c96] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/04 10:49:36.048 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=dt] [import_dir=/tmp/tidb/import-4000] [2025/04/04 10:49:36.054 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:36.054 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:36.055 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.055 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:36.055 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.055 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.055 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.055 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.055 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.056 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.069 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:36.071 +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/04 10:49:36.071 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=373.5GB] [2025/04/04 10:49:36.075 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:49:36.078 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:49:36.079 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=6f1500d3-965f-4fe2-b4df-4b9f28f87c96] [key=import-from-select] [2025/04/04 10:49:36.079 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=6f1500d3-965f-4fe2-b4df-4b9f28f87c96] [key=import-from-select] [2025/04/04 10:49:36.079 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=6f1500d3-965f-4fe2-b4df-4b9f28f87c96] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=155.755Β΅s] [] [2025/04/04 10:49:36.079 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [table=dt] [import-id=6f1500d3-965f-4fe2-b4df-4b9f28f87c96] [key=import-from-select] [takeTime=187.945Β΅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/04 10:49:36.080 +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/04 10:49:36.081 +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.290243ms] [] [2025/04/04 10:49:36.081 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:49:36.082 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=925.402Β΅s] [] [2025/04/04 10:49:36.082 +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/04 10:49:36.083 +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.231818ms] [] [2025/04/04 10:49:36.083 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:49:36.084 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=725.397Β΅s] [] [2025/04/04 10:49:36.085 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.085 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.085 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.085 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.085 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.085 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.085 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.085 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.085 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.085 +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/04 10:49:36.085 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.086 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.087 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:36.087 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.087 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.087 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.088 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:49:36.088 +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/04 10:49:36.129 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/04 10:49:36.135 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:36.135 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:36.136 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.136 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:36.136 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.136 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.136 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.136 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.137 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.137 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.148 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:36.150 +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/04 10:49:36.150 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=373.5GB] [2025/04/04 10:49:36.154 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:49:36.157 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:49:36.159 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [key=import-from-select] [2025/04/04 10:49:36.168 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [key=import-from-select] [2025/04/04 10:49:36.169 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=97.568Β΅s] [] [2025/04/04 10:49:36.169 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [key=import-from-select] [readDur=9.874Β΅s] [encodeDur=95.905Β΅s] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [deliverDur=202.749Β΅s] [type=query] [takeTime=536.928Β΅s] [] [2025/04/04 10:49:36.169 +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/55e4d529-4dda-437b-a8f4-921db5f54269/fcd3180d-f69e-5c83-84c0-56cb80b9aeb7.sst/8778c761-8641-4ef4-8628-2f757ba94a19.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000001] [2025/04/04 10:49:36.169 +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/04 10:49:36.171 +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.962502ms] [] [2025/04/04 10:49:36.171 +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/04 10:49:36.175 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:36.197 +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/04 10:49:36.197 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:36.199 +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/04 10:49:36.211 +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/04 10:49:36.212 +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=41.201409ms] [] [2025/04/04 10:49:36.213 +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/04 10:49:36.214 +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.207709ms] [] [2025/04/04 10:49:36.214 +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/04 10:49:36.217 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:49:36.217 +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.527516ms] [] [2025/04/04 10:49:36.217 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [2025/04/04 10:49:36.217 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [2025/04/04 10:49:36.223 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [takeTime=5.592058ms] [] [2025/04/04 10:49:36.223 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/04 10:49:36.223 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [weight=30] [2025/04/04 10:49:36.223 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [concurrency=15] [2025/04/04 10:49:36.225 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=1186353398217297746] [totalKvs=1] [totalBytes=29] [2025/04/04 10:49:36.226 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:36.226 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [local="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/04 10:49:36.226 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dt] [import-id=55e4d529-4dda-437b-a8f4-921db5f54269] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [takeTime=8.122029ms] [] [2025/04/04 10:49:36.226 +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/04 10:49:36.226 +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.026Β΅s] [] [2025/04/04 10:49:36.226 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 10:49:36.227 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=1.072848ms] [] [2025/04/04 10:49:36.227 +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/04 10:49:36.227 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=7.92Β΅s] [] [2025/04/04 10:49:36.227 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 10:49:36.228 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=872.573Β΅s] [] [2025/04/04 10:49:36.231 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.231 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.231 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.231 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.231 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.231 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.231 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.231 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.231 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.231 +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/04 10:49:36.231 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.231 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.233 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:36.233 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.233 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.233 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestCastNegativeToUnsigned (0.44s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectBasic [2025/04/04 10:49:36.249 +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-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.249 +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-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 10:49:36.254 +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-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=142.823Β΅s] [gotSchemaVersion=58] [phyTblIDs="[114]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:36.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=58] [2025/04/04 10:49:36.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=58] ["take time"=6.902316ms] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.284 +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-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=114.617Β΅s] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:36.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=59] [2025/04/04 10:49:36.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=59] ["take time"=6.576132ms] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.308 +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-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.313 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:49:36.323 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=123.25Β΅s] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:36.326 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/04 10:49:36.328 +00:00] [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.811791ms] [job="ID:116, Type:drop schema, State:done, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.337 +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/04 10:49:36.344 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop schema"] [2025/04/04 10:49:36.345 +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-04 10:49:36.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.360 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/04 10:49:36.361 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:49:36.372 +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-04 10:49:36.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:49:36.372 +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-04 10:49:36.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.378 +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-04 10:49:36.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.391 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=662.658Β΅s] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:36.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=61] [2025/04/04 10:49:36.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=61] ["take time"=7.588221ms] [job="ID:118, Type:create schema, State:done, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.406 +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-04 10:49:36.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.416 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/04 10:49:36.416 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 10:49:36.429 +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-04 10:49:36.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.429 +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-04 10:49:36.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/04 10:49:36.435 +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-04 10:49:36.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.439 +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/04 10:49:36.452 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.564415ms] [gotSchemaVersion=62] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.455 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/04 10:49:36.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=62] ["take time"=6.971063ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.468 +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-04 10:49:36.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.479 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/04 10:49:36.479 +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/04 10:49:36.491 +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-04 10:49:36.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/04 10:49:36.491 +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-04 10:49:36.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.497 +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-04 10:49:36.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.501 +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/04 10:49:36.515 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.537568ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.519 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/04 10:49:36.521 +00:00] [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.782035ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.532 +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-04 10:49:36.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 10:49:36.542 +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/04 10:49:36.549 +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/04 10:49:36.550 +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/04 10:49:36.601 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=121] [2025/04/04 10:49:36.607 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:36.608 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:36.608 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.608 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:36.608 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.608 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.608 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.608 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.609 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.609 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.621 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:36.623 +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/04 10:49:36.623 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:49:36.626 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:36.629 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:36.667 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [key=import-from-select] [2025/04/04 10:49:36.668 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [key=import-from-select] [readDur=25.63Β΅s] [encodeDur=664.853Β΅s] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [deliverDur=195.714Β΅s] [type=query] [takeTime=1.20497ms] [] [2025/04/04 10:49:36.669 +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/89466c12-dbf5-4f65-bc1b-77fb2cdda8f7/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/b3922340-2346-4d3b-9f40-07c62fd0b8b4.sst] [firstKey=7480000000000000795F728000000000000001] [lastKey=7480000000000000795F728000000000000004] [2025/04/04 10:49:36.669 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [key=import-from-select] [2025/04/04 10:49:36.669 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=80.832Β΅s] [] [2025/04/04 10:49:36.669 +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/04 10:49:36.671 +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.568427ms] [] [2025/04/04 10:49:36.671 +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/04 10:49:36.675 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:36.697 +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/04 10:49:36.697 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:36.699 +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/04 10:49:36.707 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:36.707 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:36.707 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:36.707 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:36.709 +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/04 10:49:36.711 +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.968975ms] [] [2025/04/04 10:49:36.711 +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/04 10:49:36.713 +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.463188ms] [] [2025/04/04 10:49:36.713 +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/04 10:49:36.716 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:36.716 +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.693358ms] [] [2025/04/04 10:49:36.716 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/04 10:49:36.717 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [2025/04/04 10:49:36.723 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [takeTime=6.048217ms] [] [2025/04/04 10:49:36.723 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 10:49:36.723 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [weight=30] [2025/04/04 10:49:36.723 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [concurrency=15] [2025/04/04 10:49:36.725 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=121] [physicalTableID=121] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 10:49:36.725 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:36.725 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 10:49:36.725 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=89466c12-dbf5-4f65-bc1b-77fb2cdda8f7] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=8.498369ms] [] [2025/04/04 10:49:36.725 +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/04 10:49:36.725 +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.028Β΅s] [] [2025/04/04 10:49:36.725 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:36.726 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=975.921Β΅s] [] [2025/04/04 10:49:36.726 +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/04 10:49:36.726 +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.778Β΅s] [] [2025/04/04 10:49:36.726 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:36.727 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=871.639Β΅s] [] [2025/04/04 10:49:36.730 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.730 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.730 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.730 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.730 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.730 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.730 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.730 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.730 +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/04 10:49:36.730 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.730 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.730 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.733 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:36.733 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.733 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.733 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.742 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:49:36.743 +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/04 10:49:36.747 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:36.747 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:36.747 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1f76ad38-d032-4b68-b658-a028fa58ff91] [watcherID=5242168f-e40e-4d5f-b4c1-ad43d109cef7] [2025/04/04 10:49:36.755 +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-04 10:49:36.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.755 +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-04 10:49:36.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:49:36.756 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:36.759 +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-04 10:49:36.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.760 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=72] [2025/04/04 10:49:36.760 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:36.760 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:36.760 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:36.760 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:36.766 +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/04 10:49:36.781 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.423677ms] [gotSchemaVersion=64] [phyTblIDs="[121,123]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:36.784 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/04 10:49:36.785 +00:00] [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.096389ms] [job="ID:124, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.795 +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/04 10:49:36.799 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="truncate table"] [2025/04/04 10:49:36.800 +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-04 10:49:36.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.816 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 10:49:36.816 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:49:36.857 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=123] [2025/04/04 10:49:36.864 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:36.864 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:36.864 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.864 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:36.864 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.864 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.864 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.864 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.865 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.865 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.876 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:36.878 +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/04 10:49:36.878 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:49:36.881 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:36.885 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:36.885 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [key=import-from-select] [2025/04/04 10:49:36.885 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [key=import-from-select] [2025/04/04 10:49:36.886 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [key=import-from-select] [readDur=4.306Β΅s] [encodeDur=84.784Β΅s] [checksum="{cksum=17677677924021734206,size=38,kvs=1}"] [deliverDur=193.726Β΅s] [type=query] [takeTime=562.891Β΅s] [] [2025/04/04 10:49:36.886 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [key=import-from-select] [readDur=4.5Β΅s] [encodeDur=89.492Β΅s] [checksum="{cksum=2314861639778060572,size=38,kvs=1}"] [deliverDur=202.617Β΅s] [type=query] [takeTime=545.822Β΅s] [] [2025/04/04 10:49:36.886 +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/04 10:49:36.886 +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/a683b866-57ce-4282-9c6f-e5704afafe0a/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/02db7f67-0c3a-4860-9664-209298fbbd83.sst] [firstKey=74800000000000007B5F728000000000000001] [lastKey=74800000000000007B5F728000000000000001] [2025/04/04 10:49:36.887 +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/a683b866-57ce-4282-9c6f-e5704afafe0a/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/7640e681-7fdc-42c6-8fa3-131d47428220.sst] [firstKey=74800000000000007B5F728000000000000002] [lastKey=74800000000000007B5F728000000000000002] [2025/04/04 10:49:36.889 +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.749599ms] [] [2025/04/04 10:49:36.889 +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/04 10:49:36.894 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:36.916 +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/04 10:49:36.916 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:36.918 +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/04 10:49:36.928 +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/04 10:49:36.930 +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.632707ms] [] [2025/04/04 10:49:36.930 +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/04 10:49:36.931 +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.36675ms] [] [2025/04/04 10:49:36.931 +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/04 10:49:36.935 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:36.935 +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.448658ms] [] [2025/04/04 10:49:36.935 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [2025/04/04 10:49:36.935 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [2025/04/04 10:49:36.940 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [takeTime=5.149103ms] [] [2025/04/04 10:49:36.940 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [checksum="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/04 10:49:36.940 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [weight=30] [2025/04/04 10:49:36.940 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [concurrency=15] [2025/04/04 10:49:36.942 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=123] [physicalTableID=123] [indexID=-1] [checksum=15380830721546568226] [totalKvs=2] [totalBytes=76] [2025/04/04 10:49:36.942 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:36.942 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [local="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/04 10:49:36.942 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=a683b866-57ce-4282-9c6f-e5704afafe0a] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [takeTime=7.403954ms] [] [2025/04/04 10:49:36.943 +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/04 10:49:36.943 +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.984Β΅s] [] [2025/04/04 10:49:36.943 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:36.944 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.074807ms] [] [2025/04/04 10:49:36.944 +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/04 10:49:36.944 +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.415Β΅s] [] [2025/04/04 10:49:36.944 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:36.945 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=833.782Β΅s] [] [2025/04/04 10:49:36.947 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:36.947 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:36.947 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:36.947 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:36.947 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:36.947 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:36.947 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:36.947 +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/04 10:49:36.948 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.948 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.948 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.948 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:36.949 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:36.950 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:36.950 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:36.950 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:36.963 +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-04 10:49:36.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.964 +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-04 10:49:36.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table src"] [2025/04/04 10:49:36.969 +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-04 10:49:36.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.976 +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/04 10:49:36.989 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.417259ms] [gotSchemaVersion=65] [phyTblIDs="[119,125]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:36.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/04 10:49:36.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=65] ["take time"=10.010774ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.008 +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/04 10:49:37.012 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="truncate table"] [2025/04/04 10:49:37.013 +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-04 10:49:36.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.030 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 10:49:37.030 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=from_select] [sql="truncate table src"] [user=] [2025/04/04 10:49:37.043 +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-04 10:49:37.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:49:37.043 +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-04 10:49:37.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.049 +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-04 10:49:37.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.057 +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/04 10:49:37.072 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.645836ms] [gotSchemaVersion=66] [phyTblIDs="[123,127]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:37.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/04 10:49:37.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=66] ["take time"=9.065893ms] [job="ID:128, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.089 +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/04 10:49:37.093 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="truncate table"] [2025/04/04 10:49:37.094 +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-04 10:49:37.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.111 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:49:37.112 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:49:37.522 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457117211625783298\n# Conn_ID: 2\n# Query_time: 0.37536962\n# Parse_time: 0.056084584\n# Compile_time: 0.080469349\n# Rewrite_time: 0.018565017\n# Optimize_time: 0.000246796\n# Wait_TS: 0.00011712\n# Prewrite_time: 0.022208143 Commit_time: 0.008752483 Get_commit_ts_time: 0.000383381 Slowest_prewrite_rpc_detail: {total:0.017s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 577.9Β΅s, total_suspend_time: 1.06ms, tikv_grpc_process_time: 72.7Β΅s, tikv_grpc_wait_time: 22.6Β΅s, tikv_wall_time: 3.09ms}, scan_detail: {get_snapshot_time: 6.75Β΅s, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 94.4Β΅s, propose_send_wait: 0s, persist_log: {total: 177.4Β΅s, write_leader_wait: 40ns, sync_log: 126.9Β΅s, write_memtable: 785ns}, commit_log: 424Β΅s, apply_batch_wait: 14.3Β΅s, apply: {total:485.9Β΅s, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 48.9Β΅s, write_memtable: 264.7Β΅s}, scheduler: {process: 1.61ms, latch_wait: 1.35ms}}} Commit_primary_rpc_detail: {total:0.006s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 1.81ms, total_suspend_time: 3.36ms, tikv_grpc_process_time: 111.8Β΅s, tikv_grpc_wait_time: 17.2Β΅s, tikv_wall_time: 5.55ms}, scan_detail: {get_snapshot_time: 7.83Β΅s, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 99.6Β΅s, propose_send_wait: 0s, persist_log: {total: 302.3Β΅s, write_leader_wait: 34ns, sync_log: 153.3Β΅s, write_memtable: 1.85Β΅s}, commit_log: 837Β΅s, apply_batch_wait: 10.8Β΅s, apply: {total:2.39ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 99.1Β΅s, write_memtable: 1.37ms}, scheduler: {process: 5.15ms, latch_wait: 239.9Β΅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('8xrwcTAJMjdfMQkwCTAJTi9BCTAJdGltZToxOTYuM21zLCBvcGVuOjEyLjXCtXMsIGNsb3NlOjIxLjLCtXMsIGxvb3BzOjEsIHByZXBhcmU6IHt0b3RhbDogMzMuNG1zLCBhdXRvX2lkX2FsbG9jYXRvcjogewUMUF9jbnQ6IDEsIEdldDp7bnVtX3JwYwFLAHQBQQBfBYUoNDcxLjLCtXN9LCABEBxfZGV0YWlsOg1lHF9wcm9jZXNzCSwQIDQ1LjMFlQlBDHdhaXQNGgQzMTIaAChrdl9yZWFkX3dhbA1oECA4My44CTwcaWt2X2dycGM6XQAMMy43MTohAB1hDDEyLjkZHh1YCDk5LiE4GH0sIHNjYW4+wAAMa2V5cyUDKGdldF9zbmFwc2hvEbQEMTAFUXhyb2Nrc2RiOiB7YmxvY2s6IHtjYWNoZV9oaXRfY291IUMkMn19fSwgY29tbQHxRHhuOiB7cHJld3JpdGU6MS4xOCHFAWERIhBzOjM0NAWXETYMOjk2My0iHHNsb3dlc3RfEUIllS1wbDogMC4wMDFzLCByZWdpb25faWQ6IDEwLCBzdG8h+zgxMjcuMC4wLjE6MjAxNjCOtAEEMTAtOCX0GHN1c3BlbmQtthA1NDEuNyUFXpUBBDIxDccZITKVARk9PZMINjk1BTZClAEhJDqFAQg5LjRJF6KHASV3OeglGhRfYmF0Y2gFmxQ6IDMyLjQFmCBwcm9wb3NlX3MB8gG3QDogMHMsIHBlcnNpc3RfbG9nOXgIMTUzDTYJYBRsZWFkZXINNigxNTFucywgc3luYwk2ADkx3gktLG1lbXRhYmxlOiAyLkXFWS4FZQgzOTYlERgsIGFwcGx5Mq4ABDE4bRgFGxWRBDU4DTIUbXV0ZXhfSZoBvglyMp8AGRccd2FsOiAxNC5pSQkrGZ0IOS40IRkllxRoZWR1bGWBK23jCDogNnVkAGw9Tgg0LjFBIy4CAxxwcmltYXJ5X4FO/rkCZrkCBDQwLZFOugIIMzMxDeVZmQ3JTdwxVxkgQQINHQQxMoX1YUAEa3YhNpGmEDM5OC42qQ82TwRKuwIANAUqACxKugIlLSl+tVBGqAIEMjANQa6oAgA1sWkJXzIIAgQzNTamAgQyOA3mCSxZCQw0NDZuQQeNsEWkCDIwNI0MRYk2pAIANS2LBRs19AA2EcHKpAIANg38PpsABDEwpSdepAIIMzM5BSAALDKkAggxLjMltaGmrTkIbnVtweoJX8UGBDEsDQ4UYnl0ZTozqdQsaW5zZXJ0OjE2Mi45ocYtEjrkBQwyMi4yAR5BBREiEHM6MzgzLRcJFBA6OC43NQEnguIFCDE3czbiBQQ0LOriBQg1NzfxHErkBQwxLjA2AZV5CDYoAwQ3Mi33GSF9KQQyMi2oBR695BAzLjA5bSmnLnYHISI64gUINi434aHmKAMEOTQtZ64oAwgxNzcNNkkDMikDBDQwNikDCDEyNi1CCS15Kgg3ODVCKgMENDKhRlLMBQA0TZ02KAMINDg1DV/GKQMENDgNOz6aAAQyNmmwXioDDDEuNjEh+C7MBRAxLjM1bZbLBQQ2c/6iAl2iCDEuOAWMTqACCDMuM3KgAggxMTHtIUWDEjkKXaEEMTeN5AUeXaEINS41AewALIbIBQg3LjgW1gpGgwiFUil6askFBDk5bSWuoQIIMzAyTS0JYDKhAgQzNDqhAgA1Hj4KCS1ZoQgxLjhhXjpxCAQ4M+G0UqMCADAtTgBhDooItcsIMi4zpQDGoQIEOTntiUaaAAQzN40iAGhGbQgINS4xpSwunwIIMjM5Re0ldmLIBQw1MDAwMssFUDIwMzc2Mn0JNzI3LjUgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('/xrweQr6GgoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTk2LjNtcywgb3BlbjoxMi41wrVzLCBjbG9zZToyMS4ywrVzLCBsb29wczoxYuMOcHJlcGFyZToge3RvdGFsOiAzMy40bXMsIGF1dG9faWRfYWxsb2NhdG9yOiB7BQx4X2NudDogMSwgR2V0OntudW1fcnBjOjEsIHRvdGFsXwWGBDQ3CWoIfSwgARAgX2RldGFpbDogCWUcX3Byb2Nlc3MJLBAgNDUuMwWlCUEMd2FpdA0aBDMxMhoAKGt2X3JlYWRfd2FsDWgQIDgzLjgJPBxpa3ZfZ3JwYzpdAAwzLjcxOiEAHWEMMTIuORkeHVgEOTklORh9LCBzY2FuPsAADGtleXMlAyhnZXRfc25hcHNobxG0BDEwBVF4cm9ja3NkYjoge2Jsb2NrOiB7Y2FjaGVfaGl0X2NvdSFDJDJ9fX0sIGNvbW0B8UR4bjoge3ByZXdyaXRlOjEuMTghhgFhESIQczozNDQFlxE2DDo5NjMtIhxzbG93ZXN0XxFCJZUtcLg6IDAuMDAxcywgcmVnaW9uX2lkOiAxMCwgc3RvcmU6IDEyNy4wLjAuMToyMDE2MI60AQQxMC04JfQYc3VzcGVuZC22EDU0MS43JQVelQEEMjENxxkhMpUBGT09kwg2OTUFNkKUASEkOoUBCDkuNEkXoocBJXc56CUaFF9iYXRjaAWbFDogMzIuNAWYIHByb3Bvc2VfcwHyAbdAOiAwcywgcGVyc2lzdF9sb2c5eAgxNTMNNglgFGxlYWRlcg02KDE1MW5zLCBzeW5jCTYAOTHeCS0sbWVtdGFibGU6IDIuRcVZLgVlCDM5NiURGCwgYXBwbHkyrgAEMThtGAUbFZEENTgNMhRtdXRleF9JmgG+CXIynwAZFxx3YWw6IDE0LmlJCSsZnQg5LjQhGSWXFGhlZHVsZYErbeMIOiA2dWQAbD1OCDQuMUEjLgIDHHByaW1hcnlfgU7+uQJmuQIENDAtkU66AggzMzEN5VmZDclN3DFXGSBBAg0dCDEyLla7AhgzOTguNsK1KSQuTwRKuwIANAUqACxKugIlLSl+tVBGqAIEMjANQa6oAgA1sWkJXzIIAgQzNTamAgQyOA3mCSxZCQw0NDZuAeONsEWkCDIwNI0MRYk2pAIANS2LBRs19AA2EcHKpAIANg38PpsABDEwpSdepAIIMzM5BSAALDKkAggxLjMltaGmrTkIbnVtweoJX8UGBDEsDQ4UYnl0ZTozqdQEaW7hnSg6MTYyLjltc2K7Cy0TOuUFDDIyLjJK5QUEODMtGAk2EDo4Ljc1ASeC4wUIMTdzNuMFBDQs6uMFCDU3N/EdSuUFDDEuMDYBlXkJNikDBDcyLfgZIX0qBDIyLakFHr3lEDMuMDltKah6KAMMNi43NaWQRuMFJbIppGopAwQ5NC1nrikDCDE3Nw02CWAyKgMENDA2KgMIMTI2LUIJLXkrCDc4NUIrAwQ0MqFHUs0FADRNnjYpAwg0ODUNX8YqAwQ0OA07PpoABDI2abFeKwMMMS42MSH4Ls0FEDEuMzVtlswFBDZz/qICXaIIMS44BYxOoAIIMy4zcqACCDExMe0iRYMSOgpdoQQxN43lBR5doQg1LjUB7AAsOhgKSskFCDcuOBbXCuKhAgA5bSWuoQIIMzAyTS0p2jKhAgQzNDqhAgA1Hj8KCS1ZoQgxLjhhXjpyCAQ4M+G1UqMCADAtTgBhDosItcwMMi4zOUEuxqECBDk57YpGmgAEMzeNIgBoRm4ICDUuMaUsLp8CCDIzOUXthRdiyQUMNTAwMDLMBVwyMDM3NjJ9cKi8LXj///////////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/04 10:49:37.568 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [concurrency=8] [target-table=`from_select`.`dst`] [target-table-id=127] [2025/04/04 10:49:37.575 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:37.575 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:37.576 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:37.576 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:37.576 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:37.576 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:37.576 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:37.576 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:37.576 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:37.577 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:37.589 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:37.591 +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/04 10:49:37.591 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:49:37.595 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:37.598 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:37.599 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [2025/04/04 10:49:37.599 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [2025/04/04 10:49:37.599 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [2025/04/04 10:49:37.599 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [2025/04/04 10:49:37.599 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [2025/04/04 10:49:37.599 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [2025/04/04 10:49:37.600 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [2025/04/04 10:49:37.600 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [2025/04/04 10:49:37.652 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [readDur=24.66921ms] [encodeDur=21.608578ms] [checksum="{cksum=1077432428640947165,size=24919,kvs=611}"] [deliverDur=2.062601ms] [type=query] [takeTime=52.423309ms] [] [2025/04/04 10:49:37.652 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [readDur=23.802927ms] [encodeDur=22.80512ms] [checksum="{cksum=2274318328550986575,size=24495,kvs=601}"] [deliverDur=2.202237ms] [type=query] [takeTime=52.83982ms] [] [2025/04/04 10:49:37.652 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [readDur=24.461592ms] [encodeDur=22.006159ms] [checksum="{cksum=17953661882689647666,size=25959,kvs=637}"] [deliverDur=2.076683ms] [type=query] [takeTime=52.733775ms] [] [2025/04/04 10:49:37.652 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [readDur=24.190344ms] [encodeDur=22.324853ms] [checksum="{cksum=9377788847270763487,size=25252,kvs=620}"] [deliverDur=2.184418ms] [type=query] [takeTime=52.845338ms] [] [2025/04/04 10:49:37.653 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [readDur=24.348811ms] [encodeDur=22.571026ms] [checksum="{cksum=14865179797772041575,size=25621,kvs=629}"] [deliverDur=1.971889ms] [type=query] [takeTime=53.424134ms] [] [2025/04/04 10:49:37.653 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [readDur=24.273297ms] [encodeDur=22.257562ms] [checksum="{cksum=5680416845651935423,size=26241,kvs=644}"] [deliverDur=2.025709ms] [type=query] [takeTime=53.254508ms] [] [2025/04/04 10:49:37.653 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [readDur=24.806073ms] [encodeDur=21.889471ms] [checksum="{cksum=5490233921963275879,size=25434,kvs=624}"] [deliverDur=1.878184ms] [type=query] [takeTime=53.574245ms] [] [2025/04/04 10:49:37.653 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [key=import-from-select] [readDur=24.26305ms] [encodeDur=22.534579ms] [checksum="{cksum=10369352064367320639,size=25841,kvs=634}"] [deliverDur=1.913725ms] [type=query] [takeTime=53.659657ms] [] [2025/04/04 10:49:37.653 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=24919] [kvs=611] [files=1] [sstFileSize=8085] [file=/tmp/tidb/import-4000/0f076e57-c19b-4442-b06e-2aa257ab9566/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/df03da0d-ee98-4993-8cdd-d68b8bfdc23c.sst] [firstKey=74800000000000007F5F72800000000000000C] [lastKey=74800000000000007F5F72800000000000137C] [2025/04/04 10:49:37.653 +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/04 10:49:37.654 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25959] [kvs=637] [files=1] [sstFileSize=8379] [file=/tmp/tidb/import-4000/0f076e57-c19b-4442-b06e-2aa257ab9566/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/25dd5cf6-46e6-491c-97fc-cda747be6bb4.sst] [firstKey=74800000000000007F5F728000000000000007] [lastKey=74800000000000007F5F728000000000001382] [2025/04/04 10:49:37.655 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=24495] [kvs=601] [files=1] [sstFileSize=7979] [file=/tmp/tidb/import-4000/0f076e57-c19b-4442-b06e-2aa257ab9566/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/e5470d8a-670f-43ea-9ff2-9189ee11e141.sst] [firstKey=74800000000000007F5F728000000000000004] [lastKey=74800000000000007F5F728000000000001384] [2025/04/04 10:49:37.657 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25841] [kvs=634] [files=1] [sstFileSize=8321] [file=/tmp/tidb/import-4000/0f076e57-c19b-4442-b06e-2aa257ab9566/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/c2cb9110-ed82-47dc-a483-697b5bbee805.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000001386] [2025/04/04 10:49:37.658 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25621] [kvs=629] [files=1] [sstFileSize=8301] [file=/tmp/tidb/import-4000/0f076e57-c19b-4442-b06e-2aa257ab9566/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/673dda8a-bd73-44ef-98fa-7f68ba9e58ae.sst] [firstKey=74800000000000007F5F728000000000000002] [lastKey=74800000000000007F5F728000000000001388] [2025/04/04 10:49:37.659 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25434] [kvs=624] [files=1] [sstFileSize=8288] [file=/tmp/tidb/import-4000/0f076e57-c19b-4442-b06e-2aa257ab9566/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/36d41101-8bbf-488c-90da-330a8c994d2c.sst] [firstKey=74800000000000007F5F728000000000000003] [lastKey=74800000000000007F5F72800000000000137D] [2025/04/04 10:49:37.660 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25252] [kvs=620] [files=1] [sstFileSize=8222] [file=/tmp/tidb/import-4000/0f076e57-c19b-4442-b06e-2aa257ab9566/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/026b28d1-2678-4d40-bff6-4ab779eaae8a.sst] [firstKey=74800000000000007F5F728000000000000005] [lastKey=74800000000000007F5F728000000000001385] [2025/04/04 10:49:37.662 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26241] [kvs=644] [files=1] [sstFileSize=8452] [file=/tmp/tidb/import-4000/0f076e57-c19b-4442-b06e-2aa257ab9566/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/c63bdb22-c6a7-4b3c-af47-9b1dad138f48.sst] [firstKey=74800000000000007F5F728000000000000006] [lastKey=74800000000000007F5F728000000000001387] [2025/04/04 10:49:37.665 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=11.840412ms] [] [2025/04/04 10:49:37.665 +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/04 10:49:37.672 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:37.694 +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/04 10:49:37.694 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:37.698 +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/04 10:49:37.699 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:37.750 +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/04 10:49:37.752 +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.299281ms] [] [2025/04/04 10:49:37.752 +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/04 10:49:37.753 +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.561462ms] [] [2025/04/04 10:49:37.753 +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/04 10:49:37.757 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:37.757 +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.628727ms] [] [2025/04/04 10:49:37.757 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [2025/04/04 10:49:37.757 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [2025/04/04 10:49:37.763 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [takeTime=5.939236ms] [] [2025/04/04 10:49:37.763 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [checksum="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/04 10:49:37.763 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [weight=30] [2025/04/04 10:49:37.763 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [concurrency=15] [2025/04/04 10:49:37.768 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=2965160055807091455] [totalKvs=5000] [totalBytes=203762] [2025/04/04 10:49:37.768 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:37.768 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [local="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/04 10:49:37.768 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=0f076e57-c19b-4442-b06e-2aa257ab9566] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [takeTime=11.255082ms] [] [2025/04/04 10:49:37.769 +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/04 10:49:37.769 +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.009Β΅s] [] [2025/04/04 10:49:37.769 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:37.770 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.542372ms] [] [2025/04/04 10:49:37.770 +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/04 10:49:37.770 +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.598Β΅s] [] [2025/04/04 10:49:37.770 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:37.772 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.414951ms] [] [2025/04/04 10:49:37.775 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:37.775 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:37.775 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:37.775 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:37.775 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:37.775 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:37.775 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:37.775 +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/04 10:49:37.775 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:37.775 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:37.775 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:37.775 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:37.777 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:37.777 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:37.777 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:37.777 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectBasic (1.61s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectColumnList [2025/04/04 10:49:37.862 +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-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.862 +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-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 10:49:37.867 +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-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.883 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=171.03Β΅s] [gotSchemaVersion=67] [phyTblIDs="[125,127]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:37.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=67] [2025/04/04 10:49:37.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=67] ["take time"=6.993804ms] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.898 +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-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=128.289Β΅s] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:37.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=68] [2025/04/04 10:49:37.915 +00:00] [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"=7.143108ms] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.924 +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-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.929 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:49:37.939 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=133.336Β΅s] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:37.942 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=69] [2025/04/04 10:49:37.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=69] ["take time"=7.107568ms] [job="ID:129, Type:drop schema, State:done, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.952 +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/04 10:49:37.957 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop schema"] [2025/04/04 10:49:37.958 +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-04 10:49:37.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.973 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 10:49:37.973 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:49:37.984 +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-04 10:49:37.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.984 +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-04 10:49:37.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:49:37.989 +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-04 10:49:37.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=623.749Β΅s] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:38.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=70] [2025/04/04 10:49:38.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=70] ["take time"=7.924334ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.018 +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-04 10:49:37.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.027 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 10:49:38.027 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 10:49:38.039 +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-04 10:49:38.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.039 +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-04 10:49:38.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, a varchar(64))"] [2025/04/04 10:49:38.045 +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-04 10:49:38.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.049 +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/04 10:49:38.063 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.581364ms] [gotSchemaVersion=71] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.066 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=71] [2025/04/04 10:49:38.068 +00:00] [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.993028ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.079 +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-04 10:49:38.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/04 10:49:38.090 +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/04 10:49:38.104 +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-04 10:49:38.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.104 +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-04 10:49:38.059 +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/04 10:49:38.108 +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-04 10:49:38.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.113 +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/04 10:49:38.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.667797ms] [gotSchemaVersion=72] [phyTblIDs="[134]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.132 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=72] [2025/04/04 10:49:38.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=72] ["take time"=8.334859ms] [job="ID:135, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.145 +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-04 10:49:38.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.156 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/04 10:49:38.156 +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/04 10:49:38.204 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=134] [2025/04/04 10:49:38.211 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:38.211 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:38.211 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:38.211 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:38.212 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:38.212 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:38.212 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:38.212 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:38.212 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:38.212 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:38.223 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:38.225 +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/04 10:49:38.225 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:49:38.228 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:38.232 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:38.311 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [key=import-from-select] [2025/04/04 10:49:38.312 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [key=import-from-select] [readDur=32.595Β΅s] [encodeDur=443.697Β΅s] [checksum="{cksum=6223226670940176578,size=168,kvs=4}"] [deliverDur=121.065Β΅s] [type=query] [takeTime=978.321Β΅s] [] [2025/04/04 10:49:38.313 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=168] [kvs=4] [files=1] [sstFileSize=1017] [file=/tmp/tidb/import-4000/37f8916a-3d77-4452-8c0b-8f346117791e/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/c83bd7a7-149f-46ce-b2a2-f12f4520df4e.sst] [firstKey=7480000000000000865F728000000000000001] [lastKey=7480000000000000865F728000000000000004] [2025/04/04 10:49:38.323 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [key=import-from-select] [2025/04/04 10:49:38.323 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=76.185Β΅s] [] [2025/04/04 10:49:38.324 +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/04 10:49:38.325 +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.377196ms] [] [2025/04/04 10:49:38.325 +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/04 10:49:38.329 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:38.351 +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/04 10:49:38.351 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:38.352 +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/04 10:49:38.362 +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/04 10:49:38.363 +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.444371ms] [] [2025/04/04 10:49:38.364 +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/04 10:49:38.365 +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.477437ms] [] [2025/04/04 10:49:38.365 +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/04 10:49:38.369 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:38.369 +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.525919ms] [] [2025/04/04 10:49:38.369 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [2025/04/04 10:49:38.369 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [2025/04/04 10:49:38.375 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [takeTime=5.943639ms] [] [2025/04/04 10:49:38.375 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [checksum="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/04 10:49:38.375 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [weight=30] [2025/04/04 10:49:38.375 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [concurrency=15] [2025/04/04 10:49:38.377 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=134] [physicalTableID=134] [indexID=-1] [checksum=6223226670940176578] [totalKvs=4] [totalBytes=168] [2025/04/04 10:49:38.377 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:38.377 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [local="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/04 10:49:38.377 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=37f8916a-3d77-4452-8c0b-8f346117791e] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [takeTime=8.549749ms] [] [2025/04/04 10:49:38.378 +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/04 10:49:38.378 +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.651Β΅s] [] [2025/04/04 10:49:38.378 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:38.379 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.057673ms] [] [2025/04/04 10:49:38.379 +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/04 10:49:38.379 +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.271Β΅s] [] [2025/04/04 10:49:38.379 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:38.380 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=854.254Β΅s] [] [2025/04/04 10:49:38.383 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:38.383 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:38.383 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:38.383 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:38.383 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:38.383 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:38.383 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:38.383 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.383 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.383 +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/04 10:49:38.383 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.383 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:38.385 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:38.385 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.385 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.385 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.399 +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-04 10:49:38.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.399 +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-04 10:49:38.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:49:38.404 +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-04 10:49:38.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.412 +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/04 10:49:38.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.715663ms] [gotSchemaVersion=73] [phyTblIDs="[134,136]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:38.432 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=73] [2025/04/04 10:49:38.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=73] ["take time"=8.459277ms] [job="ID:137, Type:truncate table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.444 +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/04 10:49:38.448 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=137] [jobType="truncate table"] [2025/04/04 10:49:38.449 +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-04 10:49:38.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.468 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 10:49:38.468 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=73] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:49:38.482 +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-04 10:49:38.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.482 +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-04 10:49:38.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src2(id int, a varchar(64))"] [2025/04/04 10:49:38.487 +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-04 10:49:38.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.492 +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/04 10:49:38.506 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.436297ms] [gotSchemaVersion=74] [phyTblIDs="[138]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.510 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=74] [2025/04/04 10:49:38.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=74] ["take time"=8.740584ms] [job="ID:139, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.523 +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-04 10:49:38.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.534 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/04 10:49:38.534 +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/04 10:49:38.587 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=136] [2025/04/04 10:49:38.594 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:38.594 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:38.594 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:38.594 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:38.595 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:38.595 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:38.595 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:38.595 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:38.595 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:38.595 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:38.612 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:38.614 +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/04 10:49:38.614 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:49:38.617 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:38.621 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:38.643 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [key=import-from-select] [2025/04/04 10:49:38.644 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [key=import-from-select] [readDur=18.336Β΅s] [encodeDur=274.062Β΅s] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [deliverDur=436.874Β΅s] [type=query] [takeTime=1.071346ms] [] [2025/04/04 10:49:38.645 +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/7d4f67d4-28ff-4019-8add-908f5cf7dacd/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/78855afc-356a-43f7-bf08-0201a0d8fe0c.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/04 10:49:38.645 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [key=import-from-select] [2025/04/04 10:49:38.645 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=154.412Β΅s] [] [2025/04/04 10:49:38.646 +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/04 10:49:38.647 +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.422432ms] [] [2025/04/04 10:49:38.647 +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/04 10:49:38.652 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:38.673 +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/04 10:49:38.673 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:38.675 +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/04 10:49:38.686 +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/04 10:49:38.687 +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.199985ms] [] [2025/04/04 10:49:38.687 +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/04 10:49:38.689 +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.528956ms] [] [2025/04/04 10:49:38.689 +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/04 10:49:38.693 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:38.693 +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.758925ms] [] [2025/04/04 10:49:38.693 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [2025/04/04 10:49:38.693 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [2025/04/04 10:49:38.699 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [takeTime=5.823915ms] [] [2025/04/04 10:49:38.699 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/04 10:49:38.699 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [weight=30] [2025/04/04 10:49:38.699 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [concurrency=15] [2025/04/04 10:49:38.701 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=8162185998638841877] [totalKvs=2] [totalBytes=80] [2025/04/04 10:49:38.702 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:38.702 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [local="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/04 10:49:38.702 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=7d4f67d4-28ff-4019-8add-908f5cf7dacd] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [takeTime=8.839952ms] [] [2025/04/04 10:49:38.702 +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/04 10:49:38.702 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=8.042Β΅s] [] [2025/04/04 10:49:38.702 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:38.703 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.139635ms] [] [2025/04/04 10:49:38.703 +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/04 10:49:38.703 +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.57Β΅s] [] [2025/04/04 10:49:38.703 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:38.704 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.053259ms] [] [2025/04/04 10:49:38.707 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:38.708 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:38.708 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:38.708 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:38.708 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:38.708 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:38.708 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:38.708 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.708 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.708 +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/04 10:49:38.708 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:38.708 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:38.710 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:38.710 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:38.710 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:38.710 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectColumnList (0.86s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectStaleRead [2025/04/04 10:49:38.729 +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-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.729 +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-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 10:49:38.735 +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-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.744 +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/04 10:49:38.745 +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/04 10:49:38.745 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=132] [columnID=5] [2025/04/04 10:49:38.753 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=167.647Β΅s] [gotSchemaVersion=75] [phyTblIDs="[132,136,138]"] [actionTypes="[2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:38.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=75] [2025/04/04 10:49:38.759 +00:00] [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.0065ms] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.772 +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-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.785 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=119.788Β΅s] [gotSchemaVersion=76] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:38.788 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=76] [2025/04/04 10:49:38.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=76] ["take time"=6.947636ms] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.798 +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-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.805 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:49:38.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=117.913Β΅s] [gotSchemaVersion=77] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:38.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=77] [2025/04/04 10:49:38.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=77] ["take time"=6.93774ms] [job="ID:140, Type:drop schema, State:done, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.830 +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/04 10:49:38.835 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop schema"] [2025/04/04 10:49:38.836 +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-04 10:49:38.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.851 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 10:49:38.852 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=77] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 10:49:38.864 +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-04 10:49:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.864 +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-04 10:49:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:49:38.870 +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-04 10:49:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.883 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=678.87Β΅s] [gotSchemaVersion=78] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:38.886 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=78] [2025/04/04 10:49:38.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=78] ["take time"=7.382509ms] [job="ID:142, Type:create schema, State:done, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.898 +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-04 10:49:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/04 10:49:38.909 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 10:49:38.928 +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-04 10:49:38.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.928 +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-04 10:49:38.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/04 10:49:38.933 +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-04 10:49:38.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.938 +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/04 10:49:38.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.572205ms] [gotSchemaVersion=79] [phyTblIDs="[143]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.955 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=79] [2025/04/04 10:49:38.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=79] ["take time"=8.226585ms] [job="ID:144, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.969 +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-04 10:49:38.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.981 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/04 10:49:38.981 +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/04 10:49:39.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117212123856901] [2025/04/04 10:49:39.196 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=72ms] [prevState=normal] [newState=adapting] [2025/04/04 10:49:39.215 +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-04 10:49:39.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.215 +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-04 10:49:39.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/04 10:49:39.220 +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-04 10:49:39.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.224 +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/04 10:49:39.239 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=1.576209ms] [gotSchemaVersion=80] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.242 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=80] [2025/04/04 10:49:39.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=80] ["take time"=8.721699ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.255 +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-04 10:49:39.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.266 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 10:49:39.266 +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/04 10:49:39.269 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457117212105244672] [2025/04/04 10:49:39.270 +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-04 10:49:39.088235'"] [2025/04/04 10:49:39.271 +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/04 10:49:39.316 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=145] [2025/04/04 10:49:39.322 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:39.322 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:39.323 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:39.323 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:39.323 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:39.323 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:39.323 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:39.323 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:39.324 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:39.324 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:39.340 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:39.342 +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/04 10:49:39.342 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:49:39.346 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:39.349 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:39.369 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [key=import-from-select] [2025/04/04 10:49:39.370 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [key=import-from-select] [readDur=10.497Β΅s] [encodeDur=246.114Β΅s] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [deliverDur=284.497Β΅s] [type=query] [takeTime=811.891Β΅s] [] [2025/04/04 10:49:39.371 +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/c6448751-70b5-4518-9f3f-78bbea8ad8c4/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/77495bbc-0506-4d10-865a-02da66f54d06.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000001] [2025/04/04 10:49:39.371 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [key=import-from-select] [2025/04/04 10:49:39.371 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=75.058Β΅s] [] [2025/04/04 10:49:39.371 +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/04 10:49:39.373 +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.853097ms] [] [2025/04/04 10:49:39.373 +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/04 10:49:39.377 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:39.399 +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/04 10:49:39.399 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:39.401 +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/04 10:49:39.411 +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/04 10:49:39.413 +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.692177ms] [] [2025/04/04 10:49:39.413 +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/04 10:49:39.414 +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.392834ms] [] [2025/04/04 10:49:39.414 +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/04 10:49:39.418 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:39.418 +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.7142ms] [] [2025/04/04 10:49:39.418 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [2025/04/04 10:49:39.418 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [2025/04/04 10:49:39.424 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [takeTime=5.623253ms] [] [2025/04/04 10:49:39.424 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/04 10:49:39.424 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [weight=30] [2025/04/04 10:49:39.424 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [concurrency=15] [2025/04/04 10:49:39.426 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=15050668223368551470] [totalKvs=1] [totalBytes=33] [2025/04/04 10:49:39.427 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:39.427 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [local="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/04 10:49:39.427 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=c6448751-70b5-4518-9f3f-78bbea8ad8c4] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [takeTime=8.310455ms] [] [2025/04/04 10:49:39.427 +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/04 10:49:39.427 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=9.707Β΅s] [] [2025/04/04 10:49:39.427 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:39.428 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.135374ms] [] [2025/04/04 10:49:39.428 +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/04 10:49:39.428 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=8.007Β΅s] [] [2025/04/04 10:49:39.428 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:39.429 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=936.787Β΅s] [] [2025/04/04 10:49:39.432 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:39.432 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:39.432 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:39.432 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:39.432 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:39.432 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:39.432 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:39.432 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:39.432 +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/04 10:49:39.432 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:39.432 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:39.432 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:39.434 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:39.434 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:39.434 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:39.434 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:39.449 +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-04 10:49:39.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:49:39.449 +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-04 10:49:39.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.454 +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-04 10:49:39.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.462 +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/04 10:49:39.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.561553ms] [gotSchemaVersion=81] [phyTblIDs="[145,147]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:39.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=81] [2025/04/04 10:49:39.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=81] ["take time"=8.723959ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.492 +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/04 10:49:39.497 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=148] [jobType="truncate table"] [2025/04/04 10:49:39.498 +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-04 10:49:39.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.515 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/04 10:49:39.515 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=81] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:49:39.720 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117212268036099] [2025/04/04 10:49:39.727 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457117212243918848] [2025/04/04 10:49:39.728 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 10:49:39.729 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:49:39.729 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 10:49:39.729 +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\": 457117212243918848,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 10:49:39.730 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 10:49:39.731 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:49:39.731 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 10:49:39.731 +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\": 457117212243918848,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 10:49:39.777 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=147] [2025/04/04 10:49:39.785 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:39.785 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:39.785 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:39.785 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:39.785 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:39.786 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:39.786 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:39.786 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:39.786 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:39.786 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:39.798 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:39.800 +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/04 10:49:39.800 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:49:39.804 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:39.807 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:39.837 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [key=import-from-select] [2025/04/04 10:49:39.837 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [key=import-from-select] [2025/04/04 10:49:39.838 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [key=import-from-select] [readDur=8.864Β΅s] [encodeDur=372.829Β΅s] [checksum="{cksum=1618577960176647419,size=33,kvs=1}"] [deliverDur=264.408Β΅s] [type=query] [takeTime=958.811Β΅s] [] [2025/04/04 10:49:39.838 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [key=import-from-select] [readDur=42.641Β΅s] [encodeDur=274.872Β΅s] [checksum="{cksum=3360013604723935324,size=33,kvs=1}"] [deliverDur=302.528Β΅s] [type=query] [takeTime=984.767Β΅s] [] [2025/04/04 10:49:39.839 +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/db71a27d-5ad1-401b-ba3b-fb6515429747/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/8e56cacd-ba1a-406f-ac99-6c559b6c94d2.sst] [firstKey=7480000000000000935F728000000000000002] [lastKey=7480000000000000935F728000000000000002] [2025/04/04 10:49:39.839 +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/04 10:49:39.840 +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/db71a27d-5ad1-401b-ba3b-fb6515429747/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/5debe7b4-ee23-4e1e-b5c3-967d29513f8a.sst] [firstKey=7480000000000000935F728000000000000001] [lastKey=7480000000000000935F728000000000000001] [2025/04/04 10:49:39.842 +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.281893ms] [] [2025/04/04 10:49:39.842 +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/04 10:49:39.847 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:39.869 +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/04 10:49:39.869 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:39.872 +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/04 10:49:39.883 +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/04 10:49:39.885 +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=43.069557ms] [] [2025/04/04 10:49:39.885 +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/04 10:49:39.887 +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.48984ms] [] [2025/04/04 10:49:39.887 +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/04 10:49:39.891 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:39.891 +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.838243ms] [] [2025/04/04 10:49:39.891 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/04 10:49:39.891 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [2025/04/04 10:49:39.897 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [takeTime=6.090196ms] [] [2025/04/04 10:49:39.897 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:49:39.897 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [weight=30] [2025/04/04 10:49:39.897 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [concurrency=15] [2025/04/04 10:49:39.899 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=147] [physicalTableID=147] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 10:49:39.900 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:39.900 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:49:39.900 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=db71a27d-5ad1-401b-ba3b-fb6515429747] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=8.821999ms] [] [2025/04/04 10:49:39.900 +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/04 10:49:39.900 +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.604Β΅s] [] [2025/04/04 10:49:39.900 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:39.901 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.235671ms] [] [2025/04/04 10:49:39.901 +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/04 10:49:39.901 +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.76Β΅s] [] [2025/04/04 10:49:39.901 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:39.902 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=951.379Β΅s] [] [2025/04/04 10:49:39.906 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:39.906 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:39.906 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:39.906 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:39.906 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:39.906 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:39.906 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:39.906 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:39.906 +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/04 10:49:39.906 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:39.906 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:39.906 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:39.908 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:39.908 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:39.908 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:39.908 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:39.923 +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-04 10:49:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.924 +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-04 10:49:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 10:49:39.929 +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-04 10:49:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.937 +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/04 10:49:40.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=2.119427ms] [gotSchemaVersion=82] [phyTblIDs="[147,149]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:40.007 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=82] [2025/04/04 10:49:40.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=82] ["take time"=11.920208ms] [job="ID:150, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.020 +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/04 10:49:40.025 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="truncate table"] [2025/04/04 10:49:40.026 +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-04 10:49:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.044 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 10:49:40.044 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 10:49:40.047 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457117212243918848] [2025/04/04 10:49:40.048 +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-04 10:49:39.617092'"] [2025/04/04 10:49:40.049 +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/04 10:49:40.095 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=149] [2025/04/04 10:49:40.104 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:40.105 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:40.106 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:40.107 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:40.107 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:40.107 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:40.107 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:40.107 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:40.107 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:40.108 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:40.120 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:40.122 +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/04 10:49:40.122 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=373.5GB] [2025/04/04 10:49:40.127 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:40.130 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:40.151 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [key=import-from-select] [2025/04/04 10:49:40.152 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [key=import-from-select] [readDur=14.449Β΅s] [encodeDur=397.307Β΅s] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=318.037Β΅s] [type=query] [takeTime=1.080589ms] [] [2025/04/04 10:49:40.153 +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/7998c09a-aff1-49da-bd22-a267d8edb166/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/0a94ff06-a86f-4a54-909c-d6a72924d5a3.sst] [firstKey=7480000000000000955F728000000000000001] [lastKey=7480000000000000955F728000000000000002] [2025/04/04 10:49:40.209 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [key=import-from-select] [2025/04/04 10:49:40.209 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=114.854Β΅s] [] [2025/04/04 10:49:40.209 +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/04 10:49:40.211 +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.749237ms] [] [2025/04/04 10:49:40.211 +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/04 10:49:40.215 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:40.237 +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/04 10:49:40.237 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:40.239 +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/04 10:49:40.250 +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/04 10:49:40.251 +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.61526ms] [] [2025/04/04 10:49:40.251 +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/04 10:49:40.253 +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.453262ms] [] [2025/04/04 10:49:40.253 +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/04 10:49:40.257 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:40.257 +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.677809ms] [] [2025/04/04 10:49:40.257 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/04 10:49:40.257 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [2025/04/04 10:49:40.263 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [takeTime=5.958589ms] [] [2025/04/04 10:49:40.263 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:49:40.263 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [weight=30] [2025/04/04 10:49:40.263 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [concurrency=15] [2025/04/04 10:49:40.265 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=149] [physicalTableID=149] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 10:49:40.266 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:40.266 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:49:40.266 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=7998c09a-aff1-49da-bd22-a267d8edb166] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=8.958168ms] [] [2025/04/04 10:49:40.266 +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/04 10:49:40.266 +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.494Β΅s] [] [2025/04/04 10:49:40.266 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 10:49:40.267 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.034193ms] [] [2025/04/04 10:49:40.267 +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/04 10:49:40.267 +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.982Β΅s] [] [2025/04/04 10:49:40.267 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 10:49:40.268 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=816.235Β΅s] [] [2025/04/04 10:49:40.271 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:40.271 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:40.271 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:40.271 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:40.271 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:40.271 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:40.271 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:40.271 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:40.271 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:40.271 +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/04 10:49:40.271 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:40.271 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:40.273 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:40.273 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:40.273 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:40.273 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectStaleRead (1.56s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromFile [2025/04/04 10:49:40.278 +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/04 10:49:40.291 +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-04 10:49:40.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.291 +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-04 10:49:40.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/04 10:49:40.296 +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-04 10:49:40.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.311 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=740.974Β΅s] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:40.314 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=83] [2025/04/04 10:49:40.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=83] ["take time"=8.511926ms] [job="ID:152, Type:create schema, State:done, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.327 +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-04 10:49:40.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.337 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 10:49:40.338 +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/04 10:49:40.340 +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/04 10:49:40.353 +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-04 10:49:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.353 +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-04 10:49:40.31 +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/04 10:49:40.359 +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-04 10:49:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.364 +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/04 10:49:40.380 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.653303ms] [gotSchemaVersion=84] [phyTblIDs="[153]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.383 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=154] [version=84] [2025/04/04 10:49:40.385 +00:00] [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.716198ms] [job="ID:154, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.395 +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-04 10:49:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.406 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=154] [2025/04/04 10:49:40.407 +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/04 10:49:40.611 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.666 +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/04 10:49:40.691 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:49:40.704 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:40.705 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:49:40.807 +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/04 10:49:40.808 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:40.809 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 10:49:40.816 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.819 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:40.819 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:49:40.819 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=59.222Β΅s] [2025/04/04 10:49:40.819 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=153.32Β΅s] [] [2025/04/04 10:49:40.820 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:40.820 +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=36] [subtasks=1] [2025/04/04 10:49:40.859 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:49:40.879 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:49:40.880 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:40.887 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:40.888 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:40.888 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:40.888 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:40.888 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:40.888 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:40.888 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:40.888 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:40.889 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:40.889 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:40.902 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:40.904 +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/04 10:49:40.904 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:40.904 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:40.904 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=347.8GiB] [2025/04/04 10:49:40.904 +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=36, Mem=16GiB]"] [2025/04/04 10:49:40.912 +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/04 10:49:40.912 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 10:49:40.915 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 10:49:40.916 +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/04 10:49:40.920 +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/04 10:49:40.921 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/04 10:49:40.921 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/04 10:49:40.935 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 10:49:40.988 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=2.csv:0] [2025/04/04 10:49:40.990 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=2.csv:0] [readDur=1.062649ms] [encodeDur=152.38Β΅s] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=196.333Β΅s] [type=file] [takeTime=1.662729ms] [] [2025/04/04 10:49:40.991 +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/2b8117c9-ff59-49af-8c20-f15a3b1d7419.sst] [firstKey=7480000000000000995F728000000000000006] [lastKey=7480000000000000995F728000000000000007] [2025/04/04 10:49:41.001 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=1.csv:0] [2025/04/04 10:49:41.002 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=1.csv:0] [readDur=828.876Β΅s] [encodeDur=162.976Β΅s] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=25.705Β΅s] [type=file] [takeTime=1.196729ms] [] [2025/04/04 10:49:41.003 +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/df03fd25-e2fd-4375-ae24-8797d182d418.sst] [firstKey=7480000000000000995F728000000000000004] [lastKey=7480000000000000995F728000000000000005] [2025/04/04 10:49:41.003 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:49:41.003 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:49:41.003 +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/04 10:49:41.005 +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.175826ms] [] [2025/04/04 10:49:41.005 +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/04 10:49:41.010 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:41.031 +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/04 10:49:41.032 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] None of the test reports contained any result [2025/04/04 10:49:41.034 +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/04 10:49:41.045 +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/04 10:49:41.047 +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.362866ms] [] [2025/04/04 10:49:41.047 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [Checks API] No suitable checks publisher found. [2025/04/04 10:49:41.048 +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.222794ms] [] [2025/04/04 10:49:41.048 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:49:41.048 +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/04 10:49:41.050 +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.394426ms] [] [2025/04/04 10:49:41.050 +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/04 10:49:41.053 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:49:41.053 +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.463091ms] [] [2025/04/04 10:49:41.053 +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/04 10:49:41.054 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=910.678Β΅s] [] [2025/04/04 10:49:41.054 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=141.710826ms] [] [2025/04/04 10:49:41.054 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=141.98292ms] [] [2025/04/04 10:49:41.111 +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/04 10:49:41.112 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:41.113 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:41.113 +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/04 10:49:41.142 +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/04 10:49:41.144 +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/04 10:49:41.144 +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=36] [subtasks=1] [2025/04/04 10:49:41.171 +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/04 10:49:41.178 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:49:41.180 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:41.180 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:41.180 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:41.180 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:41.180 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:41.180 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:41.180 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.180 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:41.180 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.180 +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/04 10:49:41.180 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.180 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:41.182 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:41.182 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.182 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.182 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.182 +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=36, Mem=16GiB]"] [takeTime=278.192711ms] [] [2025/04/04 10:49:41.184 +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=36, Mem=16GiB]"] [2025/04/04 10:49:41.191 +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/04 10:49:41.191 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:49:41.191 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:49:41.191 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:49:41.196 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=5.19071ms] [] [2025/04/04 10:49:41.196 +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/04 10:49:41.196 +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/04 10:49:41.196 +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/04 10:49:41.196 +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/04 10:49:41.198 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=153] [physicalTableID=153] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 10:49:41.199 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:41.199 +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/04 10:49:41.199 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=7.926775ms] [] [2025/04/04 10:49:41.199 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=8.073392ms] [] [2025/04/04 10:49:41.199 +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.223494ms] [] [2025/04/04 10:49:41.205 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:41.211 +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/04 10:49:41.212 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 10:49:41.214 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 10:49:41.243 +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=36, Mem=16GiB]"] [takeTime=59.411793ms] [] [2025/04/04 10:49:41.243 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:49:41.306 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:41.308 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.900272527\n# Parse_time: 0.000117835\n# Compile_time: 0.00036742\n# Rewrite_time: 0.000087592\n# Optimize_time: 0.000270785\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjg5OS41bXMsIG9wZW46NzcxbnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjg5OS41bXMsIG9wZW46NzcxbnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////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/';"] [2025/04/04 10:49:41.313 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:41.313 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-0 (0.98s) === 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/04 10:49:41.333 +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-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:41.333 +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-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.339 +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-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.340 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:41.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.866157ms] [gotSchemaVersion=85] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:41.363 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=85] [2025/04/04 10:49:41.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=85] ["take time"=13.826629ms] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.376 +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-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.393 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=2.050656ms] [gotSchemaVersion=86] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:41.397 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=86] [2025/04/04 10:49:41.398 +00:00] [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.25698ms] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.407 +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-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.413 +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/04 10:49:41.426 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=966.549Β΅s] [gotSchemaVersion=87] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:41.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=87] [2025/04/04 10:49:41.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=87] ["take time"=7.733209ms] [job="ID:155, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.440 +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/04 10:49:41.444 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=155] [jobType="drop table"] [2025/04/04 10:49:41.445 +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-04 10:49:41.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.463 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 10:49:41.464 +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/04 10:49:41.478 +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-04 10:49:41.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.478 +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-04 10:49:41.459 +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/04 10:49:41.484 +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-04 10:49:41.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.489 +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/04 10:49:41.504 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.604228ms] [gotSchemaVersion=88] [phyTblIDs="[156]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.508 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=88] [2025/04/04 10:49:41.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=88] ["take time"=8.626369ms] [job="ID:157, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.521 +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-04 10:49:41.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.533 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/04 10:49:41.534 +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/04 10:49:41.540 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.589 +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/04 10:49:41.609 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:49:41.623 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:41.623 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:49:41.726 +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/04 10:49:41.727 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:41.728 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 10:49:41.737 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.739 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:41.740 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:49:41.740 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=74.735Β΅s] [2025/04/04 10:49:41.740 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=187.387Β΅s] [] [2025/04/04 10:49:41.740 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:41.740 +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=36] [subtasks=1] [2025/04/04 10:49:41.779 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:49:41.799 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:49:41.799 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:41.808 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:41.808 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:41.808 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:41.808 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:41.809 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:41.809 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:41.809 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:41.809 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:41.809 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:41.809 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:41.822 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:41.824 +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/04 10:49:41.825 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:41.825 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=170.7MiB] [per-index-buf-limit=56.89MiB] [index-buf-block-size=56.89MiB] [2025/04/04 10:49:41.825 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=347.8GiB] [2025/04/04 10:49:41.825 +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=36, Mem=16GiB]"] [2025/04/04 10:49:41.833 +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/04 10:49:41.833 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/04 10:49:41.836 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 10:49:41.837 +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/04 10:49:41.841 +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/04 10:49:41.841 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/04 10:49:41.841 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/04 10:49:41.855 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 10:49:41.886 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=2.csv:0] [2025/04/04 10:49:41.889 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=2.csv:0] [readDur=1.195115ms] [encodeDur=320.653Β΅s] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=828.689Β΅s] [type=file] [takeTime=2.781435ms] [] [2025/04/04 10:49:41.891 +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/e923b624-95c6-4a28-8512-11140ea62e54.sst] [firstKey=74800000000000009C5F72800000000000000A] [lastKey=74800000000000009C5F72800000000000000B] [2025/04/04 10:49:41.927 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=1.csv:0] [2025/04/04 10:49:41.929 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=1.csv:0] [readDur=1.34384ms] [encodeDur=191.96Β΅s] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=264.142Β΅s] [type=file] [takeTime=2.159913ms] [] [2025/04/04 10:49:41.930 +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/0c5842ad-4166-4261-9ad6-1ff097442b6e.sst] [firstKey=74800000000000009C5F728000000000000001] [lastKey=74800000000000009C5F728000000000000002] [2025/04/04 10:49:41.931 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:41.931 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:41.931 +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/04 10:49:41.933 +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.487843ms] [] [2025/04/04 10:49:41.933 +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/04 10:49:41.938 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:41.959 +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/04 10:49:41.960 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:41.962 +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/04 10:49:41.974 +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/04 10:49:41.976 +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.548558ms] [] [2025/04/04 10:49:41.976 +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/04 10:49:41.977 +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.127983ms] [] [2025/04/04 10:49:41.977 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:41.977 +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/04 10:49:41.979 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.291793ms] [file=/tmp/tidb/import-4000/2/630083e6-fc50-5cd2-8645-c17b147197ce.sst/d32cde52-ac66-4a92-a6fc-5e22ff17f7f1.sst] [2025/04/04 10:49:41.979 +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/d32cde52-ac66-4a92-a6fc-5e22ff17f7f1.sst] [firstKey=74800000000000009C5F698000000000000001038000000000000004] [lastKey=74800000000000009C5F698000000000000001038000000000000007] [2025/04/04 10:49:41.982 +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=4.349621ms] [] [2025/04/04 10:49:41.982 +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/04 10:49:41.986 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:42.008 +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/04 10:49:42.009 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:42.010 +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/04 10:49:42.021 +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/04 10:49:42.023 +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=40.959674ms] [] [2025/04/04 10:49:42.023 +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/04 10:49:42.024 +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.026168ms] [] [2025/04/04 10:49:42.024 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=191.164124ms] [] [2025/04/04 10:49:42.024 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=191.643657ms] [] [2025/04/04 10:49:42.130 +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/04 10:49:42.132 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:42.133 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:42.133 +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/04 10:49:42.163 +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/04 10:49:42.164 +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/04 10:49:42.164 +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=36] [subtasks=1] [2025/04/04 10:49:42.171 +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/04 10:49:42.171 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:49:42.175 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:42.175 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:42.175 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:42.175 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:42.175 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:42.175 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:42.175 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:42.175 +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/04 10:49:42.175 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:42.175 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:42.175 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:42.175 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:42.177 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:42.177 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:42.177 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:42.177 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:42.177 +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=36, Mem=16GiB]"] [takeTime=352.256779ms] [] [2025/04/04 10:49:42.177 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:49:42.200 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:49:42.220 +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=36, Mem=16GiB]"] [2025/04/04 10:49:42.228 +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/04 10:49:42.228 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:49:42.228 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:49:42.228 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:49:42.234 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=6.09429ms] [] [2025/04/04 10:49:42.235 +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/04 10:49:42.235 +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/04 10:49:42.235 +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/04 10:49:42.235 +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/04 10:49:42.235 +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/04 10:49:42.241 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 10:49:42.242 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/04 10:49:42.243 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:42.243 +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/04 10:49:42.243 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=14.425804ms] [] [2025/04/04 10:49:42.243 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=14.629052ms] [] [2025/04/04 10:49:42.243 +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.785499ms] [] [2025/04/04 10:49:42.261 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:42.331 +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/04 10:49:42.331 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 10:49:42.334 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 10:49:42.366 +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=36, Mem=16GiB]"] [takeTime=146.263958ms] [] [2025/04/04 10:49:42.366 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:49:42.426 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:42.433 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:42.433 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:42.456 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:42.527 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.992930559\n# Parse_time: 0.000123887\n# Compile_time: 0.000497315\n# Rewrite_time: 0.00015821\n# Optimize_time: 0.000209702\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mm1zLCBvcGVuOjk5OG5zLCBjbG9zZTo1MThucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5Mm1zLCBvcGVuOjk5OG5zLCBjbG9zZTo1MThucywgbG9vcHM6MnD///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.22s) === 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/04 10:49:42.559 +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-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:42.559 +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-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.565 +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-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.582 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.287999ms] [gotSchemaVersion=89] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:42.585 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=89] [2025/04/04 10:49:42.587 +00:00] [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.683697ms] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.597 +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-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=2.345416ms] [gotSchemaVersion=90] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:42.618 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=90] [2025/04/04 10:49:42.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=90] ["take time"=9.567351ms] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.629 +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-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.636 +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/04 10:49:42.650 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.310639ms] [gotSchemaVersion=91] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:42.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=91] [2025/04/04 10:49:42.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=91] ["take time"=9.116664ms] [job="ID:158, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.666 +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/04 10:49:42.671 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop table"] [2025/04/04 10:49:42.672 +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-04 10:49:42.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.690 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 10:49:42.690 +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/04 10:49:42.703 +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-04 10:49:42.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.703 +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-04 10:49:42.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 10:49:42.709 +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-04 10:49:42.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.714 +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/04 10:49:42.729 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.51218ms] [gotSchemaVersion=92] [phyTblIDs="[159]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=92] [2025/04/04 10:49:42.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=92] ["take time"=8.113151ms] [job="ID:160, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.745 +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-04 10:49:42.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.757 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/04 10:49:42.757 +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/04 10:49:42.764 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.812 +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/04 10:49:42.832 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:49:42.847 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:42.847 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:49:42.949 +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/04 10:49:42.950 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:42.952 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 10:49:42.960 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:42.963 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:42.963 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:49:42.963 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=65.773Β΅s] [2025/04/04 10:49:42.963 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=176.801Β΅s] [] [2025/04/04 10:49:42.963 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:42.963 +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=36] [subtasks=1] [2025/04/04 10:49:42.999 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:49:43.019 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:49:43.019 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:43.028 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:43.028 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:43.028 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:43.028 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:43.028 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:43.028 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:43.028 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:43.029 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:43.029 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:43.029 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:43.042 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:43.044 +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/04 10:49:43.044 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:43.044 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:43.044 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=347.8GiB] [2025/04/04 10:49:43.044 +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=36, Mem=16GiB]"] [2025/04/04 10:49:43.053 +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/04 10:49:43.053 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/04 10:49:43.057 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 10:49:43.057 +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/04 10:49:43.061 +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/04 10:49:43.061 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/04 10:49:43.061 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/04 10:49:43.078 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 10:49:43.141 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=1.csv:0] [2025/04/04 10:49:43.143 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=1.csv:0] [readDur=983.453Β΅s] [encodeDur=276.846Β΅s] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=34.172Β΅s] [type=file] [takeTime=1.699481ms] [] [2025/04/04 10:49:43.144 +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/847df7e3-e0a1-4d4d-b3a3-43b9452faf01.sst] [firstKey=74800000000000009F5F728000000000000004] [lastKey=74800000000000009F5F728000000000000005] [2025/04/04 10:49:43.145 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=2.csv:0] [2025/04/04 10:49:43.146 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=2.csv:0] [readDur=1.002536ms] [encodeDur=496.12Β΅s] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=29.897Β΅s] [type=file] [takeTime=1.800578ms] [] [2025/04/04 10:49:43.147 +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/10ebfd86-6b0c-4733-b317-8c0c6295243f.sst] [firstKey=74800000000000009F5F728000000000000006] [lastKey=74800000000000009F5F728000000000000007] [2025/04/04 10:49:43.147 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:43.147 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:43.148 +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/04 10:49:43.150 +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.05616ms] [] [2025/04/04 10:49:43.150 +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/04 10:49:43.154 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:43.176 +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/04 10:49:43.177 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:43.179 +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/04 10:49:43.190 +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/04 10:49:43.192 +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.542676ms] [] [2025/04/04 10:49:43.192 +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/04 10:49:43.194 +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.189962ms] [] [2025/04/04 10:49:43.194 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:43.194 +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/04 10:49:43.195 +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.48622ms] [] [2025/04/04 10:49:43.195 +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/04 10:49:43.199 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:49:43.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=3.68656ms] [] [2025/04/04 10:49:43.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/04 10:49:43.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=916.665Β΅s] [] [2025/04/04 10:49:43.200 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=147.48958ms] [] [2025/04/04 10:49:43.200 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=147.683374ms] [] [2025/04/04 10:49:43.254 +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/04 10:49:43.255 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:43.256 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:43.256 +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/04 10:49:43.287 +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/04 10:49:43.289 +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/04 10:49:43.289 +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=36] [subtasks=1] [2025/04/04 10:49:43.324 +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/04 10:49:43.331 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:49:43.333 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:43.333 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:43.333 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:43.333 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:43.333 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:43.333 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:43.333 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:43.333 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:43.333 +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/04 10:49:43.333 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:43.333 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:43.333 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:43.335 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:43.335 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:43.335 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:43.335 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:43.335 +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=36, Mem=16GiB]"] [takeTime=291.03515ms] [] [2025/04/04 10:49:43.337 +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=36, Mem=16GiB]"] [2025/04/04 10:49:43.344 +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/04 10:49:43.344 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:49:43.344 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:49:43.344 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:49:43.344 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=1.92Β΅s] [] [2025/04/04 10:49:43.344 +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/04 10:49:43.344 +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/04 10:49:43.344 +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/04 10:49:43.344 +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/04 10:49:43.346 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=159] [physicalTableID=159] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 10:49:43.347 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:43.347 +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/04 10:49:43.347 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.656625ms] [] [2025/04/04 10:49:43.347 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.783244ms] [] [2025/04/04 10:49:43.347 +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.911935ms] [] [2025/04/04 10:49:43.356 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:43.454 +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/04 10:49:43.454 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 10:49:43.456 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 10:49:43.488 +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=36, Mem=16GiB]"] [takeTime=151.386705ms] [] [2025/04/04 10:49:43.488 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:49:43.549 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:43.555 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:43.555 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:43.578 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:43.750 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.992768442\n# Parse_time: 0.000131272\n# Compile_time: 0.000383345\n# Rewrite_time: 0.000084729\n# Optimize_time: 0.000266769\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mm1zLCBvcGVuOjcwNG5zLCBjbG9zZTo2ODlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5Mm1zLCBvcGVuOjcwNG5zLCBjbG9zZTo2ODlucywgbG9vcHM6MnD///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/';"] [2025/04/04 10:49:43.756 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117213316612107] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-4 (1.21s) === 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/04 10:49:43.773 +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-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.773 +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-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:43.779 +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-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.795 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.839372ms] [gotSchemaVersion=93] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:43.800 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=93] [2025/04/04 10:49:43.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=93] ["take time"=10.759962ms] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.814 +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-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.831 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=2.009311ms] [gotSchemaVersion=94] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:43.835 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=94] [2025/04/04 10:49:43.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=94] ["take time"=9.384964ms] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.845 +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-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.852 +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/04 10:49:43.865 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.254291ms] [gotSchemaVersion=95] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:43.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=95] [2025/04/04 10:49:43.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=95] ["take time"=8.61693ms] [job="ID:161, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.880 +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/04 10:49:43.885 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=161] [jobType="drop table"] [2025/04/04 10:49:43.886 +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-04 10:49:43.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.903 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/04 10:49:43.903 +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/04 10:49:43.916 +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-04 10:49:43.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.916 +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-04 10:49:43.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/04 10:49:43.922 +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-04 10:49:43.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.926 +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/04 10:49:43.942 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.844634ms] [gotSchemaVersion=96] [phyTblIDs="[162]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.945 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=96] [2025/04/04 10:49:43.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=96] ["take time"=9.240462ms] [job="ID:163, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.959 +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-04 10:49:43.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.970 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/04 10:49:43.971 +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/04 10:49:43.976 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.027 +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/04 10:49:44.045 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:49:44.060 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:44.060 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:49:44.162 +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/04 10:49:44.163 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:44.164 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 10:49:44.172 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.174 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:44.174 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:49:44.174 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=68.748Β΅s] [2025/04/04 10:49:44.174 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=202.468Β΅s] [] [2025/04/04 10:49:44.174 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:44.174 +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=36] [subtasks=1] [2025/04/04 10:49:44.208 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:49:44.228 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:49:44.228 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.235 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:44.236 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:44.236 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:44.236 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:44.236 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:44.236 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:44.236 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:44.237 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:44.237 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:44.237 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:44.248 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:44.250 +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/04 10:49:44.250 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:44.250 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=227.6MiB] [per-index-buf-limit=75.85MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:44.250 +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=36, Mem=16GiB]"] [2025/04/04 10:49:44.250 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=347.8GiB] [2025/04/04 10:49:44.257 +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/04 10:49:44.258 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/04 10:49:44.262 +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/04 10:49:44.266 +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/04 10:49:44.266 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/04 10:49:44.266 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/04 10:49:44.268 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 10:49:44.269 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=2.csv:0] [2025/04/04 10:49:44.271 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=2.csv:0] [readDur=920.613Β΅s] [encodeDur=255.227Β΅s] [checksum="{cksum=10862406597896790237,size=76,kvs=2}"] [deliverDur=239.568Β΅s] [type=file] [takeTime=1.708819ms] [] [2025/04/04 10:49:44.272 +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/1ee9cb80-9a67-4646-a414-cc4d4f6c334f.sst] [firstKey=7480000000000000A25F72800000000000000A] [lastKey=7480000000000000A25F72800000000000000B] [2025/04/04 10:49:44.286 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 10:49:44.309 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=1.csv:0] [2025/04/04 10:49:44.311 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=1.csv:0] [readDur=872.616Β΅s] [encodeDur=368.982Β΅s] [checksum="{cksum=1363779544899807388,size=76,kvs=2}"] [deliverDur=268.053Β΅s] [type=file] [takeTime=1.738456ms] [] [2025/04/04 10:49:44.312 +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/671a8ded-3f43-4317-bec9-1a95a7e12a5e.sst] [firstKey=7480000000000000A25F728000000000000001] [lastKey=7480000000000000A25F728000000000000002] [2025/04/04 10:49:44.312 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:44.312 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:44.312 +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/04 10:49:44.315 +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.641212ms] [] [2025/04/04 10:49:44.315 +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/04 10:49:44.319 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:44.341 +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/04 10:49:44.342 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:44.343 +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/04 10:49:44.355 +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/04 10:49:44.357 +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.750274ms] [] [2025/04/04 10:49:44.357 +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/04 10:49:44.358 +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.190046ms] [] [2025/04/04 10:49:44.358 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:44.358 +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/04 10:49:44.360 +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.687696ms] [] [2025/04/04 10:49:44.360 +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/04 10:49:44.364 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:49:44.364 +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.833918ms] [] [2025/04/04 10:49:44.364 +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/04 10:49:44.365 +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.030279ms] [] [2025/04/04 10:49:44.365 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=107.534934ms] [] [2025/04/04 10:49:44.365 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=107.706171ms] [] [2025/04/04 10:49:44.468 +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/04 10:49:44.469 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:44.470 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:44.470 +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/04 10:49:44.498 +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/04 10:49:44.500 +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/04 10:49:44.500 +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=36] [subtasks=1] [2025/04/04 10:49:44.515 +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/04 10:49:44.515 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:49:44.517 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:44.517 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:44.517 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:44.517 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:44.517 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:44.517 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:44.517 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:44.517 +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/04 10:49:44.517 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:44.517 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:44.517 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:44.517 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:44.520 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:44.520 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:44.520 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:44.520 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:44.520 +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=36, Mem=16GiB]"] [takeTime=269.427666ms] [] [2025/04/04 10:49:44.520 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:49:44.540 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:49:44.561 +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=36, Mem=16GiB]"] [2025/04/04 10:49:44.570 +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/04 10:49:44.570 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:49:44.570 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:49:44.570 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:49:44.576 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=5.427097ms] [] [2025/04/04 10:49:44.576 +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/04 10:49:44.576 +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/04 10:49:44.576 +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/04 10:49:44.576 +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/04 10:49:44.578 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=162] [physicalTableID=162] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 10:49:44.578 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:44.578 +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/04 10:49:44.578 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=7.906186ms] [] [2025/04/04 10:49:44.578 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.063642ms] [] [2025/04/04 10:49:44.578 +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.222917ms] [] [2025/04/04 10:49:44.596 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:44.668 +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/04 10:49:44.668 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 10:49:44.670 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 10:49:44.701 +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=36, Mem=16GiB]"] [takeTime=140.373433ms] [] [2025/04/04 10:49:44.701 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:49:44.762 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:44.768 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:44.768 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:44.790 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:44.963 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.992324864\n# Parse_time: 0.000063202\n# Compile_time: 0.000376224\n# Rewrite_time: 0.00007633\n# Optimize_time: 0.000244718\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS42bXMsIG9wZW46Nzc5bnMsIGNsb3NlOjg0OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS42bXMsIG9wZW46Nzc5bnMsIGNsb3NlOjg0OW5zLCBsb29wczoycP////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 (1.22s) === 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/04 10:49:44.990 +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-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.990 +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-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:44.995 +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-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.013 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=2.316592ms] [gotSchemaVersion=97] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:45.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=97] [2025/04/04 10:49:45.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=97] ["take time"=10.139269ms] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.028 +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-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.045 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=2.081704ms] [gotSchemaVersion=98] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:45.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=98] [2025/04/04 10:49:45.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=98] ["take time"=9.092746ms] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.059 +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-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.066 +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/04 10:49:45.079 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.067963ms] [gotSchemaVersion=99] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:45.082 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=99] [2025/04/04 10:49:45.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=99] ["take time"=8.020958ms] [job="ID:164, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.093 +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/04 10:49:45.097 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=164] [jobType="drop table"] [2025/04/04 10:49:45.098 +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-04 10:49:44.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.116 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/04 10:49:45.116 +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/04 10:49:45.130 +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-04 10:49:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.130 +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-04 10:49:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 10:49:45.135 +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-04 10:49:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.140 +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/04 10:49:45.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=1.60182ms] [gotSchemaVersion=100] [phyTblIDs="[165]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=100] [2025/04/04 10:49:45.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=100] ["take time"=9.106869ms] [job="ID:166, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.173 +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-04 10:49:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=166] [2025/04/04 10:49:45.186 +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/04 10:49:45.192 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.241 +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/04 10:49:45.260 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=36B] [thread-cnt=36] [global-sort=false] [2025/04/04 10:49:45.274 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:45.274 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=36] [2025/04/04 10:49:45.377 +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/04 10:49:45.378 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:45.379 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 10:49:45.387 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.390 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:45.390 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:49:45.390 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=80.542Β΅s] [2025/04/04 10:49:45.390 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=223.544Β΅s] [] [2025/04/04 10:49:45.391 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:45.391 +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=36] [subtasks=1] [2025/04/04 10:49:45.429 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:49:45.448 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:49:45.448 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.457 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:45.457 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:45.457 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:45.457 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:45.458 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:45.458 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:45.458 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:45.458 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:45.458 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:45.458 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:45.473 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:45.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/04 10:49:45.475 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:45.475 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=170.7MiB] [per-index-buf-limit=56.89MiB] [index-buf-block-size=56.89MiB] [2025/04/04 10:49:45.475 +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=36, Mem=16GiB]"] [2025/04/04 10:49:45.476 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=347.8GiB] [2025/04/04 10:49:45.483 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 10:49:45.484 +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/04 10:49:45.484 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/04 10:49:45.488 +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/04 10:49:45.492 +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/04 10:49:45.492 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/04 10:49:45.492 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/04 10:49:45.494 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=2.csv:0] [2025/04/04 10:49:45.494 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=1.csv:0] [2025/04/04 10:49:45.497 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=2.csv:0] [readDur=1.058375ms] [encodeDur=422.855Β΅s] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=217.698Β΅s] [type=file] [takeTime=2.088951ms] [] [2025/04/04 10:49:45.497 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=1.csv:0] [readDur=1.096312ms] [encodeDur=499.695Β΅s] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=568.29Β΅s] [type=file] [takeTime=2.552084ms] [] [2025/04/04 10:49:45.498 +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/19a94501-ecb1-4660-a592-51d7a5e4f9e3.sst] [firstKey=7480000000000000A55F72800000000000000A] [lastKey=7480000000000000A55F72800000000000000B] [2025/04/04 10:49:45.499 +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/c961eeb9-7932-4083-970f-18d59bd5ff34.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A55F728000000000000002] [2025/04/04 10:49:45.499 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:45.499 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:45.499 +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/04 10:49:45.501 +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.163584ms] [] [2025/04/04 10:49:45.501 +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/04 10:49:45.503 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 10:49:45.506 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:45.527 +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/04 10:49:45.528 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:45.530 +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/04 10:49:45.542 +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/04 10:49:45.543 +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.06739ms] [] [2025/04/04 10:49:45.543 +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/04 10:49:45.545 +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.248895ms] [] [2025/04/04 10:49:45.545 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:45.545 +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/04 10:49:45.546 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.125605ms] [file=/tmp/tidb/import-4000/5/630083e6-fc50-5cd2-8645-c17b147197ce.sst/e1a7985b-9c48-4321-92ab-a3206b327331.sst] [2025/04/04 10:49:45.546 +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/e1a7985b-9c48-4321-92ab-a3206b327331.sst] [firstKey=7480000000000000A55F698000000000000001038000000000000004] [lastKey=7480000000000000A55F698000000000000001038000000000000007] [2025/04/04 10:49:45.548 +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.416038ms] [] [2025/04/04 10:49:45.548 +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/04 10:49:45.553 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:45.575 +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/04 10:49:45.575 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:45.577 +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/04 10:49:45.588 +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/04 10:49:45.589 +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.084204ms] [] [2025/04/04 10:49:45.590 +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/04 10:49:45.591 +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.049329ms] [] [2025/04/04 10:49:45.591 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=106.983667ms] [] [2025/04/04 10:49:45.591 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=107.128726ms] [] [2025/04/04 10:49:45.681 +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/04 10:49:45.682 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:45.683 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:45.684 +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/04 10:49:45.712 +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/04 10:49:45.714 +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/04 10:49:45.714 +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=36] [subtasks=1] [2025/04/04 10:49:45.735 +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/04 10:49:45.735 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:49:45.739 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:45.739 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:45.740 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:45.739 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:45.740 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:45.740 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:45.740 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:45.740 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:45.740 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:45.740 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:45.740 +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/04 10:49:45.740 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:45.742 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:45.742 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:45.742 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:45.742 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:45.742 +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=36, Mem=16GiB]"] [takeTime=266.785307ms] [] [2025/04/04 10:49:45.742 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:49:45.749 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=36] [remaining-slots=36] [2025/04/04 10:49:45.769 +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=36, Mem=16GiB]"] [2025/04/04 10:49:45.777 +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/04 10:49:45.777 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:49:45.777 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:49:45.777 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:49:45.784 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=5.99527ms] [] [2025/04/04 10:49:45.784 +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/04 10:49:45.784 +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/04 10:49:45.784 +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/04 10:49:45.784 +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/04 10:49:45.784 +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/04 10:49:45.790 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 10:49:45.792 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/04 10:49:45.792 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:45.793 +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/04 10:49:45.793 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=15.130287ms] [] [2025/04/04 10:49:45.793 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=15.288898ms] [] [2025/04/04 10:49:45.793 +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=15.443926ms] [] [2025/04/04 10:49:45.813 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:45.888 +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/04 10:49:45.888 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 10:49:45.891 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 10:49:45.922 +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=36, Mem=16GiB]"] [takeTime=152.369216ms] [] [2025/04/04 10:49:45.922 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:49:45.977 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:45.983 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:45.984 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:46.006 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [Pipeline] } [2025/04/04 10:49:46.179 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993102035\n# Parse_time: 0.000072862\n# Compile_time: 0.000430804\n# Rewrite_time: 0.000110525\n# Optimize_time: 0.000271162\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi4zbXMsIG9wZW46OTE0bnMsIGNsb3NlOjY4M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi4zbXMsIG9wZW46OTE0bnMsIGNsb3NlOjY4M25zLCBsb29wczoycP////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.22s) === 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/04 10:49:46.207 +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-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:46.207 +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-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.213 +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-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.230 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.455647ms] [gotSchemaVersion=101] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:46.234 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=101] [2025/04/04 10:49:46.236 +00:00] [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"=10.452605ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.246 +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-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.263 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=2.161895ms] [gotSchemaVersion=102] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:46.266 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=102] [2025/04/04 10:49:46.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=102] ["take time"=9.180481ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.276 +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-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.282 +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/04 10:49:46.297 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.106274ms] [gotSchemaVersion=103] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:46.300 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=103] [2025/04/04 10:49:46.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=103] ["take time"=8.700698ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.311 +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/04 10:49:46.316 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2025/04/04 10:49:46.317 +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-04 10:49:46.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.336 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/04 10:49:46.336 +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 (6.06s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromSelect [2025/04/04 10:49:46.349 +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-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.349 +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-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 10:49:46.354 +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-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=191.201Β΅s] [gotSchemaVersion=104] [phyTblIDs="[143,149]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:46.374 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=104] [2025/04/04 10:49:46.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=104] ["take time"=7.264684ms] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.386 +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-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.399 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=144.655Β΅s] [gotSchemaVersion=105] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:46.403 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=105] [2025/04/04 10:49:46.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=105] ["take time"=7.550745ms] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.413 +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-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.419 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:49:46.430 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=133.279Β΅s] [gotSchemaVersion=106] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:46.434 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=106] [2025/04/04 10:49:46.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=106] ["take time"=7.628491ms] [job="ID:168, Type:drop schema, State:done, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.445 +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/04 10:49:46.450 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=168] [jobType="drop schema"] [2025/04/04 10:49:46.452 +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-04 10:49:46.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.468 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/04 10:49:46.469 +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/04 10:49:46.481 +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-04 10:49:46.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.481 +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-04 10:49:46.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 10:49:46.487 +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-04 10:49:46.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.501 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=873.887Β΅s] [gotSchemaVersion=107] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:46.506 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=107] [2025/04/04 10:49:46.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=107] ["take time"=9.331216ms] [job="ID:170, Type:create schema, State:done, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.519 +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-04 10:49:46.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.530 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 10:49:46.530 +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/04 10:49:46.544 +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-04 10:49:46.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.544 +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-04 10:49:46.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int, v varchar(64))"] [2025/04/04 10:49:46.550 +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-04 10:49:46.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.555 +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/04 10:49:46.571 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.61958ms] [gotSchemaVersion=108] [phyTblIDs="[171]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:46.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=172] [version=108] [2025/04/04 10:49:46.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=108] ["take time"=9.299411ms] [job="ID:172, Type:create table, State:done, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.588 +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-04 10:49:46.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.600 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=172] [2025/04/04 10:49:46.600 +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/04 10:49:46.618 +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-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.618 +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-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists write_after_import"] [2025/04/04 10:49:46.624 +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-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.637 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=157.12Β΅s] [gotSchemaVersion=109] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:46.641 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=109] [2025/04/04 10:49:46.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=109] ["take time"=7.67314ms] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.653 +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-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.666 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=140.07Β΅s] [gotSchemaVersion=110] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:46.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=110] [2025/04/04 10:49:46.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=110] ["take time"=7.016994ms] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.679 +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-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.693 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=138.237Β΅s] [gotSchemaVersion=111] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:46.697 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=111] [2025/04/04 10:49:46.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=111] ["take time"=7.459058ms] [job="ID:173, Type:drop schema, State:done, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.709 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=173] [jobType="drop schema"] [2025/04/04 10:49:46.710 +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-04 10:49:46.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.729 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/04 10:49:46.729 +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/04 10:49:46.742 +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-04 10:49:46.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/04 10:49:46.742 +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-04 10:49:46.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.748 +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-04 10:49:46.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.763 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=838.836Β΅s] [gotSchemaVersion=112] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:46.767 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=112] [2025/04/04 10:49:46.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=112] ["take time"=8.191404ms] [job="ID:175, Type:create schema, State:done, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.779 +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-04 10:49:46.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.789 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/04 10:49:46.790 +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/04 10:49:46.792 +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/04 10:49:46.805 +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-04 10:49:46.759 +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/04 10:49:46.805 +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-04 10:49:46.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.813 +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-04 10:49:46.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.818 +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/04 10:49:46.834 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.641986ms] [gotSchemaVersion=113] [phyTblIDs="[176]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:46.837 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=113] [2025/04/04 10:49:46.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=113] ["take time"=9.32762ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.850 +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-04 10:49:46.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.862 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/04 10:49:46.863 +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/04 10:49:46.908 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=176] [2025/04/04 10:49:46.915 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:46.915 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:46.916 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:46.916 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:46.916 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:46.916 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:46.916 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:46.916 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:46.916 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:46.917 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:46.929 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:46.931 +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/04 10:49:46.931 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:46.935 +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/04 10:49:46.939 +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/04 10:49:46.983 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [key=import-from-select] [2025/04/04 10:49:46.987 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [key=import-from-select] [readDur=39.878Β΅s] [encodeDur=772.337Β΅s] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=1.857688ms] [type=query] [takeTime=3.769542ms] [] [2025/04/04 10:49:46.988 +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/4eead89e-c41e-4ef8-94c2-e45e19ced0a8/102b1544-1a0b-5f02-9523-0f5011224f00.sst/26b198a7-180f-401d-b1a9-d8f9b273ff1e.sst] [firstKey=7480000000000000B05F728000000000000004] [lastKey=7480000000000000B05F728000000000000007] [2025/04/04 10:49:47.002 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [key=import-from-select] [2025/04/04 10:49:47.002 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=125.454Β΅s] [] [2025/04/04 10:49:47.002 +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/04 10:49:47.004 +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.681869ms] [] [2025/04/04 10:49:47.004 +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/04 10:49:47.009 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:47.031 +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/04 10:49:47.031 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:47.033 +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/04 10:49:47.045 +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/04 10:49:47.047 +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=42.855799ms] [] [2025/04/04 10:49:47.047 +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/04 10:49:47.049 +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.98192ms] [] [2025/04/04 10:49:47.049 +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/04 10:49:47.053 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:49:47.053 +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.871968ms] [] [2025/04/04 10:49:47.053 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/04 10:49:47.053 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [2025/04/04 10:49:47.060 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [takeTime=6.686285ms] [] [2025/04/04 10:49:47.060 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:49:47.060 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [weight=30] [2025/04/04 10:49:47.060 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [concurrency=15] [2025/04/04 10:49:47.062 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=176] [physicalTableID=176] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 10:49:47.063 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:47.063 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:49:47.063 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=4eead89e-c41e-4ef8-94c2-e45e19ced0a8] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=9.62122ms] [] [2025/04/04 10:49:47.063 +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/04 10:49:47.063 +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=8.845Β΅s] [] [2025/04/04 10:49:47.063 +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/04 10:49:47.065 +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.364563ms] [] [2025/04/04 10:49:47.065 +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/04 10:49:47.065 +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.003Β΅s] [] [2025/04/04 10:49:47.065 +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/04 10:49:47.066 +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.177286ms] [] [2025/04/04 10:49:47.070 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:47.070 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:47.070 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:47.070 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:47.070 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:47.070 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:47.070 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:47.070 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.070 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.070 +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/04 10:49:47.070 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.070 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:47.073 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:47.073 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.073 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.073 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.30s) === 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/04 10:49:47.101 +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-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.101 +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-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:47.107 +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-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.124 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=2.032099ms] [gotSchemaVersion=114] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.128 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=114] [2025/04/04 10:49:47.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=114] ["take time"=9.935264ms] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.141 +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-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.158 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.890371ms] [gotSchemaVersion=115] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.161 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=115] [2025/04/04 10:49:47.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=115] ["take time"=9.545369ms] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.174 +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-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.181 +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/04 10:49:47.195 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=1.193421ms] [gotSchemaVersion=116] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.199 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=116] [2025/04/04 10:49:47.201 +00:00] [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.889488ms] [job="ID:178, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.212 +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/04 10:49:47.218 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="drop table"] [2025/04/04 10:49:47.219 +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-04 10:49:47.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.238 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/04 10:49:47.239 +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/04 10:49:47.254 +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-04 10:49:47.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.254 +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-04 10:49:47.209 +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/04 10:49:47.259 +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-04 10:49:47.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.265 +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/04 10:49:47.281 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.760968ms] [gotSchemaVersion=117] [phyTblIDs="[179]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:47.285 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=117] [2025/04/04 10:49:47.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=117] ["take time"=9.740646ms] [job="ID:180, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.299 +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-04 10:49:47.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.312 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/04 10:49:47.312 +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/04 10:49:47.370 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=179] [2025/04/04 10:49:47.378 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:47.378 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:47.379 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:47.379 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:47.379 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:47.379 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:47.379 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:47.379 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:47.380 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:47.380 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:47.394 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:47.396 +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/04 10:49:47.396 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:47.401 +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/04 10:49:47.405 +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/04 10:49:47.425 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [key=import-from-select] [2025/04/04 10:49:47.427 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [key=import-from-select] [readDur=40.045Β΅s] [encodeDur=538.371Β΅s] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [deliverDur=371.745Β΅s] [type=query] [takeTime=1.441346ms] [] [2025/04/04 10:49:47.428 +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/89880f70-1cf8-4ff4-86c9-445df669eafe/102b1544-1a0b-5f02-9523-0f5011224f00.sst/ecf0f2a6-df9e-4168-b2e0-a81e93d3dfd9.sst] [firstKey=7480000000000000B35F728000000000000001] [lastKey=7480000000000000B35F728000000000000004] [2025/04/04 10:49:47.443 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [key=import-from-select] [2025/04/04 10:49:47.443 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=117.238Β΅s] [] [2025/04/04 10:49:47.443 +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/04 10:49:47.445 +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.706384ms] [] [2025/04/04 10:49:47.445 +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/04 10:49:47.457 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:47.480 +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/04 10:49:47.480 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:47.482 +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/04 10:49:47.493 +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/04 10:49:47.495 +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=49.657295ms] [] [2025/04/04 10:49:47.495 +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/04 10:49:47.495 +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/89880f70-1cf8-4ff4-86c9-445df669eafe/630083e6-fc50-5cd2-8645-c17b147197ce.sst/c9e80810-ecb5-45e6-af4d-c20a57d0c094.sst] [firstKey=7480000000000000B35F698000000000000001038000000000000004] [lastKey=7480000000000000B35F698000000000000001038000000000000007] [2025/04/04 10:49:47.497 +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.533482ms] [] [2025/04/04 10:49:47.498 +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/04 10:49:47.502 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:47.524 +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/04 10:49:47.525 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:47.526 +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/04 10:49:47.538 +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/04 10:49:47.540 +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=42.278436ms] [] [2025/04/04 10:49:47.540 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/04 10:49:47.540 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [2025/04/04 10:49:47.547 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [takeTime=6.727648ms] [] [2025/04/04 10:49:47.547 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 10:49:47.547 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [weight=30] [2025/04/04 10:49:47.547 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [concurrency=15] [2025/04/04 10:49:47.553 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 10:49:47.554 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/04 10:49:47.554 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:47.554 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 10:49:47.554 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=89880f70-1cf8-4ff4-86c9-445df669eafe] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=14.258908ms] [] [2025/04/04 10:49:47.555 +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/04 10:49:47.555 +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=11.21Β΅s] [] [2025/04/04 10:49:47.555 +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/04 10:49:47.556 +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.43227ms] [] [2025/04/04 10:49:47.556 +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/04 10:49:47.556 +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=8.286Β΅s] [] [2025/04/04 10:49:47.556 +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/04 10:49:47.558 +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.289703ms] [] [2025/04/04 10:49:47.562 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:47.562 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:47.562 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:47.563 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:47.563 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:47.563 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:47.563 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:47.563 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.563 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.563 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.563 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:47.563 +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/04 10:49:47.565 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:47.565 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.565 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.565 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.49s) === 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/04 10:49:47.592 +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-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.592 +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-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:47.597 +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-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=2.092744ms] [gotSchemaVersion=118] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=118] [2025/04/04 10:49:47.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=118] ["take time"=9.309365ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.629 +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-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.645 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.189227ms] [gotSchemaVersion=119] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.649 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=119] [2025/04/04 10:49:47.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=119] ["take time"=9.989484ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.661 +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-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.667 +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/04 10:49:47.682 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.086529ms] [gotSchemaVersion=120] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=120] [2025/04/04 10:49:47.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=120] ["take time"=8.128416ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.698 +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/04 10:49:47.707 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=0472f0cb-f650-449c-9629-b7c80f247871] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:47.707 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:49:47.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:49:47.709 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/04 10:49:47.710 +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-04 10:49:47.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.731 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 10:49:47.731 +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/04 10:49:47.745 +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-04 10:49:47.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.745 +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-04 10:49:47.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 10:49:47.752 +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-04 10:49:47.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.757 +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/04 10:49:47.773 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.543115ms] [gotSchemaVersion=121] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:47.777 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=121] [2025/04/04 10:49:47.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=121] ["take time"=8.949442ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.791 +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-04 10:49:47.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.803 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 10:49:47.803 +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/04 10:49:47.853 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=182] [2025/04/04 10:49:47.860 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:47.861 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:47.861 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:47.861 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:47.862 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:47.862 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:47.862 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:47.862 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:47.862 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:47.862 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:47.876 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:47.878 +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/04 10:49:47.878 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:47.882 +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/04 10:49:47.886 +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/04 10:49:48.064 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [key=import-from-select] [2025/04/04 10:49:48.066 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [key=import-from-select] [readDur=90.408Β΅s] [encodeDur=1.869162ms] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=466.364Β΅s] [type=query] [takeTime=2.827529ms] [] [2025/04/04 10:49:48.068 +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/daecfc5b-49c5-4eb5-9df6-032ab5e659b9/102b1544-1a0b-5f02-9523-0f5011224f00.sst/753a2776-b16e-4c16-a3d1-bac1c52bffd5.sst] [firstKey=7480000000000000B65F728000000000000004] [lastKey=7480000000000000B65F728000000000000007] [2025/04/04 10:49:48.088 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [key=import-from-select] [2025/04/04 10:49:48.088 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=140.889Β΅s] [] [2025/04/04 10:49:48.088 +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/04 10:49:48.090 +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.79983ms] [] [2025/04/04 10:49:48.090 +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/04 10:49:48.094 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:48.116 +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/04 10:49:48.116 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:48.118 +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/04 10:49:48.130 +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/04 10:49:48.132 +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.347521ms] [] [2025/04/04 10:49:48.132 +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/04 10:49:48.133 +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.583871ms] [] [2025/04/04 10:49:48.133 +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/04 10:49:48.137 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:49:48.137 +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.517996ms] [] [2025/04/04 10:49:48.137 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/04 10:49:48.137 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [2025/04/04 10:49:48.137 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [takeTime=2.828Β΅s] [] [2025/04/04 10:49:48.137 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:49:48.137 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [weight=30] [2025/04/04 10:49:48.137 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [concurrency=15] [2025/04/04 10:49:48.139 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 10:49:48.140 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:48.140 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 10:49:48.140 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=daecfc5b-49c5-4eb5-9df6-032ab5e659b9] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=2.608703ms] [] [2025/04/04 10:49:48.140 +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/04 10:49:48.140 +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.467Β΅s] [] [2025/04/04 10:49:48.140 +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/04 10:49:48.141 +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.317835ms] [] [2025/04/04 10:49:48.141 +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/04 10:49:48.141 +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=9.204Β΅s] [] [2025/04/04 10:49:48.141 +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/04 10:49:48.142 +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.020393ms] [] [2025/04/04 10:49:48.146 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:48.146 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:48.146 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:48.146 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:48.146 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:48.146 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.146 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:48.146 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:48.146 +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/04 10:49:48.146 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.146 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.146 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:48.148 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:48.148 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.148 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.148 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.149 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457117214378295315\n# Conn_ID: 2\n# Query_time: 0.345203523\n# Parse_time: 0.000168288\n# Compile_time: 0.000947413\n# Rewrite_time: 0.000534553\n# Optimize_time: 0.000322486\n# Wait_TS: 0.000127886\n# Cop_time: 0.000827546 Wait_time: 0.000047443 Request_count: 1 Process_keys: 4 Total_keys: 5 Get_snapshot_time: 0.000 Rocksdb_key_skipped_count: 4 Rocksdb_block_cache_hit_count: 2\n# DB: write_after_import\n# Is_internal: false\n# Digest: 4a4b6a4c30dc8ee1bebc60bd07e28678e357952a078d55330f553cd904684a3e\n# Stats: dt: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: 4.7443e-05 Cop_wait_addr: 127.0.0.1:20162\n# Mem_max: 356\n# Prepared: false\n# Plan_from_cache: 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('+QXwQzAJNTlfMgkwCTAJTi9BCTAJdGltZTozNDMuNW1zLCBvcGVuOjEwOC42wrVzLCBjbG9zZToyOC4ywrVzLCBsb29wczoxBTqgTi9BCjEJMzFfNwkwCTEwMDAwCWRhdGE6VGFibGVGdWxsU2Nhbl82CTQJYggxLjEdYAg0LjQuYAAINC44BQ8JYHQyLCBjb3BfdGFzazoge251bTogMSwgbWF4OiA3MjkFKSxwcm9jX2tleXM6IDQFLnRyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFTAhfZHUFGhhuOiAxOS41BUiobWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCBycGNfaW5mbzp7Q29wOgGJNF9ycGM6MSwgdG90YWxfJTpQNjQ1LjPCtXN9fQkzNTYgQnl0ZXMJIRwkMgk0M182CTFfMC0euHRhYmxlOmR0LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JNAl0aWt2BbQEOnsFZQwwcywgKRwBmDRzY2FuX2RldGFpbDogewmMGHByb2Nlc3M5FEYXACRfc2l6ZTogMTg0EcEpQTg1LCBnZXRfc25hcHNob3QJ1wwgMTUuKfRocm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50JX0MYmxvYyGoOYANHBQyfX19LCABwD6tAAh3YWkRZwQ0N00KBfMAZyFzEcsBOgw6IDI2QiEAHT8MMTkuNyXJBT8Md2FsbBE3QDE1LjbCtXN9CU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('5AagCt8GCgxJbXBvcnRJbnRvXzIS+gUKDVRhYmxlUmVhZGVyXzcSwgMKD1QBElBGdWxsU2Nhbl82IWTCmlW+DlRBKQABAfCQiMNAMAQ4AkACShMKEQoLZnJvbV9zZWxlY3QSAmR0Uh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qywJ0aWt2X3Rhc2s6e3RpbWU6MHMsIGxvb3BzOjF9LCBzY2FuX2RldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogNCwgdG90YWxfcHJvY2VzcwUXJF9zaXplOiAxODQRHlhrZXlzOiA1LCBnZXRfc25hcHNob3RfdAFy6CAxNS4ywrVzLCByb2Nrc2RiOiB7a2V5X3NraXBwZWRfY291bnQ6IDQsIGJsb2NrOiB7Y2FjaGVfaGl0ERwUMn19fSwgAU4IX2RlMq0ACHdhaRFnDDQ3LjQFZwXzDGdycGMVywE6DDogMjZCIQAdPwwxOS43GT8Md2FsbBE3JDE1LjbCtXN9cP8RAQQBeBEKJP8BIZxWH6WHfyAysQEoAUABUhRkYXRhOlQ23wEEWjEFjDgxLjFtcywgb3BlbjoxMDQNmCRjbG9zZToyNC44BYk4bG9vcHM6MmK0AWNvcF90IcREIHtudW06IDEsIG1heDogNzI5BSoQcHJvY18pgyA0LCBjb3ByX2M1RERyYXRpbzogMC4wMCwgYnVpbGQFTAhfZHUFGhhuOiAxOS41BUhwbWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCAhUSRpbmZvOntDb3A6AYkUX3JwYzoxUQMF2RA2NDUuMyEtEH1w5AJ4OSYAOCESFANOL0FaMwUoEDM0My41PQMAOCVjACwxAwQ4LkkyBGxvIQMAMVZ6AQQYAQ==')\n# Resource_group: default\nuse write_after_import;\nIMPORT INTO `write_after_import`.`t` FROM SELECT * FROM `from_select`.`dt`;"] [2025/04/04 10:49:48.155 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117214470045704] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.58s) === 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/04 10:49:48.174 +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-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.173 +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-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:48.179 +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-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.196 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=2.034539ms] [gotSchemaVersion=122] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.200 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=122] [2025/04/04 10:49:48.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=122] ["take time"=9.817103ms] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.343 +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-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.365 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=2.21002ms] [gotSchemaVersion=123] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.370 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=123] [2025/04/04 10:49:48.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=123] ["take time"=11.726857ms] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.381 +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-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.388 +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/04 10:49:48.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=1.162676ms] [gotSchemaVersion=124] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=124] [2025/04/04 10:49:48.407 +00:00] [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.54226ms] [job="ID:184, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.418 +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/04 10:49:48.422 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop table"] [2025/04/04 10:49:48.423 +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-04 10:49:48.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.442 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/04 10:49:48.443 +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/04 10:49:48.457 +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-04 10:49:48.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/04 10:49:48.457 +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-04 10:49:48.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.464 +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-04 10:49:48.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.469 +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/04 10:49:48.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.602006ms] [gotSchemaVersion=125] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:48.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=125] [2025/04/04 10:49: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=125] ["take time"=9.843542ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.503 +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-04 10:49:48.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.515 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/04 10:49:48.516 +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/04 10:49:48.561 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=185] [2025/04/04 10:49:48.568 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:48.568 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:48.569 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:48.569 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:48.569 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:48.569 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:48.569 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:48.569 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:48.569 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:48.570 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:48.584 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:48.586 +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/04 10:49:48.586 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:48.590 +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/04 10:49:48.594 +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/04 10:49:48.699 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [key=import-from-select] [2025/04/04 10:49:48.700 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [key=import-from-select] [2025/04/04 10:49:48.700 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=106.221Β΅s] [] [2025/04/04 10:49:48.700 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [key=import-from-select] [readDur=33.748Β΅s] [encodeDur=506.833Β΅s] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [deliverDur=353.966Β΅s] [type=query] [takeTime=1.353911ms] [] [2025/04/04 10:49:48.701 +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/04 10:49:48.701 +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/93ffdbe2-9902-4b7d-8064-30eea1434d96/102b1544-1a0b-5f02-9523-0f5011224f00.sst/0e6ae970-ee6d-4bca-99d2-24d6de50fd95.sst] [firstKey=7480000000000000B95F728000000000000001] [lastKey=7480000000000000B95F728000000000000004] [2025/04/04 10:49:48.704 +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=2.58184ms] [] [2025/04/04 10:49:48.704 +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/04 10:49:48.708 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:48.730 +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/04 10:49:48.730 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:48.732 +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/04 10:49:48.743 +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/04 10:49:48.744 +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.49947ms] [] [2025/04/04 10:49:48.744 +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/04 10:49:48.746 +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.689117ms] [] [2025/04/04 10:49:48.746 +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/04 10:49:48.750 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 10:49:48.750 +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.680846ms] [] [2025/04/04 10:49:48.750 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/04 10:49:48.750 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [2025/04/04 10:49:48.758 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [takeTime=7.82113ms] [] [2025/04/04 10:49:48.758 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 10:49:48.758 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [weight=30] [2025/04/04 10:49:48.758 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [concurrency=15] [2025/04/04 10:49:48.760 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=185] [physicalTableID=185] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 10:49:48.761 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:48.761 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 10:49:48.761 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=93ffdbe2-9902-4b7d-8064-30eea1434d96] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=10.920455ms] [] [2025/04/04 10:49:48.761 +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/04 10:49:48.761 +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=20.32Β΅s] [] [2025/04/04 10:49:48.761 +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/04 10:49:48.763 +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.182386ms] [] [2025/04/04 10:49:48.763 +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/04 10:49:48.763 +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.555Β΅s] [] [2025/04/04 10:49:48.763 +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/04 10:49:48.764 +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.026822ms] [] [2025/04/04 10:49:48.767 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:48.767 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:48.767 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:48.767 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:48.767 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:48.767 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:48.767 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:48.767 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.767 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.767 +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/04 10:49:48.767 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.767 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:48.769 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:48.770 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.770 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.770 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.62s) === 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/04 10:49:48.795 +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-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:48.796 +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-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.802 +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-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=2.637552ms] [gotSchemaVersion=126] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=126] [2025/04/04 10:49:48.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=126] ["take time"=10.479566ms] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.836 +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-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.852 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=2.097418ms] [gotSchemaVersion=127] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.857 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=127] [2025/04/04 10:49:48.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=127] ["take time"=10.322156ms] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.868 +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-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.875 +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/04 10:49:48.889 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.190623ms] [gotSchemaVersion=128] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/04 10:49:48.895 +00:00] [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"=9.840257ms] [job="ID:187, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.906 +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/04 10:49:48.910 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop table"] [2025/04/04 10:49:48.911 +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-04 10:49:48.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.930 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 10:49:48.930 +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/04 10:49:48.944 +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-04 10:49:48.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.944 +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-04 10:49:48.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 10:49:48.950 +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-04 10:49:48.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.955 +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/04 10:49:48.972 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.737483ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:48.976 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/04 10:49:48.977 +00:00] [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.314896ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.990 +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-04 10:49:48.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.002 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/04 10:49:49.002 +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/04 10:49:49.051 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=188] [2025/04/04 10:49:49.058 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:49.058 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407901033089673] [2025/04/04 10:49:49.058 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:49.059 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:49.059 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:49.059 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:49.059 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:49.059 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:49.059 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:49.060 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:49.072 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:49.074 +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/04 10:49:49.074 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=373.5GB] [2025/04/04 10:49:49.078 +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/04 10:49:49.082 +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/04 10:49:49.129 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [key=import-from-select] [2025/04/04 10:49:49.130 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [key=import-from-select] [readDur=53.277Β΅s] [encodeDur=542.865Β΅s] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [deliverDur=333.8Β΅s] [type=query] [takeTime=1.265104ms] [] [2025/04/04 10:49:49.130 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [key=import-from-select] [2025/04/04 10:49:49.130 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=116.644Β΅s] [] [2025/04/04 10:49:49.131 +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/f37d0d5b-c5ce-4761-9232-b2be472c5470/102b1544-1a0b-5f02-9523-0f5011224f00.sst/12898b63-4c10-4a66-9938-77554d086b12.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000004] [2025/04/04 10:49:49.131 +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/04 10:49:49.134 +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=2.072964ms] [] [2025/04/04 10:49:49.134 +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/04 10:49:49.138 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:49.160 +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/04 10:49:49.160 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:49.162 +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/04 10:49:49.173 +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/04 10:49:49.175 +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.003022ms] [] [2025/04/04 10:49:49.175 +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/04 10:49:49.175 +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/f37d0d5b-c5ce-4761-9232-b2be472c5470/630083e6-fc50-5cd2-8645-c17b147197ce.sst/33c84a96-e125-4b45-9f8c-83cd2a369260.sst] [firstKey=7480000000000000BC5F698000000000000001038000000000000004] [lastKey=7480000000000000BC5F698000000000000001038000000000000007] [2025/04/04 10:49:49.178 +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.833943ms] [] [2025/04/04 10:49:49.178 +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/04 10:49:49.182 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:49.203 +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/04 10:49:49.204 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:49.205 +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/04 10:49:49.216 +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/04 10:49:49.218 +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=40.088564ms] [] [2025/04/04 10:49:49.218 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/04 10:49:49.218 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [2025/04/04 10:49:49.224 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [takeTime=6.243561ms] [] [2025/04/04 10:49:49.224 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 10:49:49.224 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [weight=30] [2025/04/04 10:49:49.224 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [concurrency=15] [2025/04/04 10:49:49.230 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 10:49:49.231 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/04 10:49:49.231 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:49.231 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 10:49:49.232 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=f37d0d5b-c5ce-4761-9232-b2be472c5470] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=13.54842ms] [] [2025/04/04 10:49:49.232 +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/04 10:49:49.232 +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=8.234Β΅s] [] [2025/04/04 10:49:49.232 +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/04 10:49:49.233 +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.063814ms] [] [2025/04/04 10:49:49.233 +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/04 10:49:49.233 +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.446Β΅s] [] [2025/04/04 10:49:49.233 +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/04 10:49:49.234 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=953.144Β΅s] [] [2025/04/04 10:49:49.238 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:49.238 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:49.238 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:49.238 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:49.238 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:49.238 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:49.238 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:49.238 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:49.238 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:49.238 +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/04 10:49:49.238 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:49.238 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:49.240 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:49.240 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:49.240 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:49.240 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.47s) === 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/04 10:49:49.267 +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-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:49.267 +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-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:49.274 +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-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=2.283592ms] [gotSchemaVersion=130] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:49.295 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=130] [2025/04/04 10:49:49.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=130] ["take time"=9.952253ms] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.308 +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-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.325 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=2.223173ms] [gotSchemaVersion=131] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:49.329 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=131] [2025/04/04 10:49:49.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=131] ["take time"=10.121153ms] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.339 +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-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.346 +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/04 10:49:49.361 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.171388ms] [gotSchemaVersion=132] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:49.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=132] [2025/04/04 10:49:49.366 +00:00] [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.640552ms] [job="ID:190, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.376 +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/04 10:49:49.381 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="drop table"] [2025/04/04 10:49:49.382 +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-04 10:49:49.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.400 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=190] [2025/04/04 10:49:49.400 +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 (3.06s) === NAME TestImportInto [2025/04/04 10:49:49.403 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:49.403 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [] [2025/04/04 10:49:49.403 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:49.403 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.403 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:49.403 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:49.403 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=74.764Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=62.029Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=76.066Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=68.226Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=57.233Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=42.56Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=37.433Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=33.236Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=46.035Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=26.773Β΅s] [2025/04/04 10:49:49.404 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.404 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.405 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:49.405 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:49.446 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c6a19857-95d4-4886-93ac-afd36f393864] ["take time"=43.153017ms] [2025/04/04 10:49:49.446 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.446 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:49.446 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1f76ad38-d032-4b68-b658-a028fa58ff91] [watcherID=5242168f-e40e-4d5f-b4c1-ad43d109cef7] [2025/04/04 10:49:49.446 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:49.446 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1f76ad38-d032-4b68-b658-a028fa58ff91] [2025/04/04 10:49:49.447 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [ttl-worker=task-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [originalCount=4] [newCount=0] [2025/04/04 10:49:49.447 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:49.447 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:49.447 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:49.447 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:49.447 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [ttl-worker=task-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [originalCount=4] [newCount=0] [2025/04/04 10:49:49.450 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:49.450 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:49.450 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:49.451 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:49.453 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.453 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=100] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0472f0cb-f650-449c-9629-b7c80f247871] [] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:49.455 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0472f0cb-f650-449c-9629-b7c80f247871] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:49.456 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.456 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:49.456 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:49.456 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0472f0cb-f650-449c-9629-b7c80f247871] [2025/04/04 10:49:49.456 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:49.456 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0472f0cb-f650-449c-9629-b7c80f247871] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:49.456 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.455 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:49.456 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:49.455 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:49.455 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:49.455 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:49.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:49.455 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:49.456 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:49.456 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:49.456 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.456 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:49.456 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.456 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:49.456 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:49.456 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:49.456 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:49.457 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0472f0cb-f650-449c-9629-b7c80f247871] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:49.457 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:49.457 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:49.457 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:49.457 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:49.457 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:49.457 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:49.457 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [] [2025/04/04 10:49:49.458 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.457 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:49:49.458 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.458 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [error="context canceled"] [2025/04/04 10:49:49.458 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:49.458 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [2025/04/04 10:49:49.458 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:49.458 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:49.458 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [error="context canceled"] [2025/04/04 10:49:49.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:49.458 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c6a19857-95d4-4886-93ac-afd36f393864] [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/04 10:49:49.461 +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.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/04 10:49:49.464 +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/04 10:49:49.465 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](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/04 10:49:49.465 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:49.465 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:49.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:49.482 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:49.482 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:49.535 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:49.535 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:49.550 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=146.931139ms] [2025/04/04 10:49:49.553 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:49.553 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:49.553 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:49.553 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:49.553 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:49.553 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:49.553 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:49.553 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:49.553 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:49.553 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:49.553 +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/04 10:49:49.553 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:49.555 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (18.87s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest2:importintotest2_test up-to-date: bazel-bin/tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test INFO: Elapsed time: 72.662s, Critical Path: 53.78s INFO: 4637 processes: 4617 remote cache hit, 13 internal, 7 linux-sandbox. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest2:importintotest2_test PASSED in 22.6s PASSED importintotest2_test.TestImportInto (18.9s) 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.6s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile (6.1s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-0 (1.0s) 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 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-6 (1.2s) 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 (3.1s) 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.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.6s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.6s) 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 1 out of 1 test: 1 test passes.  [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; 1s remote-cache, linux-sandbox [Pipeline] // dir [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; 0s remote-cache, linux-sandbox [Pipeline] } [4,570 / 4,571] GoLink tests/realtikvtest/addindextest/addindextest_test_/addindextest_test; 1s remote-cache, linux-sandbox [Pipeline] // dir Post stage [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] junit Recording test results [Pipeline] script [Pipeline] { [Pipeline] sh None of the test reports contained any result [Checks API] No suitable checks publisher found. No test report files were found. Configuration error? [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [4,570 / 4,571] [Prepa] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test [Pipeline] } [Pipeline] sh No test report files were found. Configuration error? [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 1s remote-cache, linux-sandbox [Pipeline] // container [Pipeline] // dir [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; 1s remote-cache, linux-sandbox [Pipeline] } [4,639 / 4,640] 1 / 1 tests; Testing //tests/realtikvtest/importintotest3:importintotest3_test; 18s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest3:importintotest3_test: ==================== Test output for //tests/realtikvtest/importintotest3:importintotest3_test: === RUN TestImportInto [2025/04/04 10:49:37.662 +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/04 10:49:37.662 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:37.664 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407885303287857] [2025/04/04 10:49:37.664 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:37.664 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:37.665 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:37.665 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:37.665 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:37.665 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:37.665 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:37.666 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:37.677 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:37.685 +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/04 10:49:37.686 +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/04 10:49:37.686 +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/04 10:49:37.711 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:37.711 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:37.716 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:37.717 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:37.728 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:37.751 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407885303287857] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:37.774 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:37.814 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=346] ["lease id"=2231960069d3d27a] [2025/04/04 10:49:37.816 +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/04 10:49:37.823 +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/04 10:49:37.929 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=105.543824ms] [2025/04/04 10:49:37.929 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:37.931 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:49:37.931 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:37.931 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:37.933 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:37.935 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:37.935 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 316366585856/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:37.935 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:37.935 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:37.935 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:37.936 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [2025/04/04 10:49:37.937 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d3e00a] [ownerID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [op=none] [2025/04/04 10:49:37.937 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:37.938 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [ownerKey=/tidb/ddl/fg/owner/6f18960069d3e00a] [currRev=99] [2025/04/04 10:49:37.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:37.939 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:37.939 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:37.939 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d3e00c] [ownerID=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [op=none] [2025/04/04 10:49:37.939 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [2025/04/04 10:49:37.939 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [ownerKey=/tidb/br-stream/owner/6f18960069d3e00c] [currRev=100] [2025/04/04 10:49:37.940 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d3e00a] [ownerID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [op=none] [2025/04/04 10:49:37.940 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [op=none] [2025/04/04 10:49:37.940 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:37.943 +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/04 10:49:37.958 +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-04 10:49:37.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.958 +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-04 10:49:37.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:49:37.965 +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-04 10:49:37.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.119 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=138.456702ms] [2025/04/04 10:49:38.119 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:38.126 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:49:38.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=1] ["take time"=149.23141ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.141 +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-04 10:49:37.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.156 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:49:38.156 +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/04 10:49:38.157 +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/04 10:49:38.161 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/04 10:49:38.188 +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-04 10:49:38.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.188 +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-04 10:49:38.142 +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/04 10:49:38.200 +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-04 10:49:38.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.258 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.390369ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.261 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.261 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:49:38.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=2] ["take time"=14.764897ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.286 +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-04 10:49:38.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.319 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:49:38.320 +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/04 10:49:38.335 +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-04 10:49:38.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.335 +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-04 10:49:38.292 +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/04 10:49:38.342 +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-04 10:49:38.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.364 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.02639ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.368 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.368 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:49:38.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=3] ["take time"=10.332682ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.388 +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-04 10:49:38.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.403 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:49:38.403 +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/04 10:49:38.417 +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-04 10:49:38.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.417 +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-04 10:49:38.392 +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/04 10:49:38.423 +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-04 10:49:38.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.01362ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.449 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.449 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:49:38.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=4] ["take time"=12.987172ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.462 +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-04 10:49:38.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.478 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:49:38.478 +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/04 10:49:38.509 +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-04 10:49:38.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.509 +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-04 10:49:38.442 +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/04 10:49:38.517 +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-04 10:49:38.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.553 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.568054ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.556 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.556 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:49:38.558 +00:00] [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"=12.284146ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.574 +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-04 10:49:38.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.602 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:49:38.602 +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/04 10:49:38.619 +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-04 10:49:38.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.619 +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-04 10:49:38.592 +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/04 10:49:38.625 +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-04 10:49:38.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.650 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.836568ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.653 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.653 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:49:38.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=6] ["take time"=10.043948ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.667 +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-04 10:49:38.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.685 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:49:38.686 +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/04 10:49:38.705 +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-04 10:49:38.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.705 +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-04 10:49:38.692 +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/04 10:49:38.713 +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-04 10:49:38.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.740 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.720318ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.744 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.744 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:49:38.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=7] ["take time"=10.465266ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.757 +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-04 10:49:38.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.773 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:49:38.773 +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/04 10:49:38.792 +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-04 10:49:38.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.792 +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-04 10:49:38.742 +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/04 10:49:38.800 +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-04 10:49:38.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.710056ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.820 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:49:38.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=8] ["take time"=8.480625ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.832 +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-04 10:49:38.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.843 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:49:38.843 +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/04 10:49:38.855 +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-04 10:49:38.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.855 +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-04 10:49:38.842 +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/04 10:49:38.861 +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-04 10:49:38.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.878 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.822596ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.882 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.882 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:49:38.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=9] ["take time"=8.690743ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.894 +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-04 10:49:38.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.906 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:49:38.906 +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/04 10:49:38.921 +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-04 10:49:38.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.921 +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-04 10:49:38.892 +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/04 10:49:38.927 +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-04 10:49:38.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.936 +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/04 10:49:38.948 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.240966ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.952 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.952 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:49:38.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=10] ["take time"=9.278604ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.964 +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-04 10:49:38.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.978 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:49:38.978 +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/04 10:49:38.992 +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-04 10:49:38.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.992 +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-04 10:49:38.942 +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/04 10:49:38.999 +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-04 10:49:38.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.019 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.134206ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.023 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.023 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:49:39.025 +00:00] [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.122418ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.036 +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-04 10:49:38.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.052 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:49:39.052 +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/04 10:49:39.054 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:39.069 +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-04 10:49:39.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.069 +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-04 10:49:39.042 +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/04 10:49:39.078 +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-04 10:49:39.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.106 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.151146ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.109 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.109 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:49:39.111 +00:00] [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.342792ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.123 +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-04 10:49:39.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.140 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:49:39.140 +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/04 10:49:39.155 +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-04 10:49:39.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.155 +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-04 10:49:39.142 +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/04 10:49:39.161 +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-04 10:49:39.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.183 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.672596ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.187 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.187 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:49:39.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=13] ["take time"=9.968147ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.201 +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-04 10:49:39.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.215 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:49:39.215 +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/04 10:49:39.229 +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-04 10:49:39.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.229 +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-04 10:49:39.192 +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/04 10:49:39.235 +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-04 10:49:39.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.255 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.08027ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.258 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.258 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:49:39.260 +00:00] [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.901355ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.276 +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-04 10:49:39.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.289 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:49:39.289 +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/04 10:49:39.303 +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-04 10:49:39.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.303 +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-04 10:49:39.292 +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/04 10:49:39.308 +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-04 10:49:39.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.328 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.037976ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.331 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.331 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:49:39.333 +00:00] [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.876798ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.343 +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-04 10:49:39.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.356 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:49:39.356 +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/04 10:49:39.369 +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-04 10:49:39.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.369 +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-04 10:49:39.342 +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/04 10:49:39.374 +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-04 10:49:39.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.954894ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.395 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.395 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:49: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=16] ["take time"=8.778106ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.407 +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-04 10:49:39.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.419 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:49:39.419 +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/04 10:49:39.433 +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-04 10:49:39.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.433 +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-04 10:49:39.392 +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/04 10:49:39.438 +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-04 10:49:39.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.085397ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.461 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:49: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=17] ["take time"=8.707349ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.473 +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-04 10:49:39.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.489 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:49:39.489 +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/04 10:49:39.506 +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-04 10:49:39.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.507 +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-04 10:49:39.491 +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/04 10:49:39.512 +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-04 10:49:39.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.533 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.193721ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.536 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.536 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:49:39.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=18] ["take time"=9.260045ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.549 +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-04 10:49:39.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.561 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:49:39.562 +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/04 10:49:39.580 +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-04 10:49:39.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.580 +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-04 10:49:39.542 +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/04 10:49:39.587 +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-04 10:49:39.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.23885ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.617 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:49:39.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=19] ["take time"=10.616717ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.632 +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-04 10:49:39.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.649 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:49:39.650 +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/04 10:49:39.671 +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-04 10:49:39.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.671 +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-04 10:49:39.641 +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/04 10:49:39.676 +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-04 10:49:39.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.678 +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/04 10:49:39.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.148372ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.700 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:49:39.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=20] ["take time"=9.295888ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.713 +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-04 10:49:39.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.726 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:49:39.726 +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/04 10:49:39.740 +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-04 10:49:39.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.740 +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-04 10:49:39.692 +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/04 10:49:39.745 +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-04 10:49:39.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.763 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=2.007893ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.767 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.767 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:49:39.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=21] ["take time"=9.206309ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.778 +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-04 10:49:39.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.790 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:49:39.790 +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/04 10:49:39.804 +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-04 10:49:39.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.804 +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-04 10:49:39.792 +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/04 10:49:39.809 +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-04 10:49:39.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.825 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.423037ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.828 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.828 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:49:39.830 +00:00] [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.510045ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.841 +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-04 10:49:39.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.853 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:49:39.854 +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/04 10:49:39.869 +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-04 10:49:39.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.869 +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-04 10:49:39.842 +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/04 10:49:39.875 +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-04 10:49:39.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.653151ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.902 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:49:39.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=23] ["take time"=9.850077ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.917 +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-04 10:49:39.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.932 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:49:39.933 +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/04 10:49:39.935 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:39.935 +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/04 10:49:39.951 +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-04 10:49:39.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.951 +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-04 10:49:39.892 +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/04 10:49:39.957 +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-04 10:49:39.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.979 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.185896ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.983 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.983 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:49:39.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=24] ["take time"=10.519829ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.998 +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-04 10:49:39.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.012 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:49:40.012 +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/04 10:49:40.031 +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-04 10:49:39.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.031 +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-04 10:49:39.992 +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/04 10:49:40.038 +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-04 10:49:39.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.304279ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.064 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.064 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:49:40.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=25] ["take time"=10.153381ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.078 +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-04 10:49:39.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.095 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:49:40.095 +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/04 10:49:40.109 +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-04 10:49:40.092 +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/04 10:49:40.109 +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-04 10:49:40.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.115 +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-04 10:49:40.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.134 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=2.045174ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.138 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.138 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:49:40.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=26] ["take time"=9.694015ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.151 +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-04 10:49:40.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.164 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:49:40.165 +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/04 10:49:40.179 +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-04 10:49:40.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.180 +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-04 10:49:40.142 +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/04 10:49:40.186 +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-04 10:49:40.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.208 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.137024ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.211 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.211 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:49:40.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=27] ["take time"=9.611333ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.225 +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-04 10:49:40.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.239 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:49:40.239 +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/04 10:49:40.254 +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-04 10:49:40.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.254 +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-04 10:49:40.242 +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/04 10:49:40.260 +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-04 10:49:40.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.986165ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.283 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:49:40.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=28] ["take time"=9.287804ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.296 +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-04 10:49:40.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.309 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:49:40.309 +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/04 10:49:40.311 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:40.324 +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-04 10:49:40.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.324 +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-04 10:49:40.292 +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/04 10:49:40.330 +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-04 10:49:40.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.351 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.301095ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.355 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.355 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:49: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=29] ["take time"=9.604484ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.368 +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-04 10:49:40.292 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.383 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:49:40.383 +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/04 10:49:40.399 +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-04 10:49:40.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.399 +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-04 10:49:40.342 +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/04 10:49:40.405 +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-04 10:49:40.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.431 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.495308ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.435 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.435 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:49:40.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=30] ["take time"=10.170538ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.449 +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-04 10:49:40.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.464 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:49:40.464 +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/04 10:49:40.481 +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-04 10:49:40.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.481 +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-04 10:49:40.442 +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/04 10:49:40.490 +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-04 10:49:40.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.516 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.645968ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.520 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.520 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:49:40.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=31] ["take time"=10.31029ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.534 +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-04 10:49:40.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.548 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:49:40.549 +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/04 10:49:40.567 +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-04 10:49:40.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.567 +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-04 10:49:40.542 +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/04 10:49:40.575 +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-04 10:49:40.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.607 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=4.317ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.611 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.611 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:49:40.613 +00:00] [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"=12.905649ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.627 +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-04 10:49:40.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.646 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:49:40.646 +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/04 10:49:40.659 +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-04 10:49:40.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.659 +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-04 10:49:40.642 +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/04 10:49:40.665 +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-04 10:49:40.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.690 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=2.457021ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.695 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.695 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:49:40.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=33] ["take time"=11.378239ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.708 +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-04 10:49:40.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.720 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:49:40.720 +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/04 10:49:40.737 +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-04 10:49:40.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.737 +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-04 10:49:40.691 +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/04 10:49:40.743 +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-04 10:49:40.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.766 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.238279ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:40.770 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.770 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:49:40.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"=10.46197ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.790 +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-04 10:49:40.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.805 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:49:40.821 +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-04 10:49:40.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.821 +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-04 10:49:40.792 +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/04 10:49:40.827 +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-04 10:49:40.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.335655ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.852 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.852 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:49:40.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=35] ["take time"=9.382572ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.865 +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-04 10:49:40.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.880 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:49:40.881 +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/04 10:49:40.902 +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-04 10:49:40.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.902 +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-04 10:49:40.842 +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/04 10:49:40.908 +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-04 10:49:40.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.867723ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.930 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:49:40.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=36] ["take time"=8.989404ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.942 +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-04 10:49:40.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.954 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:49:40.954 +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/04 10:49:40.967 +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-04 10:49:40.942 +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/04 10:49:40.967 +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-04 10:49:40.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.975 +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-04 10:49:40.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.002 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.952572ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.006 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:49:41.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=37] ["take time"=9.560795ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.018 +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-04 10:49:40.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.031 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:49:41.032 +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/04 10:49:41.050 +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-04 10:49:40.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.050 +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-04 10:49:40.992 +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/04 10:49:41.057 +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-04 10:49:40.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.093 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.85121ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.097 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.097 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:49:41.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=38] ["take time"=11.832931ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.114 +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-04 10:49:40.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.133 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:49:41.133 +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/04 10:49:41.151 +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-04 10:49:41.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.151 +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-04 10:49:41.092 +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/04 10:49:41.157 +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-04 10:49:41.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.192 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.774971ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.196 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.196 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:49:41.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=39] ["take time"=12.957068ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.212 +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-04 10:49:41.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.231 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:49:41.231 +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/04 10:49:41.250 +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-04 10:49:41.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.250 +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-04 10:49:41.192 +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/04 10:49:41.258 +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-04 10:49:41.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.297 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.762865ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.301 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.301 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:49: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=40] ["take time"=12.14885ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.318 +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-04 10:49:41.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.336 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:49:41.337 +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/04 10:49:41.355 +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-04 10:49:41.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.355 +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-04 10:49:41.342 +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/04 10:49:41.362 +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-04 10:49:41.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.949013ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.406 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:49:41.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=41] ["take time"=12.332687ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.424 +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-04 10:49:41.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.444 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:49:41.444 +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/04 10:49:41.463 +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-04 10:49:41.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.463 +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-04 10:49:41.441 +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/04 10:49:41.469 +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-04 10:49:41.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.507 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=4.05823ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.511 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.511 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:49:41.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=42] ["take time"=12.765047ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.529 +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-04 10:49:41.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.549 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:49:41.549 +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/04 10:49:41.567 +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-04 10:49:41.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.567 +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-04 10:49:41.541 +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/04 10:49:41.574 +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-04 10:49:41.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.605 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.613379ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.609 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:49:41.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=43] ["take time"=12.210944ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.627 +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-04 10:49:41.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.647 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:49:41.648 +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/04 10:49:41.665 +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-04 10:49:41.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.665 +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-04 10:49:41.642 +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/04 10:49:41.671 +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-04 10:49:41.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=3.075821ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.711 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:49:41.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=44] ["take time"=10.702441ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.726 +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-04 10:49:41.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.743 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:49:41.744 +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/04 10:49:41.760 +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-04 10:49:41.742 +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/04 10:49:41.760 +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-04 10:49:41.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.766 +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-04 10:49:41.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.802 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.974536ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.805 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.805 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:49:41.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=45] ["take time"=10.145837ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.819 +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-04 10:49:41.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.835 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:49:41.835 +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/04 10:49:41.854 +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-04 10:49:41.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.854 +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-04 10:49:41.792 +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/04 10:49:41.865 +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-04 10:49:41.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.910 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.991348ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.914 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:49:41.916 +00:00] [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.475563ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.930 +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-04 10:49:41.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.949 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:49:41.949 +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/04 10:49:41.965 +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-04 10:49:41.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.965 +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-04 10:49:41.942 +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/04 10:49:41.972 +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-04 10:49:41.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.910664ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.006 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:49:42.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=47] ["take time"=10.212206ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.020 +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-04 10:49:41.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.036 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:49:42.036 +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/04 10:49:42.050 +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-04 10:49:41.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.049 +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-04 10:49:41.992 +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/04 10:49:42.055 +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-04 10:49:41.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.077 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=3.059452ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.082 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.082 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:49:42.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=48] ["take time"=13.122231ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.098 +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-04 10:49:41.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.116 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:49:42.116 +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/04 10:49:42.129 +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-04 10:49:42.092 +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/04 10:49:42.129 +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-04 10:49:42.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.134 +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-04 10:49:42.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.153 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.022624ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.156 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:49:42.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=49] ["take time"=8.7747ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.168 +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-04 10:49:42.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.184 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:49:42.184 +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/04 10:49:42.186 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:42.201 +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-04 10:49:42.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.201 +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-04 10:49:42.142 +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/04 10:49:42.208 +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-04 10:49:42.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.229 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.293879ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.233 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.233 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:49:42.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=50] ["take time"=10.071908ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.247 +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-04 10:49:42.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.264 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:49:42.264 +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/04 10:49:42.281 +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-04 10:49:42.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.281 +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-04 10:49:42.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:49:42.288 +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-04 10:49:42.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.303 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=710.052Β΅s] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:42.307 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.307 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:49:42.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=51] ["take time"=8.597766ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.319 +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-04 10:49:42.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.330 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:49:42.330 +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/04 10:49:42.346 +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-04 10:49:42.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.346 +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-04 10:49:42.291 +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/04 10:49:42.351 +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-04 10:49:42.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=2.257663ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:42.376 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.376 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:49:42.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=52] ["take time"=12.031709ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.394 +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-04 10:49:42.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.408 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:49:42.427 +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-04 10:49:42.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.427 +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-04 10:49:42.391 +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/04 10:49:42.433 +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-04 10:49:42.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.461 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.230023ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.464 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.464 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:49:42.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=53] ["take time"=10.782315ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.484 +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-04 10:49:42.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.505 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:49:42.506 +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/04 10:49:42.521 +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-04 10:49:42.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.521 +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-04 10:49:42.492 +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/04 10:49:42.528 +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-04 10:49:42.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.552226ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.554 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.554 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:49:42.556 +00:00] [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"=10.4448ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.568 +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-04 10:49:42.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.588 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:49:42.589 +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/04 10:49:42.605 +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-04 10:49:42.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.605 +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-04 10:49:42.592 +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/04 10:49:42.612 +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-04 10:49:42.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.634 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.414745ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.637 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.637 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:49:42.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=55] ["take time"=9.831765ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.651 +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-04 10:49:42.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.666 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:49:42.666 +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/04 10:49:42.828 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.889889706s] [2025/04/04 10:49:42.831 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:42.832 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:42.832 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [] [2025/04/04 10:49:42.832 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:42.832 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:42.832 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:42.832 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=95.923Β΅s] [2025/04/04 10:49:42.832 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=33.89Β΅s] [2025/04/04 10:49:42.832 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=49.285Β΅s] [2025/04/04 10:49:42.832 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=32.395Β΅s] [2025/04/04 10:49:42.833 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=39.443Β΅s] [2025/04/04 10:49:42.833 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=33.124Β΅s] [2025/04/04 10:49:42.833 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=33.679Β΅s] [2025/04/04 10:49:42.833 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=35.901Β΅s] [2025/04/04 10:49:42.833 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=35.067Β΅s] [2025/04/04 10:49:42.833 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=36.955Β΅s] [2025/04/04 10:49:42.833 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:42.833 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:42.834 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:42.835 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:42.845 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] ["take time"=13.208518ms] [2025/04/04 10:49:42.845 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:42.846 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=346] [2025/04/04 10:49:42.846 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:42.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:42.846 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:42.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:42.846 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:42.846 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [] [2025/04/04 10:49:42.846 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:42.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:42.846 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [2025/04/04 10:49:42.846 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:42.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:42.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:42.846 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [2025/04/04 10:49:42.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:42.846 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [2025/04/04 10:49:42.847 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:42.847 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:42.847 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:42.847 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=889b3829-d4a5-4679-8a7a-d279c3eb19b3] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:42.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:42.848 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:42.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:42.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:42.852 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=20.629787ms] [2025/04/04 10:49:42.852 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407885303287857] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:42.863 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:42.917 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=760] ["lease id"=2231960069d3d2fd] [2025/04/04 10:49:42.919 +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/04 10:49:43.055 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=132.312986ms] [2025/04/04 10:49:43.055 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:43.065 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:43.065 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:43.067 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [lease=6f18960069d3e00a] [2025/04/04 10:49:43.067 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:43.068 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 316366954496/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:43.068 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:43.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:43.068 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:43.068 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [2025/04/04 10:49:43.072 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d3e00a] [ownerID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [op=none] [2025/04/04 10:49:43.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:43.072 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:43.072 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [ownerKey=/tidb/ddl/fg/owner/6f18960069d3e00a] [currRev=281] [2025/04/04 10:49:43.072 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:43.074 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d3e082] [ownerID=237be48b-e333-440d-8cc7-72b502dfc7d8] [op=none] [2025/04/04 10:49:43.074 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [2025/04/04 10:49:43.074 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [ownerKey=/tidb/br-stream/owner/6f18960069d3e082] [currRev=282] [2025/04/04 10:49:43.075 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:43.077 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d3e00a] [ownerID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [op=none] [2025/04/04 10:49:43.077 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [op=none] [2025/04/04 10:49:43.077 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:43.084 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:43.085 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:43.085 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:43.088 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/2231960069d3d306] [ownerID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [op=none] [2025/04/04 10:49:43.088 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:43.088 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [ownerKey=/tidb/bindinfo/owner/2231960069d3d306] [currRev=283] [2025/04/04 10:49:43.097 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:49:43.101 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:43.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:43.109 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:43.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:43.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:43.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:43.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:43.118 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:43.118 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:43.118 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:43.118 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:43.118 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:43.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:43.119 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:43.121 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:43.121 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:43.121 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:43.121 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:43.123 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=60] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:43.123 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069d3e088] [ownerID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [op=none] [2025/04/04 10:49:43.123 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:43.123 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [ownerKey=/tidb/stats/owner/6f18960069d3e088] [currRev=284] [2025/04/04 10:49:43.126 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/e03b2255-1c18-4c05-a8bd-9c9aa3819c6c] [2025/04/04 10:49:43.126 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [ttl-worker=task-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [originalCount=0] [newCount=4] [2025/04/04 10:49:43.126 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [ttl-worker=task-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [originalCount=0] [newCount=4] [2025/04/04 10:49:43.126 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:43.129 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:43.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:43.135 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:43.136 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763783136395461 [2025/04/04 10:49:43.139 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:43.146 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=26.50143ms] [2025/04/04 10:49:43.146 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:43.146 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:43.164 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:49:43.176 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743763783177962919 [2025/04/04 10:49:43.190 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] === RUN TestImportInto/TestGzipAndMixedCompression [2025/04/04 10:49:43.194 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gzip"] [user=] [2025/04/04 10:49:43.207 +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-04 10:49:43.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.207 +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-04 10:49:43.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gzip"] [2025/04/04 10:49:43.213 +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-04 10:49:43.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.313 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=83.399101ms] [2025/04/04 10:49:43.313 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 10:49:43.313 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:43.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:49:43.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=56] ["take time"=91.195021ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.330 +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-04 10:49:43.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.340 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:49:43.341 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gzip"] [user=] [2025/04/04 10:49:43.354 +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-04 10:49:43.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.354 +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-04 10:49:43.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 10:49:43.360 +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-04 10:49:43.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.364 +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/04 10:49:43.381 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.602764ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.386 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 10:49:43.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=57] ["take time"=12.244356ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.402 +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-04 10:49:43.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.414 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:49:43.415 +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/04 10:49:44.075 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:44.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:44.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:44.075 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:44.126 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:44.126 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:44.126 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/e03b2255-1c18-4c05-a8bd-9c9aa3819c6c] [watcherID=71b3607d-d99b-4db9-a404-21d4a2530fd6] [2025/04/04 10:49:44.136 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:44.140 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=60] [2025/04/04 10:49:44.140 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:44.140 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:44.140 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:44.140 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:44.602 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.661 +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/04 10:49:44.687 +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/04 10:49:44.701 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:44.701 +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/04 10:49:44.804 +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/04 10:49:44.805 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:44.806 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 10:49:44.815 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.829 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:44.829 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/04 10:49:44.829 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=99.792Β΅s] [2025/04/04 10:49:44.829 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=241.409Β΅s] [] [2025/04/04 10:49:44.830 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:44.830 +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/04 10:49:44.869 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=1] [remaining-slots=59] [2025/04/04 10:49:44.890 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:49:44.890 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:44.891 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 10:49:44.898 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:44.898 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407885303287857] [2025/04/04 10:49:44.899 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:44.899 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:44.899 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:44.899 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:44.899 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:44.899 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:44.900 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:44.900 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:44.910 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 10:49:44.915 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:44.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/04 10:49:44.916 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=752.3GB] [2025/04/04 10:49:44.916 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=273.1MiB] [per-index-buf-limit=91.02MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:44.917 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=700.7GiB] [2025/04/04 10:49:44.917 +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=546.1MiB]"] [2025/04/04 10:49:44.928 +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/04 10:49:44.928 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 10:49:44.930 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 10:49:44.949 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:49:44.953 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:49:44.953 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:49:44.956 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [2025/04/04 10:49:44.957 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [readDur=91.932Β΅s] [encodeDur=129.953Β΅s] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=28.17Β΅s] [type=file] [takeTime=605.163Β΅s] [] [2025/04/04 10:49:44.958 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:49:44.958 +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/e4985d78-5bd0-46c8-8a4c-2e76904ea679.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000002] [2025/04/04 10:49:45.019 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [2025/04/04 10:49:45.020 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [readDur=83.019Β΅s] [encodeDur=202.812Β΅s] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=28.786Β΅s] [type=file] [takeTime=534.181Β΅s] [] [2025/04/04 10:49:45.021 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:49:45.021 +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/9a239bc4-2dee-47e2-98cc-19b5538b2f44.sst] [firstKey=7480000000000000725F728000000000000003] [lastKey=7480000000000000725F728000000000000004] [2025/04/04 10:49:45.059 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [2025/04/04 10:49:45.060 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [readDur=970.964Β΅s] [encodeDur=225.136Β΅s] [checksum="{cksum=17289666951678080828,size=165,kvs=5}"] [deliverDur=25.801Β΅s] [type=file] [takeTime=1.41551ms] [] [2025/04/04 10:49:45.062 +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/20082606-8704-4b6d-a2a8-1437a640edce.sst] [firstKey=7480000000000000725F728000000000000005] [lastKey=7480000000000000725F728000000000000009] [2025/04/04 10:49:45.062 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:49:45.062 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:49:45.062 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:49:45.064 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.888648ms] [] [2025/04/04 10:49:45.064 +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/04 10:49:45.067 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:45.069 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:45.091 +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/04 10:49:45.091 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:45.093 +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/04 10:49:45.106 +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/04 10:49:45.107 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [takeTime=43.531316ms] [] [2025/04/04 10:49:45.107 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:49:45.109 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.196534ms] [] [2025/04/04 10:49:45.109 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 10:49:45.109 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:49:45.110 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.531869ms] [] [2025/04/04 10:49:45.110 +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/04 10:49:45.114 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:49:45.114 +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.755353ms] [] [2025/04/04 10:49:45.114 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:49:45.115 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=870.931Β΅s] [] [2025/04/04 10:49:45.115 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=186.974114ms] [] [2025/04/04 10:49:45.115 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=187.124316ms] [] [2025/04/04 10:49:45.209 +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/04 10:49:45.210 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:45.211 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:45.211 +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/04 10:49:45.243 +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/04 10:49:45.245 +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/04 10:49:45.245 +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/04 10:49:45.268 +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/04 10:49:45.268 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:49:45.270 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:45.270 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:45.270 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:45.270 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:45.270 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:45.270 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:45.270 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:45.270 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:45.270 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:45.270 +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/04 10:49:45.270 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:45.270 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:45.272 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:45.272 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:45.272 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:45.272 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:45.272 +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=546.1MiB]"] [takeTime=355.862508ms] [] [2025/04/04 10:49:45.273 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:49:45.279 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=1] [remaining-slots=59] [2025/04/04 10:49:45.299 +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=546.1MiB]"] [2025/04/04 10:49:45.307 +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/04 10:49:45.307 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:49:45.307 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:49:45.307 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 10:49:45.307 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=1.594Β΅s] [] [2025/04/04 10:49:45.307 +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/04 10:49:45.307 +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/04 10:49:45.307 +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/04 10:49:45.308 +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/04 10:49:45.309 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=8090491426016633849] [totalKvs=9] [totalBytes=297] [2025/04/04 10:49:45.310 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:45.310 +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/04 10:49:45.310 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.56401ms] [] [2025/04/04 10:49:45.310 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.73179ms] [] [2025/04/04 10:49:45.310 +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.880126ms] [] [2025/04/04 10:49:45.318 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:45.409 +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/04 10:49:45.409 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 10:49:45.412 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 10:49:45.429 +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=546.1MiB]"] [takeTime=130.050823ms] [] [2025/04/04 10:49:45.429 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:49:45.504 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:45.512 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:45.512 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:45.542 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:45.604 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.183916231\n# Parse_time: 0.000258316\n# Compile_time: 0.000456257\n# Rewrite_time: 0.000089294\n# Optimize_time: 0.000122424\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjIuMThzLCBvcGVuOjEuMDbCtXMsIGNsb3NlOjc2OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjIuMThzLCBvcGVuOjEuMDbCtXMsIGNsb3NlOjc2OG5zLCBsb29wczoycP////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/04 10:49:45.620 +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-04 10:49:45.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.620 +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-04 10:49:45.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table gzip.t"] [2025/04/04 10:49:45.625 +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-04 10:49:45.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.634 +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/04 10:49:45.649 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.549404ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:45.652 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 10:49:45.654 +00:00] [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.774127ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.665 +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/04 10:49:45.673 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/04 10:49:45.674 +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-04 10:49:45.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.691 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:49:45.692 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="truncate table gzip.t"] [user=] [2025/04/04 10:49:45.698 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.757 +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/04 10:49:45.783 +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/04 10:49:45.805 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:45.805 +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/04 10:49:45.908 +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/04 10:49:45.909 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:45.910 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 10:49:45.918 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:45.930 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:45.930 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/04 10:49:45.930 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=91.778Β΅s] [2025/04/04 10:49:45.930 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=233.514Β΅s] [] [2025/04/04 10:49:45.930 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:45.930 +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/04 10:49:45.969 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=59] [2025/04/04 10:49:45.995 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:49:45.995 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:46.004 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:46.004 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407885303287857] [2025/04/04 10:49:46.004 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:46.004 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:46.004 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:46.004 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:46.004 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:46.005 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:46.005 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:46.005 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:46.015 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 10:49:46.019 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:46.021 +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/04 10:49:46.021 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=752.3GB] [2025/04/04 10:49:46.021 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=273.1MiB] [per-index-buf-limit=91.02MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:46.021 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=700.7GiB] [2025/04/04 10:49:46.021 +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=546.1MiB]"] [2025/04/04 10:49:46.030 +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/04 10:49:46.030 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/04 10:49:46.034 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:49:46.035 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 10:49:46.038 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:49:46.038 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:49:46.042 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [2025/04/04 10:49:46.043 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [readDur=38.366Β΅s] [encodeDur=112.042Β΅s] [checksum="{cksum=7821157384024914867,size=33,kvs=1}"] [deliverDur=111.738Β΅s] [type=file] [takeTime=610.027Β΅s] [] [2025/04/04 10:49:46.043 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:49:46.043 +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/5e6aaf72-e715-47a8-b52f-418169fe1608.sst] [firstKey=7480000000000000745F728000000000000002] [lastKey=7480000000000000745F728000000000000002] [2025/04/04 10:49:46.047 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [2025/04/04 10:49:46.047 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [readDur=50.088Β΅s] [encodeDur=166.696Β΅s] [checksum="{cksum=8469875042060741206,size=33,kvs=1}"] [deliverDur=24.309Β΅s] [type=file] [takeTime=541.148Β΅s] [] [2025/04/04 10:49:46.048 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 10:49:46.048 +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/cae27189-0988-4766-a5ea-e5895ebc1b9d.sst] [firstKey=7480000000000000745F728000000000000004] [lastKey=7480000000000000745F728000000000000004] [2025/04/04 10:49:46.065 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [2025/04/04 10:49:46.065 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [readDur=97.28Β΅s] [encodeDur=248.931Β΅s] [checksum="{cksum=0,size=132,kvs=4}"] [deliverDur=26.92Β΅s] [type=file] [takeTime=691.186Β΅s] [] [2025/04/04 10:49:46.066 +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/154c23c8-38e9-466c-863a-a457b6a89d60.sst] [firstKey=7480000000000000745F728000000000000006] [lastKey=7480000000000000745F728000000000000009] [2025/04/04 10:49:46.067 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:46.067 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:46.067 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:49:46.069 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.956908ms] [] [2025/04/04 10:49:46.069 +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/04 10:49:46.074 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:46.096 +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/04 10:49:46.096 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:46.098 +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/04 10:49:46.110 +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/04 10:49:46.112 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [takeTime=43.095238ms] [] [2025/04/04 10:49:46.112 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 10:49:46.113 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.30333ms] [] [2025/04/04 10:49:46.113 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:46.113 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:49:46.115 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.687874ms] [] [2025/04/04 10:49:46.115 +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/04 10:49:46.119 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:49:46.119 +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.727689ms] [] [2025/04/04 10:49:46.119 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 10:49:46.120 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.015009ms] [] [2025/04/04 10:49:46.120 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=90.007852ms] [] [2025/04/04 10:49:46.120 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=90.177071ms] [] [2025/04/04 10:49:46.125 +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/04 10:49:46.125 +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/04 10:49:46.213 +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/04 10:49:46.214 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:46.215 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:46.215 +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/04 10:49:46.252 +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/04 10:49:46.254 +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/04 10:49:46.254 +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/04 10:49:46.280 +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/04 10:49:46.280 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:49:46.284 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:46.284 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:46.284 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:46.284 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:46.284 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:46.284 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:46.284 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:46.284 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:46.284 +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/04 10:49:46.284 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:46.284 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:46.284 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:46.287 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:46.287 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:46.287 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:46.287 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:46.287 +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=546.1MiB]"] [takeTime=266.226621ms] [] [2025/04/04 10:49:46.287 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:49:46.294 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=59] [2025/04/04 10:49:46.314 +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=546.1MiB]"] [2025/04/04 10:49:46.322 +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/04 10:49:46.322 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:49:46.322 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:49:46.322 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 10:49:46.322 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.156Β΅s] [] [2025/04/04 10:49:46.322 +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/04 10:49:46.322 +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/04 10:49:46.322 +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/04 10:49:46.322 +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/04 10:49:46.324 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=1801826099013898725] [totalKvs=6] [totalBytes=198] [2025/04/04 10:49:46.324 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:46.325 +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/04 10:49:46.325 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.636027ms] [] [2025/04/04 10:49:46.325 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.75836ms] [] [2025/04/04 10:49:46.325 +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.893203ms] [] [2025/04/04 10:49:46.338 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:46.413 +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/04 10:49:46.414 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 10:49:46.416 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 10:49:46.447 +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=546.1MiB]"] [takeTime=133.036131ms] [] [2025/04/04 10:49:46.447 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:49:46.507 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:46.513 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:46.513 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:46.532 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:46.699 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.007226922\n# Parse_time: 0.000117086\n# Compile_time: 0.000423638\n# Rewrite_time: 0.00007864\n# Optimize_time: 0.000235692\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDFzLCBvcGVuOjg2Mm5zLCBjbG9zZTo5MjducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDFzLCBvcGVuOjg2Mm5zLCBjbG9zZTo5MjducywgbG9vcHM6MnD///8JAzQBeP///////////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 (3.51s) === NAME TestImportInto === RUN TestImportInto/TestImportFromServer [2025/04/04 10:49:46.704 +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/04 10:49:46.717 +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-04 10:49:46.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.717 +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-04 10:49:46.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_server"] [2025/04/04 10:49:46.723 +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-04 10:49:46.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=680.2Β΅s] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:46.740 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 10:49:46.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=59] ["take time"=7.791519ms] [job="ID:119, Type:create schema, State:done, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.752 +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-04 10:49:46.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.762 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:49:46.763 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gzip] [sql="create database from_server"] [user=] [2025/04/04 10:49:46.775 +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-04 10:49:46.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100));"] [2025/04/04 10:49:46.775 +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-04 10:49:46.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.781 +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-04 10:49:46.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.786 +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/04 10:49:46.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.548764ms] [gotSchemaVersion=60] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:46.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/04 10:49:46.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=60] ["take time"=8.684298ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.816 +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-04 10:49:46.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 10:49:46.827 +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/04 10:49:46.874 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3057017665/001/server-0.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:49:46.874 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:46.874 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 10:49:46.874 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=50.835Β΅s] [2025/04/04 10:49:46.874 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=151.892Β΅s] [] [2025/04/04 10:49:46.893 +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/04 10:49:46.906 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:46.906 +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/04 10:49:47.008 +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/04 10:49:47.010 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:47.011 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 10:49:47.018 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:47.018 +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/04 10:49:47.051 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=52] [2025/04/04 10:49:47.073 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:49:47.081 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:47.081 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407885303287857] [2025/04/04 10:49:47.082 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:47.082 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:47.082 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:47.082 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:47.082 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:47.082 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:47.083 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:47.083 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:47.097 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:47.099 +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/04 10:49:47.099 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=752.3GB] [2025/04/04 10:49:47.099 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=273.1MiB] [per-index-buf-limit=91.02MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:47.099 +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.267GiB]"] [2025/04/04 10:49:47.099 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=700.7GiB] [2025/04/04 10:49:47.106 +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/04 10:49:47.107 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/04 10:49:47.110 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:49:47.114 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:47.114 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=120] [2025/04/04 10:49:47.114 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 10:49:47.132 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [2025/04/04 10:49:47.133 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [readDur=72.953Β΅s] [encodeDur=231.811Β΅s] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=259.222Β΅s] [type=file] [takeTime=914.688Β΅s] [] [2025/04/04 10:49:47.134 +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/bb5cdd59-2f7b-48b8-b7cb-a36ec6a3a5b7.sst] [firstKey=7480000000000000785F728000000000000001] [lastKey=7480000000000000785F728000000000000002] [2025/04/04 10:49:47.134 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:47.134 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:47.134 +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/04 10:49:47.136 +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.825347ms] [] [2025/04/04 10:49:47.136 +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/04 10:49:47.137 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 10:49:47.140 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:47.162 +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/04 10:49:47.162 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:47.164 +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/04 10:49:47.177 +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/04 10:49:47.179 +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.096525ms] [] [2025/04/04 10:49:47.179 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:49:47.181 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.16062ms] [] [2025/04/04 10:49:47.181 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:47.181 +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/04 10:49:47.182 +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.766367ms] [] [2025/04/04 10:49:47.183 +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/04 10:49:47.186 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:47.186 +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.877211ms] [] [2025/04/04 10:49:47.186 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:47.187 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=976.325Β΅s] [] [2025/04/04 10:49:47.188 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=81.103982ms] [] [2025/04/04 10:49:47.188 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=81.636877ms] [] [2025/04/04 10:49:47.214 +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/04 10:49:47.215 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:47.216 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:47.216 +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/04 10:49:47.245 +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/04 10:49:47.246 +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/04 10:49:47.246 +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/04 10:49:47.272 +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/04 10:49:47.278 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:49:47.281 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:47.281 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:47.281 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:47.281 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:47.281 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:47.281 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:47.281 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:47.281 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.281 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.281 +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/04 10:49:47.281 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.281 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:47.283 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:47.283 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.283 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.283 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.283 +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.267GiB]"] [takeTime=184.124372ms] [] [2025/04/04 10:49:47.285 +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.267GiB]"] [2025/04/04 10:49:47.293 +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/04 10:49:47.293 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:49:47.293 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:49:47.293 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 10:49:47.298 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=5.345018ms] [] [2025/04/04 10:49:47.298 +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/04 10:49:47.298 +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/04 10:49:47.298 +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/04 10:49:47.298 +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/04 10:49:47.300 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=120] [physicalTableID=120] [indexID=-1] [checksum=4217614283895359297] [totalKvs=2] [totalBytes=76] [2025/04/04 10:49:47.301 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:47.301 +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/04 10:49:47.301 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.126346ms] [] [2025/04/04 10:49:47.301 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.280021ms] [] [2025/04/04 10:49:47.301 +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.429297ms] [] [2025/04/04 10:49:47.310 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:47.313 +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/04 10:49:47.313 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 10:49:47.316 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 10:49:47.346 +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.267GiB]"] [takeTime=61.339103ms] [] [2025/04/04 10:49:47.346 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:49:47.408 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:47.414 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:47.414 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:47.436 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:47.510 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.681991313\n# Parse_time: 0.000088531\n# Compile_time: 0.000394042\n# Rewrite_time: 0.000091409\n# Optimize_time: 0.000256195\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MS4ybXMsIG9wZW46NjAwbnMsIGNsb3NlOjg0NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4MS4ybXMsIG9wZW46NjAwbnMsIGNsb3NlOjg0NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse from_server;\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3057017665/001/server-0.csv';"] [2025/04/04 10:49:47.525 +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-04 10:49:47.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.525 +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-04 10:49:47.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:49:47.531 +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-04 10:49:47.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.539 +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/04 10:49:47.555 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.569629ms] [gotSchemaVersion=61] [phyTblIDs="[120,122]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:47.559 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/04 10:49:47.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=61] ["take time"=9.027631ms] [job="ID:123, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.572 +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/04 10:49:47.576 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="truncate table"] [2025/04/04 10:49:47.577 +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-04 10:49:47.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.595 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 10:49:47.596 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/04 10:49:47.646 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3057017665/001/server-*.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:49:47.646 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:47.646 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=54] [2025/04/04 10:49:47.646 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=54] [cost=92.233Β΅s] [2025/04/04 10:49:47.646 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=246.191Β΅s] [] [2025/04/04 10:49:47.666 +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/04 10:49:47.681 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:47.681 +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/04 10:49:47.784 +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/04 10:49:47.785 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:47.786 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 10:49:47.794 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:47.794 +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/04 10:49:47.830 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=52] [2025/04/04 10:49:47.851 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:49:47.858 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:47.858 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407885303287857] [2025/04/04 10:49:47.858 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:47.858 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:47.859 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:47.859 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:47.859 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:47.859 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:47.859 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:47.859 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:47.872 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:47.873 +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/04 10:49:47.874 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=752.3GB] [2025/04/04 10:49:47.874 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=273.1MiB] [per-index-buf-limit=91.02MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:47.874 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=700.7GiB] [2025/04/04 10:49:47.874 +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.267GiB]"] [2025/04/04 10:49:47.882 +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/04 10:49:47.882 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/04 10:49:47.887 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:49:47.890 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:47.891 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 10:49:47.891 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:47.891 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:47.891 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 10:49:47.916 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 10:49:47.945 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [2025/04/04 10:49:47.947 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [readDur=67.631Β΅s] [encodeDur=323.707Β΅s] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=312.86Β΅s] [type=file] [takeTime=1.659228ms] [] [2025/04/04 10:49:47.948 +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/21f8d734-efb3-4b19-b1f1-0926703d9091.sst] [firstKey=74800000000000007A5F728000000000000001] [lastKey=74800000000000007A5F728000000000000002] [2025/04/04 10:49:47.951 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [2025/04/04 10:49:47.952 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [readDur=95.001Β΅s] [encodeDur=712.785Β΅s] [checksum="{cksum=13627491968562561727,size=76,kvs=2}"] [deliverDur=304.215Β΅s] [type=file] [takeTime=1.438178ms] [] [2025/04/04 10:49:47.953 +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/6e09e1d4-6a7c-40e0-bb00-321be7899038.sst] [firstKey=74800000000000007A5F728000000000000013] [lastKey=74800000000000007A5F728000000000000014] [2025/04/04 10:49:47.982 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [2025/04/04 10:49:47.983 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [readDur=91.294Β΅s] [encodeDur=573.687Β΅s] [checksum="{cksum=8740164075696154046,size=76,kvs=2}"] [deliverDur=231.346Β΅s] [type=file] [takeTime=1.119209ms] [] [2025/04/04 10:49:47.983 +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/b385898f-6ea6-4ad8-924b-aa4e151b83fb.sst] [firstKey=74800000000000007A5F72800000000000000A] [lastKey=74800000000000007A5F72800000000000000B] [2025/04/04 10:49:47.984 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:47.984 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:47.984 +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/04 10:49:47.986 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=2.631871ms] [] [2025/04/04 10:49:47.986 +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/04 10:49:47.991 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:48.013 +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/04 10:49:48.014 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:48.016 +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/04 10:49:48.027 +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/04 10:49:48.029 +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=42.530496ms] [] [2025/04/04 10:49:48.029 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:49:48.030 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.196543ms] [] [2025/04/04 10:49:48.030 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:48.030 +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/04 10:49:48.032 +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.501564ms] [] [2025/04/04 10:49:48.032 +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/04 10:49:48.036 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:48.036 +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.006094ms] [] [2025/04/04 10:49:48.036 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:48.037 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=1.214002ms] [] [2025/04/04 10:49:48.038 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=155.224254ms] [] [2025/04/04 10:49:48.038 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=155.458555ms] [] [2025/04/04 10:49:48.089 +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/04 10:49:48.090 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:48.091 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:48.091 +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/04 10:49:48.123 +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/04 10:49:48.124 +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/04 10:49:48.124 +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/04 10:49:48.156 +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/04 10:49:48.162 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:49:48.165 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:48.165 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:48.165 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:48.165 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:48.165 +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/04 10:49:48.165 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:48.165 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:48.165 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:48.165 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.165 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.165 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.165 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:48.168 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:48.168 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.168 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.168 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.168 +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.267GiB]"] [takeTime=294.043421ms] [] [2025/04/04 10:49:48.169 +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.267GiB]"] [2025/04/04 10:49:48.177 +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/04 10:49:48.177 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:49:48.177 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:49:48.177 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 10:49:48.185 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=7.241912ms] [] [2025/04/04 10:49:48.185 +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/04 10:49:48.185 +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/04 10:49:48.185 +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/04 10:49:48.185 +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/04 10:49:48.187 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=18361781019534991424] [totalKvs=6] [totalBytes=228] [2025/04/04 10:49:48.187 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:48.187 +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/04 10:49:48.187 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=10.090991ms] [] [2025/04/04 10:49:48.187 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=10.255945ms] [] [2025/04/04 10:49:48.189 +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=12.19367ms] [] [2025/04/04 10:49:48.196 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:48.337 +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/04 10:49:48.337 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 10:49:48.340 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 10:49:48.368 +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.267GiB]"] [takeTime=198.610469ms] [] [2025/04/04 10:49:48.368 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:49:48.384 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:48.391 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:48.391 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:48.414 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:48.585 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.988560492\n# Parse_time: 0.000094985\n# Compile_time: 0.00042864\n# Rewrite_time: 0.000119259\n# Optimize_time: 0.000222769\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny42bXMsIG9wZW46ODIxbnMsIGNsb3NlOjcwNm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny42bXMsIG9wZW46ODIxbnMsIGNsb3NlOjcwNm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3057017665/001/server-*.csv';"] [2025/04/04 10:49:48.605 +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-04 10:49:48.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:49:48.605 +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-04 10:49:48.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.611 +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-04 10:49:48.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.620 +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/04 10:49:48.637 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.731565ms] [gotSchemaVersion=62] [phyTblIDs="[122,124]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:49:48.641 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=62] [2025/04/04 10:49:48.644 +00:00] [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.565565ms] [job="ID:125, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.656 +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/04 10:49:48.660 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="truncate table"] [2025/04/04 10:49:48.661 +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-04 10:49:48.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.680 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 10:49:48.681 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/04 10:49:48.737 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3057017665/001/test.csv.gz\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:49:48.737 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:48.737 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 10:49:48.737 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=36] [cost=42.295Β΅s] [2025/04/04 10:49:48.737 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=149.705Β΅s] [] [2025/04/04 10:49:48.757 +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/04 10:49:48.770 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:48.770 +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/04 10:49:48.873 +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/04 10:49:48.874 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:48.875 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 10:49:48.885 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:48.886 +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/04 10:49:48.918 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=52] [2025/04/04 10:49:48.938 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:49:48.945 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:48.945 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407885303287857] [2025/04/04 10:49:48.946 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:48.946 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:48.946 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:48.946 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:48.946 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:48.946 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:48.946 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:48.947 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:48.959 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:48.961 +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/04 10:49:48.961 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=752.3GB] [2025/04/04 10:49:48.961 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=273.1MiB] [per-index-buf-limit=91.02MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:48.961 +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.267GiB]"] [2025/04/04 10:49:48.961 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=700.7GiB] [2025/04/04 10:49:48.969 +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/04 10:49:48.969 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/04 10:49:48.974 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:49:48.978 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:48.979 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=124] [2025/04/04 10:49:48.981 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 10:49:49.000 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 10:49:49.017 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [2025/04/04 10:49:49.017 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [readDur=85.023Β΅s] [encodeDur=135.931Β΅s] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [deliverDur=333.799Β΅s] [type=file] [takeTime=855.289Β΅s] [] [2025/04/04 10:49:49.018 +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/e663489c-5d58-4e56-b01d-d580c03dd96d.sst] [firstKey=74800000000000007C5F728000000000000001] [lastKey=74800000000000007C5F728000000000000002] [2025/04/04 10:49:49.018 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:49.018 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:49.019 +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/04 10:49:49.021 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=2.079365ms] [] [2025/04/04 10:49:49.021 +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/04 10:49:49.025 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:49.047 +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/04 10:49:49.047 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:49.049 +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/04 10:49:49.059 +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/04 10:49:49.061 +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.498562ms] [] [2025/04/04 10:49:49.061 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 10:49:49.062 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.053472ms] [] [2025/04/04 10:49:49.062 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:49.063 +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/04 10:49:49.064 +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.668286ms] [] [2025/04/04 10:49:49.064 +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/04 10:49:49.068 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:49.068 +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.688697ms] [] [2025/04/04 10:49:49.068 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 10:49:49.069 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=836.651Β΅s] [] [2025/04/04 10:49:49.069 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=100.249823ms] [] [2025/04/04 10:49:49.070 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=101.596873ms] [] [2025/04/04 10:49:49.178 +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/04 10:49:49.179 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:49.180 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:49.180 +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/04 10:49:49.213 +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/04 10:49:49.215 +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/04 10:49:49.215 +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/04 10:49:49.225 +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/04 10:49:49.225 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:49:49.228 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:49.228 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:49.228 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:49.228 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:49.228 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:49.228 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:49.228 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:49.228 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:49.228 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:49.228 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:49.228 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:49.228 +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/04 10:49:49.230 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:49.230 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:49.230 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:49.230 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:49.231 +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.267GiB]"] [takeTime=269.253192ms] [] [2025/04/04 10:49:49.231 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:49:49.250 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=52] [2025/04/04 10:49:49.270 +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.267GiB]"] [2025/04/04 10:49:49.277 +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/04 10:49:49.278 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:49:49.278 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:49:49.278 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 10:49:49.284 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=6.395071ms] [] [2025/04/04 10:49:49.284 +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/04 10:49:49.284 +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/04 10:49:49.284 +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/04 10:49:49.284 +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/04 10:49:49.286 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=124] [physicalTableID=124] [indexID=-1] [checksum=3639429438335945898] [totalKvs=2] [totalBytes=74] [2025/04/04 10:49:49.287 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:49.287 +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/04 10:49:49.287 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=9.107598ms] [] [2025/04/04 10:49:49.287 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=9.269856ms] [] [2025/04/04 10:49:49.287 +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.422457ms] [] [2025/04/04 10:49:49.300 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:49.378 +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/04 10:49:49.378 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 10:49:49.381 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 10:49:49.407 +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.267GiB]"] [takeTime=137.689612ms] [] [2025/04/04 10:49:49.408 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:49:49.473 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:49.479 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:49.479 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:49.500 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:49.677 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995786018\n# Parse_time: 0.000084746\n# Compile_time: 0.000620724\n# Rewrite_time: 0.000178932\n# Optimize_time: 0.000365316\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC43bXMsIG9wZW46OTIxbnMsIGNsb3NlOjg0OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC43bXMsIG9wZW46OTIxbnMsIGNsb3NlOjg0OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3057017665/001/test.csv.gz';"] --- PASS: TestImportInto/TestImportFromServer (2.99s) === NAME TestImportInto === RUN TestImportInto/TestSnappy [2025/04/04 10:49:49.694 +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/04 10:49:49.706 +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-04 10:49:49.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:49.706 +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-04 10:49:49.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database snappy"] [2025/04/04 10:49:49.712 +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-04 10:49:49.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.728 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=731.701Β΅s] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:49.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=63] [2025/04/04 10:49:49.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=63] ["take time"=8.512569ms] [job="ID:127, Type:create schema, State:done, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.746 +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-04 10:49:49.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.757 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/04 10:49:49.757 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_server] [sql="create database snappy"] [user=] [2025/04/04 10:49:49.772 +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-04 10:49:49.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:49.772 +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-04 10:49:49.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 10:49:49.779 +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-04 10:49:49.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.784 +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/04 10:49:49.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.57772ms] [gotSchemaVersion=64] [phyTblIDs="[128]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:49.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=64] [2025/04/04 10:49:49.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=64] ["take time"=9.449751ms] [job="ID:129, Type:create table, State:done, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.819 +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-04 10:49:49.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.831 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 10:49:49.832 +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/04 10:49:49.838 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:49.895 +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/04 10:49:49.914 +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/04 10:49:49.929 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 10:49:49.929 +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/04 10:49:50.032 +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/04 10:49:50.033 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:50.034 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 10:49:50.041 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:50.050 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:50.050 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=33] [2025/04/04 10:49:50.050 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=33] [cost=41.212Β΅s] [2025/04/04 10:49:50.050 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=138.016Β΅s] [] [2025/04/04 10:49:50.050 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:50.050 +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/04 10:49:50.089 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=59] [2025/04/04 10:49:50.112 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:49:50.112 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:50.123 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:50.123 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407885303287857] [2025/04/04 10:49:50.124 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:50.124 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:50.124 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:50.124 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:50.124 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:50.125 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:50.125 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:50.125 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:50.141 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 10:49:50.142 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:50.144 +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/04 10:49:50.144 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=752.3GB] [2025/04/04 10:49:50.144 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=273.1MiB] [per-index-buf-limit=91.02MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:50.144 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=700.7GiB] [2025/04/04 10:49:50.144 +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=546.1MiB]"] [2025/04/04 10:49:50.153 +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/04 10:49:50.153 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [2025/04/04 10:49:50.157 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 10:49:50.161 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 10:49:50.161 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=128] [2025/04/04 10:49:50.164 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 10:49:50.164 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [2025/04/04 10:49:50.166 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [readDur=1.016862ms] [encodeDur=460.322Β΅s] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=36.85Β΅s] [type=file] [takeTime=1.839358ms] [] [2025/04/04 10:49:50.167 +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/f2c59a5b-cc85-4c33-9ab8-ac3cadcc5915.sst] [firstKey=7480000000000000805F728000000000000001] [lastKey=7480000000000000805F728000000000000002] [2025/04/04 10:49:50.167 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:50.167 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:50.167 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 10:49:50.169 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=2.183698ms] [] [2025/04/04 10:49:50.169 +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/04 10:49:50.174 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:50.196 +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/04 10:49:50.196 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:50.198 +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/04 10:49:50.210 +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/04 10:49:50.212 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [retryCnt=0] [takeTime=42.512683ms] [] [2025/04/04 10:49:50.212 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 10:49:50.213 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=1.262181ms] [] [2025/04/04 10:49:50.213 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:50.213 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 10:49:50.215 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=1.779917ms] [] [2025/04/04 10:49:50.215 +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/04 10:49:50.219 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 10:49:50.219 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [retryCnt=0] [takeTime=3.813263ms] [] [2025/04/04 10:49:50.219 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 10:49:50.220 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=911.867Β΅s] [] [2025/04/04 10:49:50.220 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [takeTime=67.35142ms] [] [2025/04/04 10:49:50.220 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [takeTime=67.514406ms] [] [2025/04/04 10:49:50.240 +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/04 10:49:50.241 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:50.242 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:50.242 +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/04 10:49:50.279 +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/04 10:49:50.281 +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/04 10:49:50.281 +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/04 10:49:50.314 +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/04 10:49:50.321 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:49:50.324 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:50.324 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:50.324 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:50.324 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:50.324 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:50.324 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:50.324 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:50.324 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:50.324 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:50.324 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:50.324 +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/04 10:49:50.324 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:50.326 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:50.327 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:50.327 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:50.327 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:50.327 +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=546.1MiB]"] [takeTime=182.199371ms] [] [2025/04/04 10:49:50.328 +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=546.1MiB]"] [2025/04/04 10:49:50.336 +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/04 10:49:50.336 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 10:49:50.336 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 10:49:50.336 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 10:49:50.336 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=2.262Β΅s] [] [2025/04/04 10:49:50.336 +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/04 10:49:50.336 +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/04 10:49:50.336 +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/04 10:49:50.336 +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/04 10:49:50.339 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=128] [physicalTableID=128] [indexID=-1] [checksum=14262047008891545520] [totalKvs=2] [totalBytes=66] [2025/04/04 10:49:50.339 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:50.339 +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/04 10:49:50.339 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=3.041223ms] [] [2025/04/04 10:49:50.339 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=3.235875ms] [] [2025/04/04 10:49:50.339 +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=3.390124ms] [] [2025/04/04 10:49:50.349 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:50.437 +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/04 10:49:50.437 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 10:49:50.439 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 10:49:50.469 +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=546.1MiB]"] [takeTime=141.069673ms] [] [2025/04/04 10:49:50.469 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 10:49:50.531 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 10:49:50.535 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.70214879\n# Parse_time: 0.000207937\n# Compile_time: 0.000500753\n# Rewrite_time: 0.000113866\n# Optimize_time: 0.000390425\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjcwMS4xbXMsIG9wZW46NTgwbnMsIGNsb3NlOjg5N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjcwMS4xbXMsIG9wZW46NTgwbnMsIGNsb3NlOjg5N25zLCBsb29wczoycP////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;"] [2025/04/04 10:49:50.538 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:50.538 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] --- PASS: TestImportInto/TestSnappy (0.85s) === NAME TestImportInto === RUN TestImportInto/TestZStd [2025/04/04 10:49:50.539 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="drop database if exists zstd"] [user=] [2025/04/04 10:49:50.554 +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-04 10:49:50.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:50.554 +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-04 10:49:50.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database zstd"] [2025/04/04 10:49:50.559 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:50.560 +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-04 10:49:50.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.577 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=713.744Β΅s] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:50.581 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=65] [2025/04/04 10:49:50.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=65] ["take time"=9.257953ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.594 +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-04 10:49:50.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.605 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 10:49:50.605 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=snappy] [sql="create database zstd"] [user=] [2025/04/04 10:49:50.619 +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-04 10:49:50.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:50.619 +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-04 10:49:50.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 10:49:50.625 +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-04 10:49:50.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.630 +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/04 10:49:50.646 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.708368ms] [gotSchemaVersion=66] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:50.650 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=66] [2025/04/04 10:49:50.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=66] ["take time"=9.664273ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.664 +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-04 10:49:50.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.679 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/04 10:49:50.679 +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/04 10:49:50.693 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:50.755 +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/04 10:49:50.774 +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/04 10:49:50.789 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:50.789 +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/04 10:49:50.892 +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/04 10:49:50.893 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:50.894 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 10:49:50.901 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:50.914 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:50.914 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=56] [2025/04/04 10:49:50.914 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=56] [cost=61.506Β΅s] [2025/04/04 10:49:50.914 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=173.77Β΅s] [] [2025/04/04 10:49:50.915 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:50.915 +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/04 10:49:50.949 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=59] [2025/04/04 10:49:50.969 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:49:50.970 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:50.978 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:50.978 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407885303287857] [2025/04/04 10:49:50.979 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:50.979 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:50.979 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:50.979 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:50.979 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:50.979 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:50.980 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:50.980 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:50.993 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:50.995 +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/04 10:49:50.995 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=752.3GB] [2025/04/04 10:49:50.995 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=273.1MiB] [per-index-buf-limit=91.02MiB] [index-buf-block-size=16MiB] [2025/04/04 10:49:50.995 +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=546.1MiB]"] [2025/04/04 10:49:50.995 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=700.7GiB] [2025/04/04 10:49:50.998 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 10:49:51.012 +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/04 10:49:51.012 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [2025/04/04 10:49:51.016 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 10:49:51.017 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 10:49:51.020 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 10:49:51.021 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/04 10:49:51.047 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [2025/04/04 10:49:51.049 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [readDur=1.306118ms] [encodeDur=291.972Β΅s] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=39.363Β΅s] [type=file] [takeTime=2.0431ms] [] [2025/04/04 10:49:51.050 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/04 10:49:51.050 +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/c94fc395-d406-4321-b15c-c87921b9a76b.sst] [firstKey=7480000000000000845F728000000000000001] [lastKey=7480000000000000845F728000000000000002] [2025/04/04 10:49:51.265 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [2025/04/04 10:49:51.267 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [readDur=1.18744ms] [encodeDur=685.759Β΅s] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=32.083Β΅s] [type=file] [takeTime=2.21126ms] [] [2025/04/04 10:49:51.268 +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/8e40a368-b8b6-45c5-941e-420f9df511e0.sst] [firstKey=7480000000000000845F728000000000000003] [lastKey=7480000000000000845F728000000000000004] [2025/04/04 10:49:51.269 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:51.269 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:51.269 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 10:49:51.271 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=2.375439ms] [] [2025/04/04 10:49:51.271 +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/04 10:49:51.276 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:51.299 +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/04 10:49:51.299 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:51.302 +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/04 10:49:51.314 +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/04 10:49:51.316 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [retryCnt=0] [takeTime=44.570493ms] [] [2025/04/04 10:49:51.316 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 10:49:51.317 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=1.197407ms] [] [2025/04/04 10:49:51.317 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:51.317 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 10:49:51.319 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=1.822194ms] [] [2025/04/04 10:49:51.319 +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/04 10:49:51.323 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 10:49:51.323 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [retryCnt=0] [takeTime=4.102074ms] [] [2025/04/04 10:49:51.323 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 10:49:51.324 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=1.026312ms] [] [2025/04/04 10:49:51.325 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [takeTime=312.748752ms] [] [2025/04/04 10:49:51.325 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=import] [takeTime=312.922177ms] [] [2025/04/04 10:49:51.398 +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/04 10:49:51.399 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:51.400 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:51.400 +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/04 10:49:51.432 +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/04 10:49:51.433 +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/04 10:49:51.433 +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/04 10:49:51.469 +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/04 10:49:51.476 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:49:51.478 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:51.478 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:51.478 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:51.478 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:51.478 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:51.478 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:51.478 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:51.478 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:51.478 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:51.478 +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/04 10:49:51.478 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:51.478 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:51.480 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:51.480 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:51.480 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:51.480 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:51.480 +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=546.1MiB]"] [takeTime=485.091112ms] [] [2025/04/04 10:49:51.482 +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=546.1MiB]"] [2025/04/04 10:49:51.490 +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/04 10:49:51.490 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 10:49:51.490 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 10:49:51.490 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 10:49:51.490 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=1.909Β΅s] [] [2025/04/04 10:49:51.491 +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/04 10:49:51.491 +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/04 10:49:51.491 +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/04 10:49:51.491 +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/04 10:49:51.493 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=132] [physicalTableID=132] [indexID=-1] [checksum=11508402849382241477] [totalKvs=4] [totalBytes=132] [2025/04/04 10:49:51.493 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:51.493 +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/04 10:49:51.493 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.830488ms] [] [2025/04/04 10:49:51.493 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.991878ms] [] [2025/04/04 10:49:51.493 +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=3.133683ms] [] [2025/04/04 10:49:51.503 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:51.596 +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/04 10:49:51.596 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 10:49:51.598 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 10:49:51.614 +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=546.1MiB]"] [takeTime=132.730134ms] [] [2025/04/04 10:49:51.615 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 10:49:51.691 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:51.692 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.004778939\n# Parse_time: 0.000118032\n# Compile_time: 0.000422743\n# Rewrite_time: 0.000100415\n# Optimize_time: 0.000237962\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjU4OW5zLCBjbG9zZToxLjIxwrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjFzLCBvcGVuOjU4OW5zLCBjbG9zZToxLjIxwrVzLCBsb29wczoycP////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.16s) === NAME TestImportInto [2025/04/04 10:49:51.697 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:51.697 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:51.698 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:51.698 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:51.698 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [] [2025/04/04 10:49:51.698 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.698 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:51.698 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:51.698 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=74.291Β΅s] [2025/04/04 10:49:51.698 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=59.72Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=58.764Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=57.191Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=53.892Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=51.701Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=58.704Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=48.538Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=31.748Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=35.118Β΅s] [2025/04/04 10:49:51.699 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.699 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.700 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:51.701 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:51.706 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] ["take time"=8.052892ms] [2025/04/04 10:49:51.706 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.706 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:51.706 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:51.706 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/e03b2255-1c18-4c05-a8bd-9c9aa3819c6c] [watcherID=71b3607d-d99b-4db9-a404-21d4a2530fd6] [2025/04/04 10:49:51.706 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/e03b2255-1c18-4c05-a8bd-9c9aa3819c6c] [2025/04/04 10:49:51.706 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [ttl-worker=task-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [originalCount=4] [newCount=0] [2025/04/04 10:49:51.706 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:51.707 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:51.706 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:51.707 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:51.707 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [ttl-worker=task-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [originalCount=4] [newCount=0] [2025/04/04 10:49:51.709 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:51.709 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:51.710 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:51.710 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:51.712 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.712 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:51.713 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=760] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:51.714 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:51.714 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:51.714 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:51.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:51.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:51.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:51.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:51.714 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:51.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:51.715 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.715 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [2025/04/04 10:49:51.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:51.714 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:51.715 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [2025/04/04 10:49:51.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.715 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [] [2025/04/04 10:49:51.715 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.715 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.715 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.715 +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.(*DeleteExec).Close\n\tpkg/executor/delete.go:312\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor.func1\n\tpkg/executor/adapter.go:1003\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1024\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).TransferSubtasks2HistoryWithSession\n\tpkg/disttask/framework/storage/history.go:37\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).TransferTasks2History.func1\n\tpkg/disttask/framework/storage/history.go:78\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewTxn.func1\n\tpkg/disttask/framework/storage/task_table.go:193\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).WithNewTxn\n\tpkg/disttask/framework/storage/task_table.go:175\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).TransferTasks2History\n\tpkg/disttask/framework/storage/history.go:53\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).cleanupFinishedTasks\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:438\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).doCleanupTask\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:402\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).cleanupTaskLoop\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:375\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 10:49:51.715 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:51.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:51.715 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=66] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](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.(*DeleteExec).deleteSingleTableByChunk\n\tpkg/executor/delete.go:109\ngithub.com/pingcap/tidb/pkg/executor.(*DeleteExec).Next\n\tpkg/executor/delete.go:63\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).TransferSubtasks2HistoryWithSession\n\tpkg/disttask/framework/storage/history.go:37\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).TransferTasks2History.func1\n\tpkg/disttask/framework/storage/history.go:78\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewTxn.func1\n\tpkg/disttask/framework/storage/task_table.go:193\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).WithNewTxn\n\tpkg/disttask/framework/storage/task_table.go:175\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).TransferTasks2History\n\tpkg/disttask/framework/storage/history.go:53\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).cleanupFinishedTasks\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:438\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).doCleanupTask\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:402\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).cleanupTaskLoop\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:375\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [session="{\n \"currDBName\": \"\",\n \"id\": 0,\n \"status\": 3,\n \"strictMode\": false,\n \"txn\": \"457117215409307653\",\n \"user\": null\n}"] [2025/04/04 10:49:51.716 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:51.716 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:51.716 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:51.717 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:51.717 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=237be48b-e333-440d-8cc7-72b502dfc7d8] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:51.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:51.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:51.717 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:51.717 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:51.717 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [] [2025/04/04 10:49:51.717 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:51.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:51.717 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.717 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:51.717 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.717 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.717 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [error="context canceled"] [2025/04/04 10:49:51.717 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [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/04 10:49:51.717 +00:00] [WARN] [scheduler_manager.go:404] ["cleanup routine failed"] [server-id=:4000] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](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.(*DeleteExec).deleteSingleTableByChunk\n\tpkg/executor/delete.go:109\ngithub.com/pingcap/tidb/pkg/executor.(*DeleteExec).Next\n\tpkg/executor/delete.go:63\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).TransferSubtasks2HistoryWithSession\n\tpkg/disttask/framework/storage/history.go:37\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).TransferTasks2History.func1\n\tpkg/disttask/framework/storage/history.go:78\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewTxn.func1\n\tpkg/disttask/framework/storage/task_table.go:193\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).WithNewTxn\n\tpkg/disttask/framework/storage/task_table.go:175\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).TransferTasks2History\n\tpkg/disttask/framework/storage/history.go:53\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).cleanupFinishedTasks\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:438\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).doCleanupTask\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:402\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).cleanupTaskLoop\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:375\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 10:49:51.717 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:51.717 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=f6a68734-37c2-4ecb-8b3c-45a9a1c31402] [2025/04/04 10:49:51.717 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:51.720 +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/04 10:49:51.723 +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/04 10:49:51.723 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](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/04 10:49:51.723 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:51.723 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:51.724 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:51.778 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:51.778 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:51.790 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=92.208221ms] [2025/04/04 10:49:51.793 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:51.793 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:51.793 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:51.793 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:51.793 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:51.793 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:51.793 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:51.793 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:51.793 +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/04 10:49:51.793 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:51.793 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:51.793 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:51.794 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (14.16s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest3:importintotest3_test up-to-date: bazel-bin/tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test INFO: Elapsed time: 73.656s, Critical Path: 51.82s INFO: 4637 processes: 4617 remote cache hit, 13 internal, 7 linux-sandbox. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest3:importintotest3_test PASSED in 17.9s PASSED importintotest3_test.TestImportInto (14.2s) PASSED importintotest3_test.TestImportInto/TestGzipAndMixedCompression (3.5s) PASSED importintotest3_test.TestImportInto/TestImportFromServer (3.0s) PASSED importintotest3_test.TestImportInto/TestSnappy (0.9s) PASSED importintotest3_test.TestImportInto/TestZStd (1.2s) Test cases: finished with 5 passing and 0 failing out of 5 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // dir Post stage [Pipeline] // podTemplate [Pipeline] // withCredentials [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] } [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] { [Pipeline] sh 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 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; 10s remote-cache, linux-sandbox [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; 10s remote-cache, linux-sandbox [4,568 / 4,568] checking cached actions [4,570 / 4,571] GoLink tests/realtikvtest/addindextest/addindextest_test_/addindextest_test; 10s remote-cache, linux-sandbox [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; 12s remote-cache, linux-sandbox [4,568 / 4,569] 1 / 1 tests; Testing //tests/realtikvtest/addindextest4:addindextest4_test; 1s remote-cache, linux-sandbox Target //tests/realtikvtest/addindextest4:addindextest4_test up-to-date: bazel-bin/tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test [4,570 / 4,571] GoLink tests/realtikvtest/addindextest/addindextest_test_/addindextest_test; 12s remote-cache, linux-sandbox INFO: Elapsed time: 90.582s, Critical Path: 70.95s INFO: 4269 processes: 4164 remote cache hit, 3 internal, 102 linux-sandbox. INFO: Build completed successfully, 4269 total actions //tests/realtikvtest/addindextest4:addindextest4_test 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 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 [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 10s remote-cache, linux-sandbox [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; 10s remote-cache, linux-sandbox [Pipeline] { [Pipeline] sh [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; 11s remote-cache, linux-sandbox [4,571 / 4,572] [Prepa] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test [4,637 / 4,638] [Prepa] Testing //tests/realtikvtest/addindextest2:addindextest2_test No test report files were found. Configuration error? [4,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 1s remote-cache, linux-sandbox [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 1s remote-cache, linux-sandbox [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,637 / 4,638] Testing //tests/realtikvtest/addindextest2:addindextest2_test; 1s remote-cache, linux-sandbox [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; 13s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 1s remote-cache, linux-sandbox [4,571 / 4,572] [Prepa] Testing //tests/realtikvtest/addindextest3:addindextest3_test ./t/ddl/db_integration.test: ok! 726 test cases passed, take time 56.62319715 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest3:addindextest3_test; 1s remote-cache, linux-sandbox [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 41s remote-cache, linux-sandbox [4,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/flashbacktest:flashbacktest_test; 41s remote-cache, linux-sandbox [4,573 / 4,574] 1 / 1 tests; Testing //tests/realtikvtest/flashbacktest:flashbacktest_test; 43s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/flashbacktest:flashbacktest_test: ==================== Test output for //tests/realtikvtest/flashbacktest:flashbacktest_test: === RUN TestFlashback [2025/04/04 10:49:33.734 +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/04 10:49:33.734 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:33.736 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:33.736 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:33.737 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:33.737 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:33.737 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:33.737 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:33.737 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:33.738 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:33.738 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:33.743 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:33.750 +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/04 10:49:33.751 +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/04 10:49:33.751 +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/04 10:49:33.778 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:33.778 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:33.785 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:33.785 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:33.798 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:33.820 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:33.842 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:33.882 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1231] ["lease id"=2231960069d8796c] [2025/04/04 10:49:33.885 +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/04 10:49:33.894 +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/04 10:49:34.000 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=105.148162ms] [2025/04/04 10:49:34.000 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:34.002 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:49:34.002 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:34.002 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:34.004 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:34.006 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:34.006 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300313116672/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:34.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:34.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:34.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:34.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:34.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:34.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:34.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:34.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:34.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:34.007 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:34.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:34.007 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:34.007 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [2025/04/04 10:49:34.009 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87e0e] [ownerID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [op=none] [2025/04/04 10:49:34.009 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:34.009 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [ownerKey=/tidb/ddl/fg/owner/3eaa960069d87e0e] [currRev=97] [2025/04/04 10:49:34.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:34.010 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:34.011 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:34.012 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87e0e] [ownerID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [op=none] [2025/04/04 10:49:34.012 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [op=none] [2025/04/04 10:49:34.012 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:34.012 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d87e02] [ownerID=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [op=none] [2025/04/04 10:49:34.012 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [2025/04/04 10:49:34.012 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [ownerKey=/tidb/br-stream/owner/6f18960069d87e02] [currRev=98] [2025/04/04 10:49:34.015 +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/04 10:49:34.031 +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-04 10:49:33.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:49:34.031 +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-04 10:49:33.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.038 +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-04 10:49:33.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.189 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=136.955837ms] [2025/04/04 10:49:34.189 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:34.195 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.196 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:49: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=1] ["take time"=147.744639ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:33.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.213 +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-04 10:49:33.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.229 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:49:34.230 +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/04 10:49:34.231 +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/04 10:49:34.237 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/04 10:49:34.263 +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-04 10:49:34.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.263 +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-04 10:49:34.231 +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/04 10:49:34.272 +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-04 10:49:34.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.329 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.689787ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.333 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.333 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:49:34.335 +00:00] [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.759141ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.357 +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-04 10:49:34.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.399 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:49:34.399 +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/04 10:49:34.417 +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-04 10:49:34.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.417 +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-04 10:49:34.382 +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/04 10:49:34.426 +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-04 10:49:34.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.449 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.187263ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.453 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.453 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:49:34.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=3] ["take time"=9.99498ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.470 +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-04 10:49:34.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.490 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:49:34.490 +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/04 10:49:34.506 +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-04 10:49:34.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.506 +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-04 10:49:34.481 +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/04 10:49:34.512 +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-04 10:49:34.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.531 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.869248ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.534 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.534 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:49:34.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=4] ["take time"=8.38825ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.546 +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-04 10:49:34.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.558 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:49:34.558 +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/04 10:49:34.579 +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-04 10:49:34.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.579 +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-04 10:49:34.531 +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/04 10:49:34.587 +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-04 10:49:34.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.632 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.771981ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.636 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:49:34.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=5] ["take time"=13.468667ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.655 +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-04 10:49:34.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.682 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:49:34.683 +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/04 10:49:34.701 +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-04 10:49:34.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.701 +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-04 10:49:34.682 +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/04 10:49:34.708 +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-04 10:49:34.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.734 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=3.149079ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.738 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:49:34.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=6] ["take time"=11.686327ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.753 +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-04 10:49:34.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.770 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:49:34.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/04 10:49:34.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-04 10:49:34.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.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-04 10:49:34.732 +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/04 10:49:34.793 +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-04 10:49:34.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.818 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.621143ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.821 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:49:34.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=7] ["take time"=10.432113ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.836 +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-04 10:49:34.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.856 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:49:34.856 +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/04 10:49:34.874 +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-04 10:49:34.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.874 +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-04 10:49:34.832 +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/04 10:49:34.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-04 10:49:34.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.900 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.97798ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.904 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.904 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:49:34.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=8] ["take time"=10.318846ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.917 +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-04 10:49:34.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.929 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:49:34.929 +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/04 10:49:34.942 +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-04 10:49:34.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:34.942 +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-04 10:49:34.932 +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/04 10:49:34.948 +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-04 10:49:34.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.969 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=2.570189ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:34.974 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:34.974 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:49:34.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=9] ["take time"=12.214431ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:34.989 +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-04 10:49:34.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.001 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:49:35.001 +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/04 10:49:35.007 +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/04 10:49:35.016 +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-04 10:49:34.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.016 +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-04 10:49:34.982 +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/04 10:49:35.022 +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-04 10:49:34.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.043 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.097395ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.046 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.046 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:49:35.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=10] ["take time"=8.930523ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:34.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.060 +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-04 10:49:34.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.075 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:49:35.075 +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/04 10:49:35.089 +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-04 10:49:35.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.089 +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-04 10:49:35.031 +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/04 10:49:35.095 +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-04 10:49:35.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.120 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.157132ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.124 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:49:35.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=11] ["take time"=9.542974ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.137 +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-04 10:49:35.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.149 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:49:35.149 +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/04 10:49:35.151 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:35.168 +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-04 10:49:35.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.168 +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-04 10:49:35.132 +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/04 10:49:35.176 +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-04 10:49:35.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.208 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.222337ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.212 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.212 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:49:35.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=12] ["take time"=11.187559ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.227 +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-04 10:49:35.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.243 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:49:35.243 +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/04 10:49:35.259 +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-04 10:49:35.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.259 +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-04 10:49:35.232 +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/04 10:49:35.271 +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-04 10:49:35.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.807607ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.300 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.300 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:49:35.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=13] ["take time"=10.1025ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.314 +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-04 10:49:35.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.330 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:49:35.330 +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/04 10:49:35.344 +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-04 10:49:35.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.344 +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-04 10:49:35.332 +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/04 10:49:35.350 +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-04 10:49:35.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.375 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.686471ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.379 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.379 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:49:35.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=14] ["take time"=11.673953ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.399 +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-04 10:49:35.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.414 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:49:35.414 +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/04 10:49:35.430 +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-04 10:49:35.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.430 +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-04 10:49:35.382 +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/04 10:49:35.436 +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-04 10:49:35.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.456 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.091031ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.461 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:49:35.464 +00:00] [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"=11.175588ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.481 +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-04 10:49:35.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:49:35.497 +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/04 10:49:35.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-04 10:49:35.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.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-04 10:49:35.482 +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/04 10:49:35.518 +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-04 10:49:35.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.540 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.051548ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.544 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.544 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:49:35.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=16] ["take time"=9.992579ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.558 +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-04 10:49:35.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.576 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:49:35.576 +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/04 10:49:35.592 +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-04 10:49:35.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.592 +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-04 10:49:35.582 +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/04 10:49:35.599 +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-04 10:49:35.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.620 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.187666ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.624 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.624 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:49:35.625 +00:00] [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.975847ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.636 +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-04 10:49:35.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.651 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:49:35.651 +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/04 10:49:35.668 +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-04 10:49:35.632 +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/04 10:49:35.668 +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-04 10:49:35.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.677 +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-04 10:49:35.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.23399ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.702 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.702 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:49:35.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=18] ["take time"=9.368816ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.715 +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-04 10:49:35.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.728 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:49:35.729 +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/04 10:49:35.743 +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/04 10:49:35.745 +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-04 10:49:35.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.745 +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-04 10:49:35.731 +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/04 10:49:35.751 +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-04 10:49:35.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=2.963955ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.780 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:49:35.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=19] ["take time"=9.929859ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.793 +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-04 10:49:35.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.810 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:49:35.810 +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/04 10:49:35.836 +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-04 10:49:35.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.836 +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-04 10:49:35.781 +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/04 10:49:35.842 +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-04 10:49:35.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.072595ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.865 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.866 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:49:35.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=20] ["take time"=9.026836ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.878 +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-04 10:49:35.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.891 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:49:35.891 +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/04 10:49:35.904 +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-04 10:49:35.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.904 +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-04 10:49:35.882 +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/04 10:49:35.909 +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-04 10:49:35.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.926 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.727296ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.929 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.929 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:49:35.931 +00:00] [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.78361ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.941 +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-04 10:49:35.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.953 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:49:35.953 +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/04 10:49:35.965 +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-04 10:49:35.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:35.965 +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-04 10:49:35.932 +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/04 10:49:35.972 +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-04 10:49:35.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:35.986 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.415976ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:35.990 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:35.990 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:49:35.992 +00:00] [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.233905ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.001 +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-04 10:49:35.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.006 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:36.006 +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/04 10:49:36.013 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:49:36.014 +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/04 10:49:36.029 +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-04 10:49:35.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.029 +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-04 10:49:35.982 +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/04 10:49:36.035 +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-04 10:49:35.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.058 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.842468ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.061 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.061 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:49:36.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=23] ["take time"=11.15344ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:35.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.077 +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-04 10:49:35.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.091 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:49:36.092 +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/04 10:49:36.106 +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-04 10:49:36.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.106 +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-04 10:49:36.082 +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/04 10:49:36.111 +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-04 10:49:36.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.085645ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.135 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.135 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:49:36.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=24] ["take time"=9.23518ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.148 +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-04 10:49:36.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.161 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:49:36.161 +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/04 10:49:36.176 +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-04 10:49:36.132 +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/04 10:49:36.176 +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-04 10:49:36.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.182 +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-04 10:49:36.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.202 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.120818ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.206 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.206 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:49:36.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=25] ["take time"=9.416949ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.223 +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-04 10:49:36.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.236 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:49:36.236 +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/04 10:49:36.250 +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-04 10:49:36.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.250 +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-04 10:49:36.232 +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/04 10:49:36.255 +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-04 10:49:36.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.273 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.669648ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.276 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.276 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:49:36.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=26] ["take time"=7.938486ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.287 +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-04 10:49:36.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.298 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:49:36.299 +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/04 10:49:36.312 +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-04 10:49:36.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.312 +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-04 10:49:36.282 +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/04 10:49:36.318 +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-04 10:49:36.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.337 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.023153ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.340 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:49:36.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=27] ["take time"=8.745802ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.352 +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-04 10:49:36.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.365 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:49:36.365 +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/04 10:49:36.379 +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-04 10:49:36.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.378 +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-04 10:49:36.332 +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/04 10:49:36.384 +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-04 10:49:36.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.873064ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.406 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:49:36.407 +00:00] [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.637801ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.418 +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-04 10:49:36.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.430 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:49:36.431 +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/04 10:49:36.432 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:36.445 +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-04 10:49:36.431 +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/04 10:49:36.445 +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-04 10:49:36.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.452 +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-04 10:49:36.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.228799ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.477 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.477 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:49:36.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=29] ["take time"=8.981366ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.489 +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-04 10:49:36.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.503 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:49:36.503 +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/04 10:49:36.518 +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-04 10:49:36.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.518 +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-04 10:49:36.481 +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/04 10:49:36.523 +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-04 10:49:36.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.545 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.517148ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.549 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.549 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:49:36.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=30] ["take time"=9.847125ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.561 +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-04 10:49:36.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.576 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:49:36.576 +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/04 10:49:36.592 +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-04 10:49:36.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.592 +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-04 10:49:36.532 +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/04 10:49:36.599 +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-04 10:49:36.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.622 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.54447ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.625 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.625 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:49:36.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=31] ["take time"=9.592646ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.638 +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-04 10:49:36.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.653 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:49:36.653 +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/04 10:49:36.676 +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-04 10:49:36.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.676 +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-04 10:49:36.631 +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/04 10:49:36.683 +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-04 10:49:36.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.716 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.470348ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.719 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.720 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:49:36.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=32] ["take time"=11.418796ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.738 +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-04 10:49:36.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.760 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:49:36.760 +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/04 10:49:36.773 +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-04 10:49:36.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.773 +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-04 10:49:36.732 +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/04 10:49:36.779 +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-04 10:49:36.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.796 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.766481ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.800 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.800 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:49:36.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=33] ["take time"=9.583947ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.812 +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-04 10:49:36.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.823 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:49:36.823 +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/04 10:49:36.840 +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-04 10:49:36.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.840 +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-04 10:49:36.782 +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/04 10:49:36.846 +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-04 10:49:36.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.352059ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:36.873 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:49:36.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=34] ["take time"=9.406779ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.888 +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-04 10:49:36.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.903 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:49:36.919 +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-04 10:49:36.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.919 +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-04 10:49:36.882 +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/04 10:49:36.925 +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-04 10:49:36.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.947 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.306676ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:36.951 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:36.951 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:49:36.953 +00:00] [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.629361ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.965 +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-04 10:49:36.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:36.979 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:49:36.980 +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/04 10:49:36.994 +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-04 10:49:36.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.994 +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-04 10:49:36.982 +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/04 10:49:37.000 +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-04 10:49:36.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.023 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=5.33948ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.027 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.027 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:49:37.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=36] ["take time"=13.170384ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.041 +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-04 10:49:36.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.055 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:49:37.055 +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/04 10:49:37.075 +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-04 10:49:37.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.075 +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-04 10:49:37.032 +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/04 10:49:37.081 +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-04 10:49:37.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.101 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.837843ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.105 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.105 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:49:37.107 +00:00] [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.638283ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.118 +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-04 10:49:37.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:49:37.132 +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/04 10:49:37.156 +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-04 10:49:37.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.156 +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-04 10:49:37.131 +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/04 10:49:37.163 +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-04 10:49:37.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.195 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.598258ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.199 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.199 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:49:37.201 +00:00] [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"=12.575248ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.213 +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-04 10:49:37.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.230 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:49:37.231 +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/04 10:49:37.248 +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-04 10:49:37.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.248 +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-04 10:49:37.232 +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/04 10:49:37.254 +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-04 10:49:37.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.282 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.163773ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.285 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.285 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:49:37.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=39] ["take time"=10.536878ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.299 +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-04 10:49:37.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:49:37.322 +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/04 10:49:37.341 +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-04 10:49:37.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.341 +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-04 10:49:37.282 +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/04 10:49:37.348 +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-04 10:49:37.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.679948ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.381 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:49:37.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=40] ["take time"=11.193745ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.397 +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-04 10:49:37.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.417 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:49:37.417 +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/04 10:49:37.436 +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-04 10:49:37.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.436 +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-04 10:49:37.382 +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/04 10:49:37.442 +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-04 10:49:37.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.90317ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.478 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:49:37.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=41] ["take time"=12.008108ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.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-04 10:49:37.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.518 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:49:37.519 +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/04 10:49:37.538 +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-04 10:49:37.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.538 +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-04 10:49:37.482 +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/04 10:49:37.545 +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-04 10:49:37.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.578 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=4.456388ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.583 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.583 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:49:37.586 +00:00] [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"=14.7854ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.601 +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-04 10:49:37.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.620 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:49:37.620 +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/04 10:49:37.638 +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-04 10:49:37.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.638 +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-04 10:49:37.582 +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/04 10:49:37.645 +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-04 10:49:37.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.672 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.330627ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.675 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.675 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:49:37.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=43] ["take time"=10.283999ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.691 +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-04 10:49:37.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.710 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:49:37.710 +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/04 10:49:37.726 +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-04 10:49:37.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.726 +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-04 10:49:37.682 +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/04 10:49:37.732 +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-04 10:49:37.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.757 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.844005ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.761 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.761 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:49:37.762 +00:00] [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.812916ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.774 +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-04 10:49:37.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.790 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:49:37.791 +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/04 10:49:37.806 +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-04 10:49:37.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.806 +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-04 10:49:37.781 +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/04 10:49:37.813 +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-04 10:49:37.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.837 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.776638ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.840 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.841 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:49:37.842 +00:00] [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.060229ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.854 +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-04 10:49:37.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.870 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:49:37.870 +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/04 10:49:37.890 +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-04 10:49:37.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.890 +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-04 10:49:37.832 +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/04 10:49:37.898 +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-04 10:49:37.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.935 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.060895ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.938 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:49:37.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=46] ["take time"=12.030262ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.954 +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-04 10:49:37.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.974 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:49:37.974 +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/04 10:49:37.990 +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-04 10:49:37.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.990 +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-04 10:49:37.932 +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/04 10:49:37.996 +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-04 10:49:37.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.023 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.885736ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.026 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.026 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:49:38.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=47] ["take time"=10.279415ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.041 +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-04 10:49:37.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.057 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:49:38.057 +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/04 10:49:38.077 +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-04 10:49:38.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.077 +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-04 10:49:38.031 +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/04 10:49:38.084 +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-04 10:49:38.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.104 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.020848ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.107 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:49:38.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=48] ["take time"=9.382709ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.120 +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-04 10:49:38.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:49:38.132 +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/04 10:49:38.146 +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-04 10:49:38.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.146 +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-04 10:49:38.132 +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/04 10:49:38.151 +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-04 10:49:38.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.173 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=3.148413ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.178 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.178 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:49:38.180 +00:00] [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"=11.899877ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.196 +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-04 10:49:38.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.210 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:49:38.210 +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/04 10:49:38.211 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:38.224 +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-04 10:49:38.182 +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/04 10:49:38.224 +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-04 10:49:38.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.229 +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-04 10:49:38.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.248 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.136142ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.252 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.252 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:49:38.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=50] ["take time"=8.927989ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.265 +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-04 10:49:38.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.280 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:49:38.280 +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/04 10:49:38.293 +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-04 10:49:38.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.293 +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-04 10:49:38.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:49:38.298 +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-04 10:49:38.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.311 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=900.969Β΅s] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:38.316 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:49:38.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=51] ["take time"=10.57773ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.329 +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-04 10:49:38.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.338 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:49:38.339 +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/04 10:49:38.352 +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-04 10:49:38.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.352 +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-04 10:49:38.332 +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/04 10:49:38.358 +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-04 10:49:38.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.378 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.955637ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:38.382 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.382 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:49:38.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=52] ["take time"=9.77305ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.395 +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-04 10:49:38.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.411 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:49:38.429 +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-04 10:49:38.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.429 +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-04 10:49:38.382 +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/04 10:49:38.435 +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-04 10:49:38.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.464 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=5.004831ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.469 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.469 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:49:38.472 +00:00] [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"=15.066716ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.488 +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-04 10:49:38.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.504 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:49:38.504 +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/04 10:49:38.518 +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-04 10:49:38.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.518 +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-04 10:49:38.482 +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/04 10:49:38.525 +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-04 10:49:38.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.545 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.137559ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.548 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.548 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:49:38.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=54] ["take time"=8.992418ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.563 +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-04 10:49:38.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.580 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:49:38.580 +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/04 10:49:38.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-04 10:49:38.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.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-04 10:49:38.581 +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/04 10:49:38.605 +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-04 10:49:38.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.625 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.364481ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.628 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.628 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:49:38.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"=9.455541ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.642 +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-04 10:49:38.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.655 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:49:38.656 +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/04 10:49:38.813 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.803221469s] [2025/04/04 10:49:38.817 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [] [2025/04/04 10:49:38.817 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:38.817 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:38.817 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:38.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:38.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:38.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=47.227Β΅s] [2025/04/04 10:49:38.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=34.274Β΅s] [2025/04/04 10:49:38.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=31.337Β΅s] [2025/04/04 10:49:38.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=49.518Β΅s] [2025/04/04 10:49:38.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=39.795Β΅s] [2025/04/04 10:49:38.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=25.6Β΅s] [2025/04/04 10:49:38.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=25.404Β΅s] [2025/04/04 10:49:38.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=26.196Β΅s] [2025/04/04 10:49:38.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=27.045Β΅s] [2025/04/04 10:49:38.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=43.567Β΅s] [2025/04/04 10:49:38.818 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:38.818 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:38.819 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:38.819 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:38.831 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] ["take time"=14.037997ms] [2025/04/04 10:49:38.831 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:38.832 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1231] [2025/04/04 10:49:38.832 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:38.832 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:38.832 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:38.832 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:38.832 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:38.832 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [] [2025/04/04 10:49:38.832 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:38.832 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:38.832 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [2025/04/04 10:49:38.832 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:38.832 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:38.832 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:38.832 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:38.832 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [2025/04/04 10:49:38.832 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [2025/04/04 10:49:38.834 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:38.834 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=1b84d4f7-1411-4d4f-ab49-b0940acd3d1f] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:38.834 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:38.834 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:38.834 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:38.834 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:38.834 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:38.834 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:38.838 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=21.615496ms] [2025/04/04 10:49:38.838 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:38.848 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:38.897 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1342] ["lease id"=2231960069d879e7] [2025/04/04 10:49:38.899 +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/04 10:49:39.041 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=139.004921ms] [2025/04/04 10:49:39.041 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:39.051 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:39.052 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:39.054 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [lease=3eaa960069d87e0e] [2025/04/04 10:49:39.054 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:39.054 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300313276416/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:39.054 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:39.054 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:39.055 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:39.055 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [2025/04/04 10:49:39.057 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87e0e] [ownerID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [op=none] [2025/04/04 10:49:39.057 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:39.057 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [ownerKey=/tidb/ddl/fg/owner/3eaa960069d87e0e] [currRev=278] [2025/04/04 10:49:39.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:39.057 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:39.058 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d87e71] [ownerID=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [op=none] [2025/04/04 10:49:39.058 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [2025/04/04 10:49:39.058 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:39.058 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [ownerKey=/tidb/br-stream/owner/6f18960069d87e71] [currRev=278] [2025/04/04 10:49:39.059 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87e0e] [ownerID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [op=none] [2025/04/04 10:49:39.059 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [op=none] [2025/04/04 10:49:39.059 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:39.066 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:39.067 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:39.067 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:39.069 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/2231960069d879ef] [ownerID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [op=none] [2025/04/04 10:49:39.069 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:39.069 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [ownerKey=/tidb/bindinfo/owner/2231960069d879ef] [currRev=279] [2025/04/04 10:49:39.075 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:49:39.078 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:39.079 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:39.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:39.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:39.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:39.096 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:39.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:39.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:39.096 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:39.096 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:39.096 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:39.096 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:39.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:39.097 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:39.099 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:39.099 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:39.099 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:39.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:39.100 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:39.101 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=58] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:39.101 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069d87e78] [ownerID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [op=none] [2025/04/04 10:49:39.101 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:39.102 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [ownerKey=/tidb/stats/owner/6f18960069d87e78] [currRev=280] [2025/04/04 10:49:39.104 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/bc3f7d63-486f-4eb4-9f1d-a46fed8f2e5c] [2025/04/04 10:49:39.105 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [ttl-worker=task-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [originalCount=0] [newCount=4] [2025/04/04 10:49:39.105 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [ttl-worker=task-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [originalCount=0] [newCount=4] [2025/04/04 10:49:39.105 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:39.106 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:39.113 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:39.114 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:39.114 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763779114520243 [2025/04/04 10:49:39.117 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:39.127 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=29.140374ms] [2025/04/04 10:49:39.127 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:39.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:39.145 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:49:39.156 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743763779158085843 [2025/04/04 10:49:39.177 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:49:39.190 +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-04 10:49:39.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 10:49:39.190 +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-04 10:49:39.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.196 +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-04 10:49:39.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.200 +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/04 10:49:39.298 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=81.350607ms] [2025/04/04 10:49:39.298 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 10:49:39.298 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:39.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:49:39.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=56] ["take time"=89.021496ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.317 +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-04 10:49:39.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.329 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:49:39.329 +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/04 10:49:40.062 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:40.062 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:40.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:40.063 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:40.105 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:40.105 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:40.105 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/bc3f7d63-486f-4eb4-9f1d-a46fed8f2e5c] [watcherID=c6efb348-8045-4185-8fab-546471bff83c] [2025/04/04 10:49:40.114 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:40.120 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=58] [2025/04/04 10:49:40.120 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:40.120 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:40.120 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:40.120 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:40.341 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:49:40.331 +0000 UTC"] [2025/04/04 10:49:40.353 +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-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.353 +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-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:49:40.331000'"] [2025/04/04 10:49:40.358 +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-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.364 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/04 10:49:40.371 +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-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.444 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=101ms] [prevState=normal] [newState=adapting] [2025/04/04 10:49:40.475 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=138.83Β΅s] [gotSchemaVersion=57] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:49:40.479 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/04 10:49:40.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=57] ["take time"=7.129779ms] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.489 +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-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.490 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=10] ["first split key"=6d44423a3200000000fb0000000000000068] [2025/04/04 10:49:40.492 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=10] ["first at"=6d44423a3200000000fb0000000000000068] ["first new region left"="{Id:28 StartKey: EndKey:6d44423a32000000ff00fb000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:7} Peers:[id:29 store_id:2 id:30 store_id:3 id:31 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.493 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[28,32]"] [2025/04/04 10:49:40.493 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=10] ["first split key"=6d4442730000000000fa0000000000000068] [2025/04/04 10:49:40.499 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=10] ["first at"=6d4442730000000000fa0000000000000068] ["first new region left"="{Id:36 StartKey:6d44423a33000000ff00fb000000000000ff0068000000000000f9 EndKey:6d44427300000000ff00fa000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:9} Peers:[id:37 store_id:2 id:38 store_id:3 id:39 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.499 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[36,40]"] [2025/04/04 10:49:40.499 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000000] [2025/04/04 10:49:40.501 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000000] ["first new region left"="{Id:44 StartKey:7200000100000000fb EndKey:7480000000000000ff0000000000000000f8 RegionEpoch:{ConfVer:5 Version:7} Peers:[id:45 store_id:2 id:46 store_id:3 id:47 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.501 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[44,48]"] [2025/04/04 10:49:40.501 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000005] [2025/04/04 10:49:40.506 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000005] ["first new region left"="{Id:52 StartKey:7480000000000000ff0400000000000000f8 EndKey:7480000000000000ff0500000000000000f8 RegionEpoch:{ConfVer:5 Version:9} Peers:[id:53 store_id:2 id:54 store_id:3 id:55 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.506 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[52,56]"] [2025/04/04 10:49:40.506 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000007] [2025/04/04 10:49:40.511 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000007] ["first new region left"="{Id:60 StartKey:7480000000000000ff0600000000000000f8 EndKey:7480000000000000ff0700000000000000f8 RegionEpoch:{ConfVer:5 Version:11} Peers:[id:61 store_id:2 id:62 store_id:3 id:63 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.511 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[60,64]"] [2025/04/04 10:49:40.512 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000009] [2025/04/04 10:49:40.517 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000009] ["first new region left"="{Id:68 StartKey:7480000000000000ff0800000000000000f8 EndKey:7480000000000000ff0900000000000000f8 RegionEpoch:{ConfVer:5 Version:13} Peers:[id:69 store_id:2 id:70 store_id:3 id:71 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.517 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[68,72]"] [2025/04/04 10:49:40.517 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000b] [2025/04/04 10:49:40.522 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000b] ["first new region left"="{Id:76 StartKey:7480000000000000ff0a00000000000000f8 EndKey:7480000000000000ff0b00000000000000f8 RegionEpoch:{ConfVer:5 Version:15} Peers:[id:77 store_id:2 id:78 store_id:3 id:79 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.522 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[76,80]"] [2025/04/04 10:49:40.522 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000d] [2025/04/04 10:49:40.528 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000d] ["first new region left"="{Id:84 StartKey:7480000000000000ff0c00000000000000f8 EndKey:7480000000000000ff0d00000000000000f8 RegionEpoch:{ConfVer:5 Version:17} Peers:[id:85 store_id:2 id:86 store_id:3 id:87 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.528 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[84,88]"] [2025/04/04 10:49:40.528 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000f] [2025/04/04 10:49:40.533 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000f] ["first new region left"="{Id:92 StartKey:7480000000000000ff0e00000000000000f8 EndKey:7480000000000000ff0f00000000000000f8 RegionEpoch:{ConfVer:5 Version:19} Peers:[id:93 store_id:2 id:94 store_id:3 id:95 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.533 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[92,96]"] [2025/04/04 10:49:40.533 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000011] [2025/04/04 10:49:40.538 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000011] ["first new region left"="{Id:100 StartKey:7480000000000000ff1000000000000000f8 EndKey:7480000000000000ff1100000000000000f8 RegionEpoch:{ConfVer:5 Version:21} Peers:[id:101 store_id:2 id:102 store_id:3 id:103 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.538 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[100,104]"] [2025/04/04 10:49:40.538 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000013] [2025/04/04 10:49:40.544 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000013] ["first new region left"="{Id:108 StartKey:7480000000000000ff1200000000000000f8 EndKey:7480000000000000ff1300000000000000f8 RegionEpoch:{ConfVer:5 Version:23} Peers:[id:109 store_id:2 id:110 store_id:3 id:111 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.544 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[108,112]"] [2025/04/04 10:49:40.544 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000015] [2025/04/04 10:49:40.549 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000015] ["first new region left"="{Id:116 StartKey:7480000000000000ff1400000000000000f8 EndKey:7480000000000000ff1500000000000000f8 RegionEpoch:{ConfVer:5 Version:25} Peers:[id:117 store_id:2 id:118 store_id:3 id:119 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.549 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[116,120]"] [2025/04/04 10:49:40.549 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000001f] [2025/04/04 10:49:40.554 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000001f] ["first new region left"="{Id:124 StartKey:7480000000000000ff1e00000000000000f8 EndKey:7480000000000000ff1f00000000000000f8 RegionEpoch:{ConfVer:5 Version:27} Peers:[id:125 store_id:2 id:126 store_id:3 id:127 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.554 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[124,128]"] [2025/04/04 10:49:40.555 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000023] [2025/04/04 10:49:40.559 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000023] ["first new region left"="{Id:132 StartKey:7480000000000000ff2200000000000000f8 EndKey:7480000000000000ff2300000000000000f8 RegionEpoch:{ConfVer:5 Version:29} Peers:[id:133 store_id:2 id:134 store_id:3 id:135 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.559 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[132,136]"] [2025/04/04 10:49:40.559 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000025] [2025/04/04 10:49:40.563 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000025] ["first new region left"="{Id:140 StartKey:7480000000000000ff2400000000000000f8 EndKey:7480000000000000ff2500000000000000f8 RegionEpoch:{ConfVer:5 Version:31} Peers:[id:141 store_id:2 id:142 store_id:3 id:143 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.564 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[140,144]"] [2025/04/04 10:49:40.564 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000027] [2025/04/04 10:49:40.569 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000027] ["first new region left"="{Id:148 StartKey:7480000000000000ff2600000000000000f8 EndKey:7480000000000000ff2700000000000000f8 RegionEpoch:{ConfVer:5 Version:33} Peers:[id:149 store_id:2 id:150 store_id:3 id:151 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.569 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[148,152]"] [2025/04/04 10:49:40.569 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000002b] [2025/04/04 10:49:40.574 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000002b] ["first new region left"="{Id:156 StartKey:7480000000000000ff2a00000000000000f8 EndKey:7480000000000000ff2b00000000000000f8 RegionEpoch:{ConfVer:5 Version:35} Peers:[id:157 store_id:2 id:158 store_id:3 id:159 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.574 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[156,160]"] [2025/04/04 10:49:40.574 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000002d] [2025/04/04 10:49:40.580 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000002d] ["first new region left"="{Id:164 StartKey:7480000000000000ff2c00000000000000f8 EndKey:7480000000000000ff2d00000000000000f8 RegionEpoch:{ConfVer:5 Version:37} Peers:[id:165 store_id:2 id:166 store_id:3 id:167 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.580 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[164,168]"] [2025/04/04 10:49:40.580 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000033] [2025/04/04 10:49:40.585 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000033] ["first new region left"="{Id:172 StartKey:7480000000000000ff3200000000000000f8 EndKey:7480000000000000ff3300000000000000f8 RegionEpoch:{ConfVer:5 Version:39} Peers:[id:173 store_id:2 id:174 store_id:3 id:175 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.585 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[172,176]"] [2025/04/04 10:49:40.585 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000035] [2025/04/04 10:49:40.590 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000035] ["first new region left"="{Id:180 StartKey:7480000000000000ff3400000000000000f8 EndKey:7480000000000000ff3500000000000000f8 RegionEpoch:{ConfVer:5 Version:41} Peers:[id:181 store_id:2 id:182 store_id:3 id:183 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.590 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[180,184]"] [2025/04/04 10:49:40.590 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000037] [2025/04/04 10:49:40.595 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000037] ["first new region left"="{Id:188 StartKey:7480000000000000ff3600000000000000f8 EndKey:7480000000000000ff3700000000000000f8 RegionEpoch:{ConfVer:5 Version:43} Peers:[id:189 store_id:2 id:190 store_id:3 id:191 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.595 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[188,192]"] [2025/04/04 10:49:40.595 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000039] [2025/04/04 10:49:40.600 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000039] ["first new region left"="{Id:196 StartKey:7480000000000000ff3800000000000000f8 EndKey:7480000000000000ff3900000000000000f8 RegionEpoch:{ConfVer:5 Version:45} Peers:[id:197 store_id:2 id:198 store_id:3 id:199 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.600 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[196,200]"] [2025/04/04 10:49:40.600 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000003b] [2025/04/04 10:49:40.605 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000003b] ["first new region left"="{Id:204 StartKey:7480000000000000ff3a00000000000000f8 EndKey:7480000000000000ff3b00000000000000f8 RegionEpoch:{ConfVer:5 Version:47} Peers:[id:205 store_id:2 id:206 store_id:3 id:207 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.605 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[204,208]"] [2025/04/04 10:49:40.605 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000041] [2025/04/04 10:49:40.616 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000041] ["first new region left"="{Id:212 StartKey:7480000000000000ff4000000000000000f8 EndKey:7480000000000000ff4100000000000000f8 RegionEpoch:{ConfVer:5 Version:49} Peers:[id:213 store_id:2 id:214 store_id:3 id:215 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.616 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[212,216]"] [2025/04/04 10:49:40.616 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000043] [2025/04/04 10:49:40.623 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000043] ["first new region left"="{Id:220 StartKey:7480000000000000ff4200000000000000f8 EndKey:7480000000000000ff4300000000000000f8 RegionEpoch:{ConfVer:5 Version:51} Peers:[id:221 store_id:2 id:222 store_id:3 id:223 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.623 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[220,224]"] [2025/04/04 10:49:40.624 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000047] [2025/04/04 10:49:40.629 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000047] ["first new region left"="{Id:228 StartKey:7480000000000000ff4600000000000000f8 EndKey:7480000000000000ff4700000000000000f8 RegionEpoch:{ConfVer:5 Version:53} Peers:[id:229 store_id:2 id:230 store_id:3 id:231 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.629 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[228,232]"] [2025/04/04 10:49:40.629 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000049] [2025/04/04 10:49:40.635 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000049] ["first new region left"="{Id:236 StartKey:7480000000000000ff4800000000000000f8 EndKey:7480000000000000ff4900000000000000f8 RegionEpoch:{ConfVer:5 Version:55} Peers:[id:237 store_id:2 id:238 store_id:3 id:239 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.635 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[236,240]"] [2025/04/04 10:49:40.635 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000004d] [2025/04/04 10:49:40.640 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000004d] ["first new region left"="{Id:244 StartKey:7480000000000000ff4c00000000000000f8 EndKey:7480000000000000ff4d00000000000000f8 RegionEpoch:{ConfVer:5 Version:57} Peers:[id:245 store_id:2 id:246 store_id:3 id:247 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.640 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[244,248]"] [2025/04/04 10:49:40.640 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000004f] [2025/04/04 10:49:40.645 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000004f] ["first new region left"="{Id:252 StartKey:7480000000000000ff4e00000000000000f8 EndKey:7480000000000000ff4f00000000000000f8 RegionEpoch:{ConfVer:5 Version:59} Peers:[id:253 store_id:2 id:254 store_id:3 id:255 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.645 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[252,256]"] [2025/04/04 10:49:40.645 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000051] [2025/04/04 10:49:40.650 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000051] ["first new region left"="{Id:260 StartKey:7480000000000000ff5000000000000000f8 EndKey:7480000000000000ff5100000000000000f8 RegionEpoch:{ConfVer:5 Version:61} Peers:[id:261 store_id:2 id:262 store_id:3 id:263 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.650 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[260,264]"] [2025/04/04 10:49:40.651 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000053] [2025/04/04 10:49:40.656 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000053] ["first new region left"="{Id:268 StartKey:7480000000000000ff5200000000000000f8 EndKey:7480000000000000ff5300000000000000f8 RegionEpoch:{ConfVer:5 Version:63} Peers:[id:269 store_id:2 id:270 store_id:3 id:271 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.656 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[268,272]"] [2025/04/04 10:49:40.656 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000055] [2025/04/04 10:49:40.662 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000055] ["first new region left"="{Id:276 StartKey:7480000000000000ff5400000000000000f8 EndKey:7480000000000000ff5500000000000000f8 RegionEpoch:{ConfVer:5 Version:65} Peers:[id:277 store_id:2 id:278 store_id:3 id:279 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.662 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[276,280]"] [2025/04/04 10:49:40.662 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000057] [2025/04/04 10:49:40.667 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000057] ["first new region left"="{Id:284 StartKey:7480000000000000ff5600000000000000f8 EndKey:7480000000000000ff5700000000000000f8 RegionEpoch:{ConfVer:5 Version:67} Peers:[id:285 store_id:2 id:286 store_id:3 id:287 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.667 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[284,288]"] [2025/04/04 10:49:40.667 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000059] [2025/04/04 10:49:40.672 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000059] ["first new region left"="{Id:292 StartKey:7480000000000000ff5800000000000000f8 EndKey:7480000000000000ff5900000000000000f8 RegionEpoch:{ConfVer:5 Version:69} Peers:[id:293 store_id:2 id:294 store_id:3 id:295 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.672 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[292,296]"] [2025/04/04 10:49:40.672 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005b] [2025/04/04 10:49:40.678 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005b] ["first new region left"="{Id:300 StartKey:7480000000000000ff5a00000000000000f8 EndKey:7480000000000000ff5b00000000000000f8 RegionEpoch:{ConfVer:5 Version:71} Peers:[id:301 store_id:2 id:302 store_id:3 id:303 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.678 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[300,304]"] [2025/04/04 10:49:40.678 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005d] [2025/04/04 10:49:40.683 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005d] ["first new region left"="{Id:308 StartKey:7480000000000000ff5c00000000000000f8 EndKey:7480000000000000ff5d00000000000000f8 RegionEpoch:{ConfVer:5 Version:73} Peers:[id:309 store_id:2 id:310 store_id:3 id:311 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.683 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[308,312]"] [2025/04/04 10:49:40.683 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005f] [2025/04/04 10:49:40.689 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005f] ["first new region left"="{Id:316 StartKey:7480000000000000ff5e00000000000000f8 EndKey:7480000000000000ff5f00000000000000f8 RegionEpoch:{ConfVer:5 Version:75} Peers:[id:317 store_id:2 id:318 store_id:3 id:319 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.689 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[316,320]"] [2025/04/04 10:49:40.689 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000061] [2025/04/04 10:49:40.694 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000061] ["first new region left"="{Id:324 StartKey:7480000000000000ff6000000000000000f8 EndKey:7480000000000000ff6100000000000000f8 RegionEpoch:{ConfVer:5 Version:77} Peers:[id:325 store_id:2 id:326 store_id:3 id:327 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.694 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[324,328]"] [2025/04/04 10:49:40.694 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000063] [2025/04/04 10:49:40.699 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000063] ["first new region left"="{Id:332 StartKey:7480000000000000ff6200000000000000f8 EndKey:7480000000000000ff6300000000000000f8 RegionEpoch:{ConfVer:5 Version:79} Peers:[id:333 store_id:2 id:334 store_id:3 id:335 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.699 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[332,336]"] [2025/04/04 10:49:40.699 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000065] [2025/04/04 10:49:40.704 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000065] ["first new region left"="{Id:340 StartKey:7480000000000000ff6400000000000000f8 EndKey:7480000000000000ff6500000000000000f8 RegionEpoch:{ConfVer:5 Version:81} Peers:[id:341 store_id:2 id:342 store_id:3 id:343 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.704 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[340,344]"] [2025/04/04 10:49:40.704 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006b] [2025/04/04 10:49:40.710 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006b] ["first new region left"="{Id:348 StartKey:7480000000000000ff6a00000000000000f8 EndKey:7480000000000000ff6b00000000000000f8 RegionEpoch:{ConfVer:5 Version:83} Peers:[id:349 store_id:2 id:350 store_id:3 id:351 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.710 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[348,352]"] [2025/04/04 10:49:40.710 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006d] [2025/04/04 10:49:40.714 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006d] ["first new region left"="{Id:356 StartKey:7480000000000000ff6c00000000000000f8 EndKey:7480000000000000ff6d00000000000000f8 RegionEpoch:{ConfVer:5 Version:85} Peers:[id:357 store_id:2 id:358 store_id:3 id:359 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.714 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[356,360]"] [2025/04/04 10:49:40.714 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006f] [2025/04/04 10:49:40.719 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006f] ["first new region left"="{Id:364 StartKey:7480000000000000ff6e00000000000000f8 EndKey:7480000000000000ff6f00000000000000f8 RegionEpoch:{ConfVer:5 Version:87} Peers:[id:365 store_id:2 id:366 store_id:3 id:367 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 10:49:40.719 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[364,368]"] [2025/04/04 10:49:40.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:40.723 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:40.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.653544ms] ["completed regions"=1] [2025/04/04 10:49:40.725 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:40.728 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:40.730 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.720265ms] ["completed regions"=1] [2025/04/04 10:49:40.730 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:40.733 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:40.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.292992ms] ["completed regions"=1] [2025/04/04 10:49:40.735 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:40.737 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:40.738 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.600689ms] ["completed regions"=1] [2025/04/04 10:49:40.739 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:40.742 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:40.743 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.676826ms] ["completed regions"=1] [2025/04/04 10:49:40.743 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:40.746 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:40.747 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.750779ms] ["completed regions"=1] [2025/04/04 10:49:40.747 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:40.750 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:40.751 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.784793ms] ["completed regions"=1] [2025/04/04 10:49:40.751 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:40.754 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:40.755 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.062436ms] ["completed regions"=1] [2025/04/04 10:49:40.756 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:40.759 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:40.760 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.67834ms] ["completed regions"=1] [2025/04/04 10:49:40.760 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:40.762 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:40.764 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.627088ms] ["completed regions"=1] [2025/04/04 10:49:40.764 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:40.767 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:40.768 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.622668ms] ["completed regions"=1] [2025/04/04 10:49:40.768 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:40.771 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:40.772 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.741774ms] ["completed regions"=1] [2025/04/04 10:49:40.772 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:40.775 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:40.776 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.9088ms] ["completed regions"=1] [2025/04/04 10:49:40.777 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:40.779 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:40.780 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.370509ms] ["completed regions"=1] [2025/04/04 10:49:40.780 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:40.783 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:40.784 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.469788ms] ["completed regions"=1] [2025/04/04 10:49:40.784 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:40.787 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:40.788 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.442613ms] ["completed regions"=1] [2025/04/04 10:49:40.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:40.791 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:40.792 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.145152ms] ["completed regions"=1] [2025/04/04 10:49:40.792 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:40.794 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:40.795 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.135522ms] ["completed regions"=1] [2025/04/04 10:49:40.795 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:40.798 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:40.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.040119ms] ["completed regions"=1] [2025/04/04 10:49:40.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:40.801 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:40.803 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.739864ms] ["completed regions"=1] [2025/04/04 10:49:40.803 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:40.805 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:40.806 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.000126ms] ["completed regions"=1] [2025/04/04 10:49:40.806 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:40.809 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:40.810 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.415295ms] ["completed regions"=1] [2025/04/04 10:49:40.810 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:40.813 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:40.815 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=4.098916ms] ["completed regions"=1] [2025/04/04 10:49:40.815 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:40.817 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:40.819 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.631507ms] ["completed regions"=1] [2025/04/04 10:49:40.819 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:40.822 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:40.824 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=4.347376ms] ["completed regions"=1] [2025/04/04 10:49:40.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:40.827 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:40.828 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=4.221378ms] ["completed regions"=1] [2025/04/04 10:49:40.828 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:40.831 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:40.832 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.584285ms] ["completed regions"=1] [2025/04/04 10:49:40.833 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:40.835 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:40.836 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.939133ms] ["completed regions"=1] [2025/04/04 10:49:40.836 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:40.838 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:40.839 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.680568ms] ["completed regions"=1] [2025/04/04 10:49:40.839 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:40.841 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:40.842 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.621641ms] ["completed regions"=1] [2025/04/04 10:49:40.842 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:40.844 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:40.845 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.266379ms] ["completed regions"=1] [2025/04/04 10:49:40.845 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:40.846 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:40.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.251822ms] ["completed regions"=1] [2025/04/04 10:49:40.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:40.849 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:40.850 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.100578ms] ["completed regions"=1] [2025/04/04 10:49:40.850 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:40.851 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:40.852 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.0641ms] ["completed regions"=1] [2025/04/04 10:49:40.852 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:40.853 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:40.854 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=1.927688ms] ["completed regions"=1] [2025/04/04 10:49:40.854 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:40.856 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:40.857 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.086438ms] ["completed regions"=1] [2025/04/04 10:49:40.857 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:40.859 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:40.860 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=3.116538ms] ["completed regions"=1] [2025/04/04 10:49:40.861 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:40.862 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:40.864 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.998932ms] ["completed regions"=1] [2025/04/04 10:49:40.864 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:40.866 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:40.867 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.804871ms] ["completed regions"=1] [2025/04/04 10:49:40.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:40.869 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:40.871 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.941569ms] ["completed regions"=1] [2025/04/04 10:49:40.871 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:40.872 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:40.874 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.733953ms] ["completed regions"=1] [2025/04/04 10:49:40.874 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:40.875 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:40.876 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.09105ms] ["completed regions"=1] [2025/04/04 10:49:40.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:40.878 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:49:40.880 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.066033ms] ["completed regions"=1] [2025/04/04 10:49:40.887 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/04 10:49:40.894 +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-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:40.898 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:40.899 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/04 10:49:40.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.671397ms] ["completed regions"=1] [2025/04/04 10:49:40.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:40.903 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:40.904 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/04 10:49:40.904 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=3.986819ms] ["completed regions"=1] [2025/04/04 10:49:40.904 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:40.907 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:40.908 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/04 10:49:40.908 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.891382ms] ["completed regions"=1] [2025/04/04 10:49:40.908 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:40.911 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:40.912 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/04 10:49:40.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.957842ms] ["completed regions"=1] [2025/04/04 10:49:40.912 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:40.916 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:40.917 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/04 10:49:40.917 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.0933ms] ["completed regions"=1] [2025/04/04 10:49:40.917 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:40.920 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:40.921 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/04 10:49:40.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.800611ms] ["completed regions"=1] [2025/04/04 10:49:40.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:40.924 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:40.925 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/04 10:49:40.925 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.757515ms] ["completed regions"=1] [2025/04/04 10:49:40.925 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:40.928 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:40.929 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/04 10:49:40.929 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.97185ms] ["completed regions"=1] [2025/04/04 10:49:40.929 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:40.932 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:40.933 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/04 10:49:40.933 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.717039ms] ["completed regions"=1] [2025/04/04 10:49:40.933 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:40.936 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:40.937 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/04 10:49:40.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.813728ms] ["completed regions"=1] [2025/04/04 10:49:40.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:40.940 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:40.941 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/04 10:49:40.941 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.634071ms] ["completed regions"=1] [2025/04/04 10:49:40.941 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:40.944 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:40.945 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/04 10:49:40.946 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.719516ms] ["completed regions"=1] [2025/04/04 10:49:40.946 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:40.948 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:40.949 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/04 10:49:40.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.594932ms] ["completed regions"=1] [2025/04/04 10:49:40.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:40.952 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:40.953 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/04 10:49:40.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.488838ms] ["completed regions"=1] [2025/04/04 10:49:40.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:40.956 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:40.957 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/04 10:49:40.957 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.208919ms] ["completed regions"=1] [2025/04/04 10:49:40.957 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:40.960 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:40.961 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/04 10:49:40.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.728566ms] ["completed regions"=1] [2025/04/04 10:49:40.961 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:40.965 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:40.966 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/04 10:49:40.966 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=4.508565ms] ["completed regions"=1] [2025/04/04 10:49:40.966 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:40.969 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:40.970 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/04 10:49:40.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.675739ms] ["completed regions"=1] [2025/04/04 10:49:40.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:40.974 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:40.975 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/04 10:49:40.975 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=4.574302ms] ["completed regions"=1] [2025/04/04 10:49:40.975 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:40.978 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:40.979 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/04 10:49:40.979 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.775776ms] ["completed regions"=1] [2025/04/04 10:49:40.979 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:40.983 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:40.984 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/04 10:49:40.984 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=4.466687ms] ["completed regions"=1] [2025/04/04 10:49:40.984 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:40.987 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:40.988 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/04 10:49:40.988 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.289105ms] ["completed regions"=1] [2025/04/04 10:49:40.988 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:40.990 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:40.991 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/04 10:49:40.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.961676ms] ["completed regions"=1] [2025/04/04 10:49:40.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:40.993 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:40.994 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/04 10:49:40.995 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.929844ms] ["completed regions"=1] [2025/04/04 10:49:40.995 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:40.996 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:40.997 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/04 10:49:40.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.694199ms] ["completed regions"=1] [2025/04/04 10:49:40.998 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:40.999 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:41.000 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/04 10:49:41.000 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.465397ms] ["completed regions"=1] [2025/04/04 10:49:41.000 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:41.002 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:41.003 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/04 10:49:41.003 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.632258ms] ["completed regions"=1] [2025/04/04 10:49:41.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:41.005 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:41.006 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/04 10:49:41.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.567908ms] ["completed regions"=1] [2025/04/04 10:49:41.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:41.008 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:41.009 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/04 10:49:41.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.450357ms] ["completed regions"=1] [2025/04/04 10:49:41.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:41.011 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:41.011 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/04 10:49:41.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.378277ms] ["completed regions"=1] [2025/04/04 10:49:41.012 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:41.013 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:41.014 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/04 10:49:41.014 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.401316ms] ["completed regions"=1] [2025/04/04 10:49:41.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:41.016 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:41.017 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/04 10:49:41.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.184293ms] ["completed regions"=1] [2025/04/04 10:49:41.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:41.018 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:41.019 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/04 10:49:41.019 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.120647ms] ["completed regions"=1] [2025/04/04 10:49:41.019 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:41.021 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:41.022 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/04 10:49:41.022 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.094776ms] ["completed regions"=1] [2025/04/04 10:49:41.022 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:41.023 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:41.024 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/04 10:49:41.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.031668ms] ["completed regions"=1] [2025/04/04 10:49:41.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:41.025 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:41.026 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/04 10:49:41.026 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=1.957272ms] ["completed regions"=1] [2025/04/04 10:49:41.026 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:41.028 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:41.028 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/04 10:49:41.028 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.913303ms] ["completed regions"=1] [2025/04/04 10:49:41.029 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:41.030 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:41.031 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/04 10:49:41.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.990876ms] ["completed regions"=1] [2025/04/04 10:49:41.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:41.032 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:41.033 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/04 10:49:41.033 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.914229ms] ["completed regions"=1] [2025/04/04 10:49:41.033 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:41.034 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:41.035 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/04 10:49:41.035 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.736346ms] ["completed regions"=1] [2025/04/04 10:49:41.035 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:41.036 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:41.037 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/04 10:49:41.037 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.675225ms] ["completed regions"=1] [2025/04/04 10:49:41.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:41.038 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:41.039 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/04 10:49:41.039 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.608562ms] ["completed regions"=1] [2025/04/04 10:49:41.039 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:41.040 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:49:41.042 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/04 10:49:41.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.094766ms] ["completed regions"=1] [2025/04/04 10:49:41.043 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:49:41.054 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:41.056 +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:1152\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:1152\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/04 10:49:41.147 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=90.182913ms] [2025/04/04 10:49:41.147 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:41.150 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/04 10:49:41.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=58] ["take time"=96.546912ms] [job="ID:114, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.222 +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-04 10:49:40.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.234 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/04 10:49:41.234 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.894484639\n# Parse_time: 0.000115856\n# Compile_time: 0.000302743\n# Rewrite_time: 0.000003635\n# Optimize_time: 0.000114979\n# Wait_TS: 0.000474216\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-04 10:49:40.331000';"] [2025/04/04 10:49:41.236 +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/04 10:49:41.257 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:41.257 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:41.257 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [] [2025/04/04 10:49:41.257 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.257 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:41.257 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:41.258 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=58.466Β΅s] [2025/04/04 10:49:41.258 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=39.788Β΅s] [2025/04/04 10:49:41.258 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.258 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.260 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:41.260 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:41.261 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] ["take time"=4.049408ms] [2025/04/04 10:49:41.261 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.261 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:41.262 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/bc3f7d63-486f-4eb4-9f1d-a46fed8f2e5c] [watcherID=c6efb348-8045-4185-8fab-546471bff83c] [2025/04/04 10:49:41.262 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:41.262 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/bc3f7d63-486f-4eb4-9f1d-a46fed8f2e5c] [2025/04/04 10:49:41.262 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [ttl-worker=task-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [originalCount=4] [newCount=0] [2025/04/04 10:49:41.262 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:41.262 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:41.262 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:41.262 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:41.262 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [ttl-worker=task-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [originalCount=4] [newCount=0] [2025/04/04 10:49:41.265 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:41.266 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:41.266 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:41.266 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:41.268 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.269 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1342] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:41.271 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:41.271 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.271 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:41.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.270 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [] [2025/04/04 10:49:41.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.271 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:41.270 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:41.271 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:41.271 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:41.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:41.270 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:41.271 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [2025/04/04 10:49:41.271 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:41.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:41.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:41.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:41.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:41.271 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [2025/04/04 10:49:41.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:41.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:41.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:41.271 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.272 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:41.272 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:41.272 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:41.272 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:41.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:41.273 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:41.273 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:41.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:41.273 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=33f75a49-bed0-4b98-ba64-3af5bf6c4678] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:41.273 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:41.273 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:41.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:41.273 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [] [2025/04/04 10:49:41.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:41.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:41.273 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:41.273 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.273 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.273 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:41.273 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [2025/04/04 10:49:41.274 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [error="context canceled"] [2025/04/04 10:49:41.274 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=b3624bf3-5635-4d2b-bfdd-3ae244c915ee] [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/04 10:49:41.292 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:41.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:41.335 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:41.335 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:41.345 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.854079ms] [2025/04/04 10:49:41.347 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:41.348 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:41.348 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:41.348 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:41.348 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:41.348 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:41.348 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:41.348 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:41.348 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:41.348 +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/04 10:49:41.348 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:41.348 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:41.349 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashback (7.63s) === NAME === RUN TestPrepareFlashbackFailed [2025/04/04 10:49:41.355 +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/04 10:49:41.355 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:41.356 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:41.356 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:41.356 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:41.357 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:41.357 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:41.357 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:41.357 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:41.357 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:41.357 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:41.362 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:41.368 +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/04 10:49:41.369 +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/04 10:49:41.370 +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/04 10:49:41.380 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:41.390 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:41.423 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=334] ["lease id"=6f18960069d87e91] [2025/04/04 10:49:41.424 +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/04 10:49:41.519 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=58] ["elapsed time"=92.156374ms] [2025/04/04 10:49:41.519 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:41.521 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:41.526 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:41.527 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:41.529 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:41.530 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:41.530 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300313276416/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:41.530 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:41.530 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:41.530 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:41.530 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=06e94d28-3332-4333-9c77-cf22496e1940] [2025/04/04 10:49:41.532 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87ea3] [ownerID=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [op=none] [2025/04/04 10:49:41.532 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:41.532 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [ownerKey=/tidb/ddl/fg/owner/3eaa960069d87ea3] [currRev=315] [2025/04/04 10:49:41.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:41.533 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=06e94d28-3332-4333-9c77-cf22496e1940] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:41.534 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:41.534 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069d87ea5] [ownerID=06e94d28-3332-4333-9c77-cf22496e1940] [op=none] [2025/04/04 10:49:41.534 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=06e94d28-3332-4333-9c77-cf22496e1940] [2025/04/04 10:49:41.534 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=06e94d28-3332-4333-9c77-cf22496e1940] [ownerKey=/tidb/br-stream/owner/3eaa960069d87ea5] [currRev=316] [2025/04/04 10:49:41.534 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87ea3] [ownerID=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [op=none] [2025/04/04 10:49:41.534 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [op=none] [2025/04/04 10:49:41.534 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:41.538 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:41.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:41.539 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:41.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:41.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:41.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:41.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:41.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:41.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:41.560 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:41.560 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:41.560 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:41.560 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:41.560 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:41.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:41.561 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:41.562 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:41.563 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:41.563 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:41.563 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:41.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:41.565 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:41.565 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069d87e9b] [ownerID=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [op=none] [2025/04/04 10:49:41.565 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:41.565 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [ownerKey=/tidb/stats/owner/6f18960069d87e9b] [currRev=318] [2025/04/04 10:49:41.567 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a9f7f693-7582-4cea-8b38-c0fe4aed1d8a] [2025/04/04 10:49:41.567 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [ttl-worker=task-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [originalCount=0] [newCount=4] [2025/04/04 10:49:41.567 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [ttl-worker=task-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [originalCount=0] [newCount=4] [2025/04/04 10:49:41.567 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:41.568 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:41.572 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:41.572 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:41.572 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763781572666287 [2025/04/04 10:49:41.574 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:41.581 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.700753ms] [2025/04/04 10:49:41.581 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:41.581 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:41.587 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:49:41.591 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=58] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:49:41.606 +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-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:49:41.606 +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-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.612 +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-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.631 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.964469ms] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:41.635 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2025/04/04 10:49:41.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=59] ["take time"=9.433269ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.646 +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-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.066853ms] [gotSchemaVersion=60] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:41.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=60] [2025/04/04 10:49:41.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=60] ["take time"=10.32023ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.677 +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-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.684 +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/04 10:49:41.699 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.338018ms] [gotSchemaVersion=61] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:41.704 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=61] [2025/04/04 10:49:41.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=61] ["take time"=9.929255ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.716 +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/04 10:49:41.723 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2025/04/04 10:49:41.724 +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-04 10:49:41.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.744 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:49:41.744 +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: 1743763781744873179 [2025/04/04 10:49:41.759 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=61] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:49:41.779 +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-04 10:49:41.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.779 +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-04 10:49:41.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 10:49:41.785 +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-04 10:49:41.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.790 +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/04 10:49:41.804 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.487862ms] [gotSchemaVersion=62] [phyTblIDs="[116]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.808 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/04 10:49:41.809 +00:00] [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.177334ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.821 +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-04 10:49:41.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.832 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:49:41.832 +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/04 10:49:42.544 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:42.544 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:42.544 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:42.544 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:42.567 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:42.567 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:42.567 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a9f7f693-7582-4cea-8b38-c0fe4aed1d8a] [watcherID=577a977d-0458-4a2b-bbf0-9c1c64b7fda9] [2025/04/04 10:49:42.572 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:42.581 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:42.581 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:42.581 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:42.581 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:42.848 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:49:42.832 +0000 UTC"] [2025/04/04 10:49:42.865 +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-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.865 +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-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:49:42.832000'"] [2025/04/04 10:49:42.872 +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-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.879 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/04 10:49:42.888 +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-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.964 +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/04 10:49:42.993 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=148.176Β΅s] [gotSchemaVersion=63] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:49:42.996 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=63] [2025/04/04 10:49:42.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=63] ["take time"=7.168325ms] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.009 +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-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.042 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:43.045 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:43.050 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:43.052 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=9.777601ms] ["completed regions"=1] [2025/04/04 10:49:43.052 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:43.055 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:43.060 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:43.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=8.776608ms] ["completed regions"=1] [2025/04/04 10:49:43.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:43.065 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:43.069 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:43.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=8.405306ms] ["completed regions"=1] [2025/04/04 10:49:43.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:43.075 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:43.079 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:43.080 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=9.241415ms] ["completed regions"=1] [2025/04/04 10:49:43.080 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:43.083 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:43.087 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:43.088 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=7.501351ms] ["completed regions"=1] [2025/04/04 10:49:43.088 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:43.093 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:43.097 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:43.098 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=9.59148ms] ["completed regions"=1] [2025/04/04 10:49:43.098 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:43.101 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:43.105 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:43.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=8.132895ms] ["completed regions"=1] [2025/04/04 10:49:43.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:43.109 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:43.113 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:43.114 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=7.586854ms] ["completed regions"=1] [2025/04/04 10:49:43.114 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:43.117 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:43.123 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:43.125 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=10.142424ms] ["completed regions"=1] [2025/04/04 10:49:43.125 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:43.128 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:43.131 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:43.132 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=6.719183ms] ["completed regions"=1] [2025/04/04 10:49:43.132 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:43.135 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:43.138 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:43.139 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=6.828164ms] ["completed regions"=1] [2025/04/04 10:49:43.139 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:43.142 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:43.146 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:43.148 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=8.155213ms] ["completed regions"=1] [2025/04/04 10:49:43.148 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:43.152 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:43.156 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:43.157 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=8.979626ms] ["completed regions"=1] [2025/04/04 10:49:43.157 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:43.160 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:43.164 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:43.165 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=6.904751ms] ["completed regions"=1] [2025/04/04 10:49:43.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:43.167 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:43.172 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:43.173 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=7.808005ms] ["completed regions"=1] [2025/04/04 10:49:43.173 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:43.176 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:43.180 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:43.181 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=7.804001ms] ["completed regions"=1] [2025/04/04 10:49:43.181 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:43.184 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:43.187 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:43.188 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=6.689683ms] ["completed regions"=1] [2025/04/04 10:49:43.188 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:43.191 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:43.195 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:43.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=7.691622ms] ["completed regions"=1] [2025/04/04 10:49:43.196 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:43.199 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:43.203 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:43.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=7.412301ms] ["completed regions"=1] [2025/04/04 10:49:43.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:43.206 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:43.211 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:43.212 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=7.257188ms] ["completed regions"=1] [2025/04/04 10:49:43.212 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:43.214 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:43.218 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:43.219 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=7.214385ms] ["completed regions"=1] [2025/04/04 10:49:43.220 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:43.222 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:43.225 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:43.226 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=5.997917ms] ["completed regions"=1] [2025/04/04 10:49:43.226 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:43.228 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:43.232 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:43.234 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=7.288543ms] ["completed regions"=1] [2025/04/04 10:49:43.234 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:43.236 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:43.240 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:43.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=7.488694ms] ["completed regions"=1] [2025/04/04 10:49:43.241 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:43.244 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:43.247 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:43.248 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=6.588111ms] ["completed regions"=1] [2025/04/04 10:49:43.249 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:43.251 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:43.255 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:43.257 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=7.686915ms] ["completed regions"=1] [2025/04/04 10:49:43.257 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:43.259 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:43.263 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:43.264 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=7.013265ms] ["completed regions"=1] [2025/04/04 10:49:43.264 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:43.266 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:43.271 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:43.272 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=7.518013ms] ["completed regions"=1] [2025/04/04 10:49:43.272 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:43.275 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:43.279 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:43.280 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=7.827088ms] ["completed regions"=1] [2025/04/04 10:49:43.280 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:43.282 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:43.286 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:43.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=5.978632ms] ["completed regions"=1] [2025/04/04 10:49:43.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:43.289 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:43.293 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:43.294 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=7.009482ms] ["completed regions"=1] [2025/04/04 10:49:43.294 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:43.296 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:43.300 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:43.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=6.425901ms] ["completed regions"=1] [2025/04/04 10:49:43.301 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:43.303 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:43.307 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:43.308 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=6.423634ms] ["completed regions"=1] [2025/04/04 10:49:43.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:43.310 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:43.313 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:43.314 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=5.509809ms] ["completed regions"=1] [2025/04/04 10:49:43.314 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:43.315 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:43.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:43.321 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=6.498997ms] ["completed regions"=1] [2025/04/04 10:49:43.321 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:43.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:43.326 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:43.327 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=6.414351ms] ["completed regions"=1] [2025/04/04 10:49:43.328 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:43.329 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:43.333 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:43.335 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=7.108394ms] ["completed regions"=1] [2025/04/04 10:49:43.335 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:43.336 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:43.340 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:43.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=5.867385ms] ["completed regions"=1] [2025/04/04 10:49:43.341 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:43.343 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:43.346 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:43.347 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=5.256587ms] ["completed regions"=1] [2025/04/04 10:49:43.347 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:43.348 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:43.353 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:43.354 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=6.240301ms] ["completed regions"=1] [2025/04/04 10:49:43.354 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:43.355 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:43.358 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:43.359 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=4.864438ms] ["completed regions"=1] [2025/04/04 10:49:43.359 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:43.360 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:43.363 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:43.364 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=5.023845ms] ["completed regions"=1] [2025/04/04 10:49:43.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:43.365 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:49:43.370 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:49:43.371 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.607614ms] ["completed regions"=1] [2025/04/04 10:49:43.378 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/04 10:49:43.384 +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-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.385 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:43.389 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:43.390 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/04 10:49:43.390 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.800285ms] ["completed regions"=1] [2025/04/04 10:49:43.390 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:43.393 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:43.394 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/04 10:49:43.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.115271ms] ["completed regions"=1] [2025/04/04 10:49:43.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:43.398 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:43.399 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/04 10:49:43.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.027565ms] ["completed regions"=1] [2025/04/04 10:49:43.399 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:43.402 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:43.403 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/04 10:49:43.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.797117ms] ["completed regions"=1] [2025/04/04 10:49:43.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:43.406 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:43.407 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/04 10:49:43.407 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.594756ms] ["completed regions"=1] [2025/04/04 10:49:43.407 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:43.410 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:43.411 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/04 10:49:43.411 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.838421ms] ["completed regions"=1] [2025/04/04 10:49:43.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:43.414 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:43.415 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/04 10:49:43.415 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.453099ms] ["completed regions"=1] [2025/04/04 10:49:43.415 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:43.418 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:43.418 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/04 10:49:43.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.46276ms] ["completed regions"=1] [2025/04/04 10:49:43.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:43.422 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:43.423 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/04 10:49:43.423 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.343537ms] ["completed regions"=1] [2025/04/04 10:49:43.423 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:43.426 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:43.427 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/04 10:49:43.427 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.399275ms] ["completed regions"=1] [2025/04/04 10:49:43.427 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:43.430 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:43.432 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/04 10:49:43.432 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.892925ms] ["completed regions"=1] [2025/04/04 10:49:43.432 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:43.436 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:43.437 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/04 10:49:43.437 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.130971ms] ["completed regions"=1] [2025/04/04 10:49:43.437 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:43.440 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:43.441 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/04 10:49:43.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.567377ms] ["completed regions"=1] [2025/04/04 10:49:43.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:43.443 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:43.445 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/04 10:49:43.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.388468ms] ["completed regions"=1] [2025/04/04 10:49:43.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:43.447 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:43.448 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/04 10:49:43.448 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.371624ms] ["completed regions"=1] [2025/04/04 10:49:43.448 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:43.451 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:43.452 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/04 10:49:43.452 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.204054ms] ["completed regions"=1] [2025/04/04 10:49:43.452 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:43.454 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:43.455 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/04 10:49:43.455 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.144127ms] ["completed regions"=1] [2025/04/04 10:49:43.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:43.458 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:43.459 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/04 10:49:43.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.200255ms] ["completed regions"=1] [2025/04/04 10:49:43.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:43.461 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:43.462 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/04 10:49:43.462 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.938785ms] ["completed regions"=1] [2025/04/04 10:49:43.462 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:43.465 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:43.466 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/04 10:49:43.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.099814ms] ["completed regions"=1] [2025/04/04 10:49:43.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:43.468 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:43.469 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/04 10:49:43.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.066131ms] ["completed regions"=1] [2025/04/04 10:49:43.469 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:43.471 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:43.472 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/04 10:49:43.473 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.939111ms] ["completed regions"=1] [2025/04/04 10:49:43.473 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:43.475 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:43.476 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/04 10:49:43.476 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.846613ms] ["completed regions"=1] [2025/04/04 10:49:43.476 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:43.478 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:43.479 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/04 10:49:43.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.183306ms] ["completed regions"=1] [2025/04/04 10:49:43.480 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:43.482 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:43.483 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/04 10:49:43.483 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.81239ms] ["completed regions"=1] [2025/04/04 10:49:43.483 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:43.485 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:43.486 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/04 10:49:43.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.783532ms] ["completed regions"=1] [2025/04/04 10:49:43.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:43.488 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:43.489 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/04 10:49:43.489 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.779418ms] ["completed regions"=1] [2025/04/04 10:49:43.489 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:43.491 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:43.492 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/04 10:49:43.492 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.659041ms] ["completed regions"=1] [2025/04/04 10:49:43.492 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:43.494 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:43.495 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/04 10:49:43.495 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.767275ms] ["completed regions"=1] [2025/04/04 10:49:43.495 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:43.497 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:43.498 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/04 10:49:43.499 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.839808ms] ["completed regions"=1] [2025/04/04 10:49:43.499 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:43.500 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:43.502 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/04 10:49:43.502 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.683019ms] ["completed regions"=1] [2025/04/04 10:49:43.502 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:43.503 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:43.504 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/04 10:49:43.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.519142ms] ["completed regions"=1] [2025/04/04 10:49:43.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:43.506 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:43.507 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/04 10:49:43.507 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.429078ms] ["completed regions"=1] [2025/04/04 10:49:43.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:43.509 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:43.510 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/04 10:49:43.510 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.317967ms] ["completed regions"=1] [2025/04/04 10:49:43.510 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:43.512 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:43.513 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/04 10:49:43.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.539905ms] ["completed regions"=1] [2025/04/04 10:49:43.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:43.515 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:43.516 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/04 10:49:43.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.456713ms] ["completed regions"=1] [2025/04/04 10:49:43.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:43.517 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:43.518 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/04 10:49:43.518 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.106675ms] ["completed regions"=1] [2025/04/04 10:49:43.518 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:43.520 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:43.521 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/04 10:49:43.521 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.994852ms] ["completed regions"=1] [2025/04/04 10:49:43.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:43.522 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:43.523 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/04 10:49:43.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.142644ms] ["completed regions"=1] [2025/04/04 10:49:43.523 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:43.525 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:43.526 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/04 10:49:43.526 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.876616ms] ["completed regions"=1] [2025/04/04 10:49:43.526 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:43.527 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:43.528 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/04 10:49:43.528 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.746619ms] ["completed regions"=1] [2025/04/04 10:49:43.528 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:43.529 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:43.530 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:43.530 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/04 10:49:43.530 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.763124ms] ["completed regions"=1] [2025/04/04 10:49:43.530 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:43.531 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 10:49:43.533 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/04 10:49:43.534 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.195171ms] ["completed regions"=1] [2025/04/04 10:49:43.534 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:49:43.548 +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/04 10:49:43.631 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=82.851573ms] [2025/04/04 10:49:43.631 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:43.635 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=64] [2025/04/04 10:49:43.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=64] ["take time"=90.349563ms] [job="ID:118, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.704 +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-04 10:49:42.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.716 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/04 10:49:43.716 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 4\n# Query_time: 0.869399555\n# Parse_time: 0.000080864\n# Compile_time: 0.000280143\n# Rewrite_time: 0.00000314\n# Optimize_time: 0.000106273\n# Wait_TS: 0.000530039\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-04 10:49:42.832000';"] [2025/04/04 10:49:43.718 +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/04 10:49:43.744 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [] [2025/04/04 10:49:43.744 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:43.744 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:43.744 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.744 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:43.744 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:43.744 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=51.608Β΅s] [2025/04/04 10:49:43.745 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=32.094Β΅s] [2025/04/04 10:49:43.745 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=33.092Β΅s] [2025/04/04 10:49:43.745 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.745 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.746 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:43.746 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:43.747 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] ["take time"=2.984821ms] [2025/04/04 10:49:43.747 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.747 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:43.747 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:43.747 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a9f7f693-7582-4cea-8b38-c0fe4aed1d8a] [watcherID=577a977d-0458-4a2b-bbf0-9c1c64b7fda9] [2025/04/04 10:49:43.747 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a9f7f693-7582-4cea-8b38-c0fe4aed1d8a] [2025/04/04 10:49:43.747 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [ttl-worker=task-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [originalCount=4] [newCount=0] [2025/04/04 10:49:43.747 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:43.747 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:43.747 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:43.748 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:43.748 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [ttl-worker=task-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [originalCount=4] [newCount=0] [2025/04/04 10:49:43.750 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:43.750 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:43.750 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:43.750 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:43.752 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.752 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=334] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=06e94d28-3332-4333-9c77-cf22496e1940] [] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=06e94d28-3332-4333-9c77-cf22496e1940] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=06e94d28-3332-4333-9c77-cf22496e1940] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:43.753 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:43.754 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.754 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:43.754 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:43.754 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:43.754 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:43.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:43.753 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=06e94d28-3332-4333-9c77-cf22496e1940] [2025/04/04 10:49:43.753 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:43.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:43.754 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:43.754 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:43.754 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:43.754 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.754 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.754 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:43.754 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:43.754 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:43.754 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:43.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:43.756 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=06e94d28-3332-4333-9c77-cf22496e1940] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:43.756 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:43.756 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:43.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:43.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:43.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:43.756 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:43.756 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:43.756 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:43.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:43.756 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:43.757 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [error="context canceled"] [2025/04/04 10:49:43.757 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [2025/04/04 10:49:43.775 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:43.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:43.817 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7228b524-6d2b-4d2f-bbca-e27d1fceb1de] [error="context canceled"] [2025/04/04 10:49:43.817 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:43.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:43.827 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.996744ms] [2025/04/04 10:49:43.829 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:43.829 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:43.829 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:43.829 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:43.829 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:43.829 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:43.829 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:43.829 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:43.829 +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/04 10:49:43.830 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:43.830 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:43.830 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:43.831 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPrepareFlashbackFailed (2.48s) === NAME === RUN TestFlashbackAddDropIndex [2025/04/04 10:49:43.838 +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/04 10:49:43.839 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:43.840 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:43.840 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:43.840 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:43.841 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:43.841 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:43.841 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:43.841 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:43.842 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:43.842 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:43.846 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:43.851 +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/04 10:49:43.851 +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/04 10:49:43.852 +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/04 10:49:43.865 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:43.875 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:43.909 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1745] ["lease id"=2231960069d87a34] [2025/04/04 10:49:43.911 +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/04 10:49:44.002 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=88.195559ms] [2025/04/04 10:49:44.002 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:44.004 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:44.011 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:44.011 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:44.013 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:44.014 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:44.014 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300313317376/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:44.014 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:44.014 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:44.014 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:44.014 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:44.015 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:44.015 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:44.015 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:44.015 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:44.015 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:44.015 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:44.015 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:44.015 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:44.015 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [2025/04/04 10:49:44.017 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87ecc] [ownerID=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [op=none] [2025/04/04 10:49:44.017 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:44.017 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [ownerKey=/tidb/ddl/fg/owner/3eaa960069d87ecc] [currRev=360] [2025/04/04 10:49:44.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:44.018 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:44.018 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:44.018 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d87eb9] [ownerID=63f824c1-f731-41d7-b03b-abce1a580aba] [op=none] [2025/04/04 10:49:44.019 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [2025/04/04 10:49:44.019 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [ownerKey=/tidb/br-stream/owner/6f18960069d87eb9] [currRev=360] [2025/04/04 10:49:44.019 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87ecc] [ownerID=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [op=none] [2025/04/04 10:49:44.019 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [op=none] [2025/04/04 10:49:44.019 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:44.024 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:44.025 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:44.025 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:44.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:44.042 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:44.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:44.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:44.048 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:44.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:44.048 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:44.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:44.048 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:44.048 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:44.048 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:44.049 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:44.049 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:44.050 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:44.050 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:44.050 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:49:44.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:44.051 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:44.051 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:44.051 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:44.052 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:44.052 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069d87a3f] [ownerID=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [op=none] [2025/04/04 10:49:44.053 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:44.053 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [ownerKey=/tidb/stats/owner/2231960069d87a3f] [currRev=362] [2025/04/04 10:49:44.054 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a4cfa5d3-322e-4cc8-bf5b-1f1e6a9582da] [2025/04/04 10:49:44.055 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [ttl-worker=task-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [originalCount=0] [newCount=4] [2025/04/04 10:49:44.055 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [ttl-worker=task-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [originalCount=0] [newCount=4] [2025/04/04 10:49:44.055 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:44.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:44.056 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:44.056 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763784056797423 [2025/04/04 10:49:44.056 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:44.062 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:44.068 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.680369ms] [2025/04/04 10:49:44.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:44.068 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:44.070 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:49:44.086 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:49:44.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=64] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:49:44.102 +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-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:49:44.102 +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-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.107 +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-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.124 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=2.595691ms] [gotSchemaVersion=65] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:44.127 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=65] [2025/04/04 10:49:44.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=65] ["take time"=10.410292ms] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.141 +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-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.817345ms] [gotSchemaVersion=66] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:44.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=66] [2025/04/04 10:49:44.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=66] ["take time"=8.711027ms] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.169 +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-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.175 +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/04 10:49:44.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.030059ms] [gotSchemaVersion=67] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:44.191 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=67] [2025/04/04 10:49:44.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=67] ["take time"=8.400572ms] [job="ID:119, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.202 +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/04 10:49:44.210 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="drop table"] [2025/04/04 10:49:44.210 +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-04 10:49:44.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.229 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:49:44.229 +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: 1743763784229649358 [2025/04/04 10:49:44.242 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=67] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:49:44.254 +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-04 10:49:44.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.254 +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-04 10:49:44.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 10:49:44.259 +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-04 10:49:44.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.264 +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/04 10:49:44.277 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.453562ms] [gotSchemaVersion=68] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.280 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=68] [2025/04/04 10:49:44.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=68] ["take time"=7.797409ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.292 +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-04 10:49:44.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.302 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 10:49:44.303 +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/04 10:49:45.026 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:45.026 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:45.026 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:45.026 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:45.055 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:45.055 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:45.055 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a4cfa5d3-322e-4cc8-bf5b-1f1e6a9582da] [watcherID=f1ecfc55-25f0-4b4e-91c1-ed3ef00d2935] [2025/04/04 10:49:45.056 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:45.061 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:45.061 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:45.062 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:45.062 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:45.316 +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/04 10:49:45.330 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 10:49:45.330 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/04 10:49:45.337 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:45.339 +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-04 10:49:45.281 +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/04 10:49:45.356 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.756202ms] [gotSchemaVersion=69] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:49:45.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=69] [2025/04/04 10:49:45.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=69] ["take time"=9.685823ms] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:45.373 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:45.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=2.366315ms] [gotSchemaVersion=70] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:49:45.396 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=70] [2025/04/04 10:49:45.398 +00:00] [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"=11.220485ms] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:45.408 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:45.425 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.701323ms] [gotSchemaVersion=71] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:49:45.429 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=71] [2025/04/04 10:49:45.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=71] ["take time"=9.45483ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:45.440 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:45.442 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/04 10:49:45.444 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=120] [startKey=7480000000000000785f728000000000000001] [endKey=7480000000000000785f72800000000000000300] [2025/04/04 10:49:45.459 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=122] [2025/04/04 10:49:45.466 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457117213768024068, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:45.469 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/04 10:49:45.488 +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/04 10:49:45.499 +00:00] [INFO] [index.go:2804] ["estimate row size"] [tableID=120] [size=0] [error="less than 3 regions"] [2025/04/04 10:49:45.542 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:45.542 +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/04 10:49:45.847 +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/04 10:49:46.015 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:46.045 +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/04 10:49:46.046 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:46.048 +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/04 10:49:46.048 +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/04 10:49:46.051 +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/04 10:49:46.052 +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/04 10:49:46.175 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=backfill] [concurrency=4] [remaining-slots=12] [2025/04/04 10:49:46.488 +00:00] [INFO] [backfilling_read_index.go:93] ["read index executor init subtask exec env"] [category=ddl] [2025/04/04 10:49:46.488 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:46.488 +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/04 10:49:46.488 +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/04 10:49:46.495 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:46.495 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:46.495 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:46.495 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:46.495 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:46.495 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:46.495 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:46.496 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:46.496 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:46.496 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:46.509 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:46.511 +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/04 10:49:46.511 +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/04 10:49:46.518 +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/04 10:49:46.518 +00:00] [INFO] [backfilling_read_index.go:107] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2025/04/04 10:49:46.519 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:46.522 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 10:49:46.522 +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/04 10:49:46.522 +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/04 10:49:46.523 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=120] ["start key"=7480000000000000785f728000000000000001] ["end key"=7480000000000000785f72800000000000000300] [2025/04/04 10:49:46.523 +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/04 10:49:46.524 +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/04 10:49:46.529 +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/04 10:49:46.530 +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/04 10:49:46.537 +00:00] [INFO] [backfilling_operators.go:796] ["finish a index ingest task"] [task-id=1] [subtask-id=1] [id=0] [2025/04/04 10:49:46.550 +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/04 10:49:46.558 +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/04 10:49:46.558 +00:00] [INFO] [backfilling_operators.go:520] ["table scan operator total count"] [task-id=1] [subtask-id=1] [count=3] [2025/04/04 10:49:46.560 +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/ccfc2f61-e763-463d-848d-8d831fbbce7a.sst] [firstKey=7480000000000000785F698000000000000002038000000000000001038000000000000001] [lastKey=7480000000000000785F698000000000000002038000000000000003038000000000000003] [2025/04/04 10:49:46.566 +00:00] [INFO] [manager.go:654] ["acquire distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/04 10:49:46.566 +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: 300313378816/940431265792, backend usage: 0"] [2025/04/04 10:49:46.566 +00:00] [INFO] [backend.go:289] ["set ingest ts before import"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [jobID=122] [ts=457117213925310467] [2025/04/04 10:49:46.567 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [2025/04/04 10:49:46.573 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:46.595 +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/04 10:49:46.595 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:46.597 +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/04 10:49:46.614 +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/04 10:49:46.616 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [takeTime=49.607447ms] [] [2025/04/04 10:49:46.621 +00:00] [INFO] [manager.go:660] ["release distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/04 10:49:46.622 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 10:49:46.624 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=1.50494ms] [] [2025/04/04 10:49:46.624 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 10:49:46.625 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=793.425Β΅s] [] [2025/04/04 10:49:46.625 +00:00] [INFO] [backend.go:360] ["close one backend for DDL job"] [jobID=122] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 10:49:46.631 +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=112.324174ms] [] [2025/04/04 10:49:47.050 +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/04 10:49:47.054 +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/04 10:49:47.056 +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/04 10:49:47.056 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=112] [indexID=1] [2025/04/04 10:49:47.056 +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/04 10:49:47.354 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/04 10:49:47.379 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.615654ms] [gotSchemaVersion=72] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:49:47.382 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=72] [2025/04/04 10:49:47.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=72] ["take time"=9.056232ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457117213768024068, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:47.394 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457117213768024068, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:47.396 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=122] [table=t] [index=k] [2025/04/04 10:49:47.411 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.669046ms] [gotSchemaVersion=73] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:49:47.415 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=73] [2025/04/04 10:49:47.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=73] ["take time"=9.425173ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:47.427 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:47.430 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=122] [table=t] [2025/04/04 10:49:47.434 +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/04 10:49:47.437 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/04 10:49:47.450 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.924465ms] [gotSchemaVersion=74] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:49:47.454 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=74] [2025/04/04 10:49:47.456 +00:00] [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"=10.46058ms] [job="ID:122, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:47.466 +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/04 10:49:47.471 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add index"] [2025/04/04 10:49:47.472 +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-04 10:49:45.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:47.495 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 10:49:47.495 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 2.181801189\n# Parse_time: 0.000121476\n# Compile_time: 0.000430455\n# Rewrite_time: 0.000006208\n# Optimize_time: 0.00064954\n# Wait_TS: 0.000480791\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/04 10:49:47.496 +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/04 10:49:47.515 +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-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.515 +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-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop index i"] [2025/04/04 10:49:47.521 +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-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.730297ms] [gotSchemaVersion=75] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 10:49:47.541 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=75] [2025/04/04 10:49:47.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=75] ["take time"=9.344868ms] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.544 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:47.551 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:47.551 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:47.553 +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-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.557 +00:00] [INFO] [backfilling_read_index.go:175] ["read index executor cleanup subtask exec env"] [2025/04/04 10:49:47.561 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:47.561 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:47.561 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:47.561 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:47.561 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:47.561 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:47.561 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:47.561 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.561 +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/04 10:49:47.561 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.561 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.561 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:47.563 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:47.563 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.563 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.563 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.563 +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.052510194s] [] [2025/04/04 10:49:47.563 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=backfill] [2025/04/04 10:49:47.571 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=2.539218ms] [gotSchemaVersion=76] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 10:49:47.576 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=76] [2025/04/04 10:49:47.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=76] ["take time"=12.643207ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.579 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:47.588 +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-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.605 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.888704ms] [gotSchemaVersion=77] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 10:49:47.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=77] [2025/04/04 10:49:47.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=77] ["take time"=10.678788ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.624 +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-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.642 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.689814ms] [gotSchemaVersion=78] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 10:49:47.646 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=78] [2025/04/04 10:49:47.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=78] ["take time"=9.997901ms] [job="ID:123, Type:drop index, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.662 +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/04 10:49:47.668 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop index"] [2025/04/04 10:49:47.669 +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-04 10:49:47.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.691 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 10:49:47.692 +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/04 10:49:47.692 +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/04 10:49:47.700 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:49:45.281 +0000 UTC"] [2025/04/04 10:49:47.711 +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-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.711 +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-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:49:45.281000'"] [2025/04/04 10:49:47.717 +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-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.724 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/04 10:49:47.731 +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-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.852 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=152.409Β΅s] [gotSchemaVersion=79] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:49:47.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=79] [2025/04/04 10:49: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=79] ["take time"=7.607891ms] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.867 +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-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:47.903 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:47.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.363112ms] ["completed regions"=1] [2025/04/04 10:49:47.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:47.909 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:47.910 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.44954ms] ["completed regions"=1] [2025/04/04 10:49:47.910 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:47.914 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:47.915 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.406381ms] ["completed regions"=1] [2025/04/04 10:49:47.915 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:47.919 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:47.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=5.192337ms] ["completed regions"=1] [2025/04/04 10:49:47.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:47.924 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:47.925 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.067947ms] ["completed regions"=1] [2025/04/04 10:49:47.925 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:47.928 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:47.930 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.170051ms] ["completed regions"=1] [2025/04/04 10:49:47.930 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:47.933 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:47.934 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.975148ms] ["completed regions"=1] [2025/04/04 10:49:47.934 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:47.938 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:47.939 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.060787ms] ["completed regions"=1] [2025/04/04 10:49:47.939 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:47.942 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:47.943 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.181154ms] ["completed regions"=1] [2025/04/04 10:49:47.944 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:47.947 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:47.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.827538ms] ["completed regions"=1] [2025/04/04 10:49:47.948 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:47.951 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:47.952 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.986597ms] ["completed regions"=1] [2025/04/04 10:49:47.952 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:47.956 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:47.957 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.351006ms] ["completed regions"=1] [2025/04/04 10:49:47.957 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:47.960 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:47.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.652414ms] ["completed regions"=1] [2025/04/04 10:49:47.961 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:47.964 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:47.966 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.858998ms] ["completed regions"=1] [2025/04/04 10:49:47.966 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:47.969 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:47.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.730095ms] ["completed regions"=1] [2025/04/04 10:49:47.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:47.973 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:47.974 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.583296ms] ["completed regions"=1] [2025/04/04 10:49:47.974 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:47.977 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:47.978 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.744624ms] ["completed regions"=1] [2025/04/04 10:49:47.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:47.981 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:47.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.47549ms] ["completed regions"=1] [2025/04/04 10:49:47.982 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:47.985 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:47.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.178736ms] ["completed regions"=1] [2025/04/04 10:49:47.986 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:47.988 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:47.989 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.274846ms] ["completed regions"=1] [2025/04/04 10:49:47.990 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:47.992 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:47.993 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.980137ms] ["completed regions"=1] [2025/04/04 10:49:47.993 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:47.996 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:47.997 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.72633ms] ["completed regions"=1] [2025/04/04 10:49:47.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:48.000 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:48.001 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.205972ms] ["completed regions"=1] [2025/04/04 10:49:48.001 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:48.003 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:48.004 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.141055ms] ["completed regions"=1] [2025/04/04 10:49:48.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:48.007 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:48.008 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.721404ms] ["completed regions"=1] [2025/04/04 10:49:48.008 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:48.010 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:48.011 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.92442ms] ["completed regions"=1] [2025/04/04 10:49:48.011 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:48.013 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:48.014 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.847384ms] ["completed regions"=1] [2025/04/04 10:49:48.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:48.016 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:48.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.768925ms] ["completed regions"=1] [2025/04/04 10:49:48.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:48.020 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:48.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.892494ms] ["completed regions"=1] [2025/04/04 10:49:48.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:48.023 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:48.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.591534ms] ["completed regions"=1] [2025/04/04 10:49:48.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:48.026 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:48.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.114634ms] ["completed regions"=1] [2025/04/04 10:49:48.028 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:48.030 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:48.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.985237ms] ["completed regions"=1] [2025/04/04 10:49:48.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:48.033 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:48.034 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.540953ms] ["completed regions"=1] [2025/04/04 10:49:48.034 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:48.036 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:48.037 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.318166ms] ["completed regions"=1] [2025/04/04 10:49:48.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:48.039 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:48.040 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.534757ms] ["completed regions"=1] [2025/04/04 10:49:48.040 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:48.041 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:48.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.307171ms] ["completed regions"=1] [2025/04/04 10:49:48.043 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:48.044 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:48.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.1671ms] ["completed regions"=1] [2025/04/04 10:49:48.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:48.046 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:48.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.229383ms] ["completed regions"=1] [2025/04/04 10:49:48.048 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:48.049 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:48.051 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.3986ms] ["completed regions"=1] [2025/04/04 10:49:48.051 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:48.052 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:48.053 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.08629ms] ["completed regions"=1] [2025/04/04 10:49:48.054 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:48.055 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:48.056 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.024734ms] ["completed regions"=1] [2025/04/04 10:49:48.056 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:48.057 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:48.058 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.014898ms] ["completed regions"=1] [2025/04/04 10:49:48.059 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:48.060 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:48.061 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:48.063 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:48.064 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.392061ms] ["completed regions"=3] [2025/04/04 10:49:48.072 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/04 10:49:48.078 +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-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.079 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:48.083 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:48.084 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:49:48.084 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.493303ms] ["completed regions"=1] [2025/04/04 10:49:48.085 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:48.088 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:48.089 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:49:48.089 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.486113ms] ["completed regions"=1] [2025/04/04 10:49:48.090 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:48.093 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:48.094 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:49:48.094 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.417409ms] ["completed regions"=1] [2025/04/04 10:49:48.094 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:48.098 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:48.100 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:49:48.100 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.892984ms] ["completed regions"=1] [2025/04/04 10:49:48.100 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:48.103 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:48.105 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:49:48.105 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.563773ms] ["completed regions"=1] [2025/04/04 10:49:48.105 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:48.108 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:48.110 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:49:48.110 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.702398ms] ["completed regions"=1] [2025/04/04 10:49:48.110 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:48.113 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:48.115 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:49:48.115 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.410911ms] ["completed regions"=1] [2025/04/04 10:49:48.115 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:48.118 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:48.120 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:49:48.120 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=5.101535ms] ["completed regions"=1] [2025/04/04 10:49:48.120 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:48.125 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:48.127 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:49:48.127 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=5.980917ms] ["completed regions"=1] [2025/04/04 10:49:48.127 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:48.130 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:48.132 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:49:48.132 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.495249ms] ["completed regions"=1] [2025/04/04 10:49:48.132 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:48.135 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:48.136 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:49:48.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.961787ms] ["completed regions"=1] [2025/04/04 10:49:48.136 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:48.139 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:48.142 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:49:48.142 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.242044ms] ["completed regions"=1] [2025/04/04 10:49:48.142 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:48.145 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:48.146 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:49:48.146 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.654433ms] ["completed regions"=1] [2025/04/04 10:49:48.146 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:48.149 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:48.150 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:49:48.150 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.541453ms] ["completed regions"=1] [2025/04/04 10:49:48.150 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:48.153 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:48.154 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:49:48.154 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.411075ms] ["completed regions"=1] [2025/04/04 10:49:48.154 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:48.156 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:48.158 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:49:48.158 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.757569ms] ["completed regions"=1] [2025/04/04 10:49:48.158 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:48.160 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:48.162 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:49:48.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.71799ms] ["completed regions"=1] [2025/04/04 10:49:48.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:48.164 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:48.165 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:49:48.166 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.37361ms] ["completed regions"=1] [2025/04/04 10:49:48.166 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:48.168 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:48.169 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:49:48.169 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.531262ms] ["completed regions"=1] [2025/04/04 10:49:48.170 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:48.173 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:48.174 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:49:48.174 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=4.126999ms] ["completed regions"=1] [2025/04/04 10:49:48.174 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:48.177 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:48.178 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:49:48.178 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.530235ms] ["completed regions"=1] [2025/04/04 10:49:48.178 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:48.181 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:48.182 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:49:48.182 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.169959ms] ["completed regions"=1] [2025/04/04 10:49:48.182 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:48.184 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:48.185 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:49:48.185 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.96722ms] ["completed regions"=1] [2025/04/04 10:49:48.185 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:48.187 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:48.189 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:49:48.189 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.049494ms] ["completed regions"=1] [2025/04/04 10:49:48.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:48.191 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:48.192 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:49:48.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.893235ms] ["completed regions"=1] [2025/04/04 10:49:48.192 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:48.194 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:48.195 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:49:48.195 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.790886ms] ["completed regions"=1] [2025/04/04 10:49:48.195 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:48.197 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:48.198 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:49:48.198 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.694056ms] ["completed regions"=1] [2025/04/04 10:49:48.198 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:48.200 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:48.201 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:49:48.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.777825ms] ["completed regions"=1] [2025/04/04 10:49:48.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:48.203 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:48.204 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:49:48.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.680548ms] ["completed regions"=1] [2025/04/04 10:49:48.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:48.206 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:48.207 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:49:48.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.491219ms] ["completed regions"=1] [2025/04/04 10:49:48.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:48.209 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:48.210 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:49:48.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.618366ms] ["completed regions"=1] [2025/04/04 10:49:48.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:48.212 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:48.213 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:49:48.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.56621ms] ["completed regions"=1] [2025/04/04 10:49:48.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:48.215 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:48.216 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:49:48.216 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.894029ms] ["completed regions"=1] [2025/04/04 10:49:48.216 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:48.218 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:48.220 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:49:48.220 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=3.679666ms] ["completed regions"=1] [2025/04/04 10:49:48.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:48.222 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:48.224 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:49:48.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.988584ms] ["completed regions"=1] [2025/04/04 10:49:48.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:48.226 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:48.227 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:49:48.227 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.622496ms] ["completed regions"=1] [2025/04/04 10:49:48.227 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:48.229 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:48.230 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:49:48.230 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.918224ms] ["completed regions"=1] [2025/04/04 10:49:48.230 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:48.232 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:48.237 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:49:48.237 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=6.086621ms] ["completed regions"=1] [2025/04/04 10:49:48.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:48.239 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:48.240 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:49:48.240 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.98902ms] ["completed regions"=1] [2025/04/04 10:49:48.240 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:48.242 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:48.243 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:49:48.243 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.589969ms] ["completed regions"=1] [2025/04/04 10:49:48.243 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:48.245 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:48.246 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:49:48.246 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.256943ms] ["completed regions"=1] [2025/04/04 10:49:48.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:48.247 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:48.248 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:49:48.248 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.020965ms] ["completed regions"=1] [2025/04/04 10:49:48.248 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:48.250 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:48.251 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:48.253 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:48.255 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:49:48.255 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.479919ms] ["completed regions"=3] [2025/04/04 10:49:48.255 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:49:48.274 +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/04 10:49:48.366 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=91.593972ms] [2025/04/04 10:49:48.366 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:48.372 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=80] [2025/04/04 10:49:48.374 +00:00] [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"=104.98358ms] [job="ID:124, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.448 +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-04 10:49:47.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.460 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 10:49:48.461 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 0.761671975\n# Parse_time: 0.000072318\n# Compile_time: 0.000250304\n# Rewrite_time: 0.000003573\n# Optimize_time: 0.000611018\n# Wait_TS: 0.000497418\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-04 10:49:45.281000';"] [2025/04/04 10:49:48.463 +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/04 10:49:48.482 +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/04 10:49:48.487 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:48.487 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [] [2025/04/04 10:49:48.487 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:48.487 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.487 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:48.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp add index"] ["take time"=71.773Β΅s] [2025/04/04 10:49:48.487 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:48.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=37.848Β΅s] [2025/04/04 10:49:48.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=34.134Β΅s] [2025/04/04 10:49:48.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=53.486Β΅s] [2025/04/04 10:49:48.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=29.627Β΅s] [2025/04/04 10:49:48.487 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.487 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.488 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:48.489 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:48.492 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] ["take time"=5.182058ms] [2025/04/04 10:49:48.492 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.492 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:48.492 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a4cfa5d3-322e-4cc8-bf5b-1f1e6a9582da] [watcherID=f1ecfc55-25f0-4b4e-91c1-ed3ef00d2935] [2025/04/04 10:49:48.492 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:48.492 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a4cfa5d3-322e-4cc8-bf5b-1f1e6a9582da] [2025/04/04 10:49:48.492 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [ttl-worker=task-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [originalCount=4] [newCount=0] [2025/04/04 10:49:48.492 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:48.492 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:48.492 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:48.492 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:48.492 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [ttl-worker=task-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [originalCount=4] [newCount=0] [2025/04/04 10:49:48.495 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:48.495 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:48.496 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:48.496 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:48.498 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.498 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1745] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:48.499 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:48.499 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:48.499 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:48.499 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:48.499 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [2025/04/04 10:49:48.499 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [] [2025/04/04 10:49:48.499 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:48.500 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:48.500 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.500 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.500 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:48.500 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:48.499 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:48.500 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:48.500 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:48.500 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:48.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:48.500 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:48.500 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:48.500 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:48.500 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:48.501 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:48.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:48.501 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:48.501 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=63f824c1-f731-41d7-b03b-abce1a580aba] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:48.501 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:48.501 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:48.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:48.501 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:48.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:48.501 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:48.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:48.502 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [error="context canceled"] [2025/04/04 10:49:48.502 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [2025/04/04 10:49:48.525 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:48.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:48.573 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=2cbd6aa4-05c6-4d4f-a8e6-9fa838966649] [error="context canceled"] [2025/04/04 10:49:48.573 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:48.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:48.586 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=99.285637ms] [2025/04/04 10:49:48.589 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:48.589 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:48.589 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:48.589 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:48.589 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:48.589 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:48.589 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:48.589 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.589 +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/04 10:49:48.589 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.589 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.589 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:48.590 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropIndex (4.76s) === NAME === RUN TestFlashbackAddDropModifyColumn [2025/04/04 10:49:48.599 +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/04 10:49:48.599 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:48.601 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:48.601 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:48.601 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:48.602 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:48.602 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:48.602 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:48.602 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:48.602 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:48.603 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:48.606 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:48.611 +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/04 10:49:48.612 +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/04 10:49:48.612 +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/04 10:49:48.626 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:48.636 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:48.670 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=611] ["lease id"=2231960069d87a78] [2025/04/04 10:49:48.672 +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/04 10:49:48.774 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=80] ["elapsed time"=98.193327ms] [2025/04/04 10:49:48.774 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:48.777 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:48.784 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:48.784 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:48.787 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:48.788 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:48.788 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300313452544/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:48.788 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:48.788 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:48.788 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:48.788 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:48.789 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:48.789 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:48.789 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:48.789 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:48.789 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:48.789 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:48.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:48.789 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:48.789 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [2025/04/04 10:49:48.791 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d87eef] [ownerID=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [op=none] [2025/04/04 10:49:48.791 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:48.791 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [ownerKey=/tidb/ddl/fg/owner/6f18960069d87eef] [currRev=430] [2025/04/04 10:49:48.792 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:48.792 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:48.792 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d87ef1] [ownerID=bd3be5d2-101a-43a8-95f9-2f859c189b37] [op=none] [2025/04/04 10:49:48.792 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [2025/04/04 10:49:48.793 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [ownerKey=/tidb/br-stream/owner/6f18960069d87ef1] [currRev=431] [2025/04/04 10:49:48.793 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:48.794 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d87eef] [ownerID=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [op=none] [2025/04/04 10:49:48.794 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [op=none] [2025/04/04 10:49:48.794 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:48.801 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:48.802 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:48.802 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:48.813 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:48.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:48.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:48.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:48.828 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:48.828 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:48.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:48.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:48.828 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:48.828 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:48.828 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:48.831 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:48.831 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:48.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:48.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:48.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:48.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:48.832 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:48.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:48.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:48.832 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:48.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:48.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:48.833 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:49:48.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:48.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:48.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:48.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:48.834 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069d87a82] [ownerID=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [op=none] [2025/04/04 10:49:48.834 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:48.834 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [ownerKey=/tidb/stats/owner/2231960069d87a82] [currRev=433] [2025/04/04 10:49:48.836 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:48.838 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/965bd482-5a4a-45c0-a452-8263f4eaf43a] [2025/04/04 10:49:48.838 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [ttl-worker=task-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [originalCount=0] [newCount=4] [2025/04/04 10:49:48.838 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [ttl-worker=task-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [originalCount=0] [newCount=4] [2025/04/04 10:49:48.838 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:48.840 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:48.841 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:48.841 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:48.841 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763788841487558 [2025/04/04 10:49:48.847 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:48.856 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.122751ms] [2025/04/04 10:49:48.856 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:48.856 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:48.859 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:49:48.933 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:49:48.936 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=80] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:49:48.952 +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-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:49:48.952 +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-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.957 +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-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.975 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=2.14431ms] [gotSchemaVersion=81] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.980 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=81] [2025/04/04 10:49:48.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=81] ["take time"=10.742774ms] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.993 +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-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.009 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.951911ms] [gotSchemaVersion=82] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:49.012 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=82] [2025/04/04 10:49:49.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=82] ["take time"=9.443287ms] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.023 +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-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.030 +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/04 10:49:49.042 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.181997ms] [gotSchemaVersion=83] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:49.046 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=83] [2025/04/04 10:49:49.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=83] ["take time"=8.150265ms] [job="ID:125, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.058 +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/04 10:49:49.066 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="drop table"] [2025/04/04 10:49:49.067 +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-04 10:49:48.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 10:49:49.089 +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: 1743763789090178091 [2025/04/04 10:49:49.106 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=83] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:49:49.119 +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-04 10:49:49.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, b int, index i(a))"] [2025/04/04 10:49:49.120 +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-04 10:49:49.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:49.125 +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-04 10:49:49.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.130 +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/04 10:49:49.147 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.737095ms] [gotSchemaVersion=84] [phyTblIDs="[126]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:49.150 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=84] [2025/04/04 10:49:49.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=84] ["take time"=9.15069ms] [job="ID:127, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.164 +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-04 10:49:49.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.175 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/04 10:49:49.175 +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/04 10:49:49.803 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:49.803 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:49.803 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:49.803 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:49.839 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:49.839 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:49.839 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/965bd482-5a4a-45c0-a452-8263f4eaf43a] [watcherID=f21f6740-d53d-449d-9ae9-5b2b453d1e2a] [2025/04/04 10:49:49.841 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:49.849 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:49.849 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:49.849 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:49.849 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:50.203 +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-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:50.203 +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-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add column c int"] [2025/04/04 10:49:50.211 +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-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.213 +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-04 10:49:50.182 +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/04 10:49:50.229 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.815082ms] [gotSchemaVersion=85] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 10:49:50.232 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=85] [2025/04/04 10:49:50.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=85] ["take time"=9.319983ms] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.244 +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-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.260 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=2.287083ms] [gotSchemaVersion=86] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 10:49:50.266 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=86] [2025/04/04 10:49:50.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=86] ["take time"=12.450446ms] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.282 +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-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.301 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.97371ms] [gotSchemaVersion=87] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 10:49:50.305 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=87] [2025/04/04 10:49:50.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=87] ["take time"=10.770139ms] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.317 +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-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.322 +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/04 10:49:50.337 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.816846ms] [gotSchemaVersion=88] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 10:49:50.341 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=88] [2025/04/04 10:49:50.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=88] ["take time"=9.103168ms] [job="ID:128, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.353 +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-04 10:49:50.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:49:50.371 +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/04 10:49:50.387 +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-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:50.387 +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-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop column b"] [2025/04/04 10:49:50.393 +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-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.411 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=1.891351ms] [gotSchemaVersion=89] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 10:49:50.414 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=89] [2025/04/04 10:49:50.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=89] ["take time"=9.469202ms] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.426 +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-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.441 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.70735ms] [gotSchemaVersion=90] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 10:49:50.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=90] [2025/04/04 10:49:50.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=90] ["take time"=8.798169ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.454 +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-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.473 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=2.003972ms] [gotSchemaVersion=91] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 10:49:50.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=91] [2025/04/04 10:49:50.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=91] ["take time"=11.252543ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.489 +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-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.507 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.617166ms] [gotSchemaVersion=92] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 10:49:50.510 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=92] [2025/04/04 10:49:50.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=92] ["take time"=9.030431ms] [job="ID:129, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.522 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop column"] [2025/04/04 10:49:50.522 +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-04 10:49:50.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 10:49:50.542 +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/04 10:49:50.544 +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/04 10:49:50.556 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 10:49:50.556 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a tinyint"] [2025/04/04 10:49:50.561 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.579 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.931273ms] [gotSchemaVersion=93] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 10:49:50.583 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=93] [2025/04/04 10:49:50.585 +00:00] [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.312615ms] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.595 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.606 +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/04 10:49:50.613 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.814484ms] [gotSchemaVersion=94] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 10:49:50.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=94] [2025/04/04 10:49:50.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=94] ["take time"=8.975308ms] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.626 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.643 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.830599ms] [gotSchemaVersion=95] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 10:49:50.648 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=95] [2025/04/04 10:49:50.650 +00:00] [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"=10.329247ms] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.659 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.664 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=130] [physicalTableID=126] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/04 10:49:50.678 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=130] [2025/04/04 10:49:50.684 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457117215131435018, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.690 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457117215131435018, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:4,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/04 10:49:50.694 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/04 10:49:50.694 +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/04 10:49:50.695 +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/04 10:49:50.695 +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/04 10:49:50.695 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=130] [2025/04/04 10:49:50.695 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=130] [2025/04/04 10:49:50.695 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=130] [2025/04/04 10:49:50.700 +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.462266ms] [2025/04/04 10:49:50.700 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=130] [2025/04/04 10:49:50.700 +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/04 10:49:50.709 +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/04 10:49:50.709 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457117215131435018, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/04 10:49:50.712 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/04 10:49:50.713 +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/04 10:49:50.713 +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/04 10:49:50.713 +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/04 10:49:50.714 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=130] [2025/04/04 10:49:50.714 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=130] [2025/04/04 10:49:50.714 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=130] [2025/04/04 10:49:50.718 +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.378293ms] [2025/04/04 10:49:50.718 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=130] [2025/04/04 10:49:50.718 +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/04 10:49:50.718 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/04 10:49:50.729 +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/04 10:49:50.745 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.734835ms] [gotSchemaVersion=96] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 10:49:50.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=96] [2025/04/04 10:49: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=96] ["take time"=9.01709ms] [job="ID:130, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457117215131435018, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.760 +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/04 10:49:50.764 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="modify column"] [2025/04/04 10:49:50.765 +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-04 10:49:50.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457117215131435018, Version: v2, UniqueWarnings:0"] [2025/04/04 10:49:50.788 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/04 10:49:50.788 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:50.789 +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/04 10:49:50.794 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:49:50.182 +0000 UTC"] [2025/04/04 10:49:50.805 +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-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:49:50.182000'"] [2025/04/04 10:49:50.805 +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-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:50.811 +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-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.816 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/04 10:49:50.823 +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-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.897 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=600ms] [requiredStaleness=700ms] [prevState=normal] [newState=adapting] [2025/04/04 10:49:50.930 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=125.573Β΅s] [gotSchemaVersion=97] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:49:50.933 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=97] [2025/04/04 10:49:50.935 +00:00] [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"=6.864255ms] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.944 +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-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.975 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:50.979 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:50.981 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.719434ms] ["completed regions"=1] [2025/04/04 10:49:50.981 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:50.985 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:50.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.299746ms] ["completed regions"=1] [2025/04/04 10:49:50.986 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:50.990 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:50.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.496199ms] ["completed regions"=1] [2025/04/04 10:49:50.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:50.995 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:50.996 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.399836ms] ["completed regions"=1] [2025/04/04 10:49:50.996 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:50.999 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:51.000 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.044467ms] ["completed regions"=1] [2025/04/04 10:49:51.001 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:51.004 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:51.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.968092ms] ["completed regions"=1] [2025/04/04 10:49:51.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:51.008 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:51.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.683358ms] ["completed regions"=1] [2025/04/04 10:49:51.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:51.012 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:51.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.681805ms] ["completed regions"=1] [2025/04/04 10:49:51.013 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:51.016 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:51.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.93418ms] ["completed regions"=1] [2025/04/04 10:49:51.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:51.020 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:51.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.467943ms] ["completed regions"=1] [2025/04/04 10:49:51.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:51.024 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:51.025 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.642214ms] ["completed regions"=1] [2025/04/04 10:49:51.025 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:51.028 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:51.029 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.990346ms] ["completed regions"=1] [2025/04/04 10:49:51.030 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:51.032 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:51.033 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.450681ms] ["completed regions"=1] [2025/04/04 10:49:51.033 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:51.036 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:51.037 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.30892ms] ["completed regions"=1] [2025/04/04 10:49:51.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:51.040 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:51.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.288642ms] ["completed regions"=1] [2025/04/04 10:49:51.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:51.043 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:51.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.572357ms] ["completed regions"=1] [2025/04/04 10:49:51.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:51.047 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:51.049 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.566809ms] ["completed regions"=1] [2025/04/04 10:49:51.049 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:51.051 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:51.052 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.16221ms] ["completed regions"=1] [2025/04/04 10:49:51.052 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:51.055 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:51.056 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.253504ms] ["completed regions"=1] [2025/04/04 10:49:51.056 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:51.058 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:51.059 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.133983ms] ["completed regions"=1] [2025/04/04 10:49:51.059 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:51.062 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:51.063 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.136551ms] ["completed regions"=1] [2025/04/04 10:49:51.063 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:51.065 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:51.066 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.264087ms] ["completed regions"=1] [2025/04/04 10:49:51.066 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:51.069 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:51.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.001205ms] ["completed regions"=1] [2025/04/04 10:49:51.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:51.072 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:51.073 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.904284ms] ["completed regions"=1] [2025/04/04 10:49:51.073 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:51.075 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:51.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.833509ms] ["completed regions"=1] [2025/04/04 10:49:51.076 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:51.078 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:51.079 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.782913ms] ["completed regions"=1] [2025/04/04 10:49:51.079 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:51.081 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:51.082 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.75867ms] ["completed regions"=1] [2025/04/04 10:49:51.082 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:51.085 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:51.086 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.292057ms] ["completed regions"=1] [2025/04/04 10:49:51.086 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:51.088 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:51.089 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.748607ms] ["completed regions"=1] [2025/04/04 10:49:51.089 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:51.091 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:51.092 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.620619ms] ["completed regions"=1] [2025/04/04 10:49:51.092 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:51.094 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:51.095 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.546624ms] ["completed regions"=1] [2025/04/04 10:49:51.095 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:51.097 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:51.098 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.555811ms] ["completed regions"=1] [2025/04/04 10:49:51.098 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:51.100 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:51.101 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.343528ms] ["completed regions"=1] [2025/04/04 10:49:51.101 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:51.102 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:51.103 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.452751ms] ["completed regions"=1] [2025/04/04 10:49:51.104 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:51.105 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:51.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.216122ms] ["completed regions"=1] [2025/04/04 10:49:51.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:51.108 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:51.109 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.164197ms] ["completed regions"=1] [2025/04/04 10:49:51.109 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:51.110 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:51.111 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.017233ms] ["completed regions"=1] [2025/04/04 10:49:51.111 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:51.112 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:51.113 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.035749ms] ["completed regions"=1] [2025/04/04 10:49:51.113 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:51.115 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:51.116 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.005011ms] ["completed regions"=1] [2025/04/04 10:49:51.116 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:51.117 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:51.118 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.945425ms] ["completed regions"=1] [2025/04/04 10:49:51.118 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:51.119 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:51.120 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.824337ms] ["completed regions"=1] [2025/04/04 10:49:51.120 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:51.122 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:51.123 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.560253ms] ["completed regions"=1] [2025/04/04 10:49:51.123 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:51.124 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:51.125 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:51.126 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:51.128 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.425036ms] ["completed regions"=3] [2025/04/04 10:49:51.134 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/04 10:49:51.141 +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-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.142 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:51.145 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:51.147 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:49:51.147 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.973359ms] ["completed regions"=1] [2025/04/04 10:49:51.147 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:51.150 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:51.152 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:49:51.152 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.461247ms] ["completed regions"=1] [2025/04/04 10:49:51.152 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:51.155 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:51.156 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:49:51.156 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.914351ms] ["completed regions"=1] [2025/04/04 10:49:51.156 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:51.159 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:51.160 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:49:51.160 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.246579ms] ["completed regions"=1] [2025/04/04 10:49:51.161 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:51.164 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:51.165 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:49:51.165 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.926154ms] ["completed regions"=1] [2025/04/04 10:49:51.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:51.168 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:51.169 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:49:51.169 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.88956ms] ["completed regions"=1] [2025/04/04 10:49:51.169 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:51.172 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:51.173 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:49:51.173 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.817027ms] ["completed regions"=1] [2025/04/04 10:49:51.173 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:51.176 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:51.177 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:49:51.177 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.792073ms] ["completed regions"=1] [2025/04/04 10:49:51.177 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:51.180 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:51.182 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:49:51.182 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.584145ms] ["completed regions"=1] [2025/04/04 10:49:51.182 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:51.186 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:51.187 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:49:51.187 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.394688ms] ["completed regions"=1] [2025/04/04 10:49:51.187 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:51.190 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:51.191 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:49:51.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.028717ms] ["completed regions"=1] [2025/04/04 10:49:51.192 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:51.195 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:51.198 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:49:51.198 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=6.321437ms] ["completed regions"=1] [2025/04/04 10:49:51.198 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:51.201 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:51.203 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:49:51.203 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.968827ms] ["completed regions"=1] [2025/04/04 10:49:51.203 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:51.206 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:51.207 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:49:51.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.062309ms] ["completed regions"=1] [2025/04/04 10:49:51.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:51.210 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:51.211 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:49:51.211 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.36592ms] ["completed regions"=1] [2025/04/04 10:49:51.211 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:51.214 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:51.215 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:49:51.215 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.437616ms] ["completed regions"=1] [2025/04/04 10:49:51.215 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:51.217 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:51.218 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:49:51.218 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.391591ms] ["completed regions"=1] [2025/04/04 10:49:51.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:51.221 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:51.222 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:49:51.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.320715ms] ["completed regions"=1] [2025/04/04 10:49:51.222 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:51.224 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:51.225 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:49:51.226 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.20086ms] ["completed regions"=1] [2025/04/04 10:49:51.226 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:51.228 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:51.229 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:49:51.229 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.110026ms] ["completed regions"=1] [2025/04/04 10:49:51.229 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:51.231 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:51.232 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:49:51.232 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.052617ms] ["completed regions"=1] [2025/04/04 10:49:51.232 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:51.235 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:51.236 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:49:51.236 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.999144ms] ["completed regions"=1] [2025/04/04 10:49:51.236 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:51.238 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:51.239 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:49:51.239 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.97601ms] ["completed regions"=1] [2025/04/04 10:49:51.239 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:51.241 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:51.242 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:49:51.242 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.110254ms] ["completed regions"=1] [2025/04/04 10:49:51.242 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:51.244 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:51.246 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:49:51.246 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.876628ms] ["completed regions"=1] [2025/04/04 10:49:51.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:51.248 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:51.249 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:49:51.249 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.915152ms] ["completed regions"=1] [2025/04/04 10:49:51.249 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:51.251 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:51.252 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:49:51.252 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.759996ms] ["completed regions"=1] [2025/04/04 10:49:51.252 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:51.254 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:51.255 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:49:51.255 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.581507ms] ["completed regions"=1] [2025/04/04 10:49:51.255 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:51.257 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:51.258 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:49:51.258 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.738024ms] ["completed regions"=1] [2025/04/04 10:49:51.258 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:51.260 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:51.261 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:49:51.261 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.691691ms] ["completed regions"=1] [2025/04/04 10:49:51.261 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:51.263 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:51.264 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:49:51.264 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.45982ms] ["completed regions"=1] [2025/04/04 10:49:51.264 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:51.265 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:51.266 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:49:51.267 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.436778ms] ["completed regions"=1] [2025/04/04 10:49:51.267 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:51.268 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:51.269 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:49:51.269 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.350725ms] ["completed regions"=1] [2025/04/04 10:49:51.269 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:51.271 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:51.272 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:49:51.272 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.270034ms] ["completed regions"=1] [2025/04/04 10:49:51.272 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:51.273 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:51.274 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:49:51.274 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.295159ms] ["completed regions"=1] [2025/04/04 10:49:51.275 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:51.276 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:51.277 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:49:51.277 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.280407ms] ["completed regions"=1] [2025/04/04 10:49:51.277 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:51.278 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:51.279 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:49:51.280 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.119556ms] ["completed regions"=1] [2025/04/04 10:49:51.280 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:51.281 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:51.282 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:49:51.282 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.07112ms] ["completed regions"=1] [2025/04/04 10:49:51.282 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:51.283 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:51.284 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:49:51.284 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.087849ms] ["completed regions"=1] [2025/04/04 10:49:51.284 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:51.286 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:51.287 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:49:51.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.348033ms] ["completed regions"=1] [2025/04/04 10:49:51.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:51.289 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:51.291 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:49:51.291 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=3.158318ms] ["completed regions"=1] [2025/04/04 10:49:51.291 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:51.292 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:51.294 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:49:51.294 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.453922ms] ["completed regions"=1] [2025/04/04 10:49:51.294 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:51.295 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:51.296 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:51.298 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:51.300 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:49:51.300 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.924099ms] ["completed regions"=3] [2025/04/04 10:49:51.300 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:49:51.316 +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/04 10:49:51.413 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=97.45029ms] [2025/04/04 10:49:51.414 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:51.418 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=98] [2025/04/04 10:49: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=98] ["take time"=106.278263ms] [job="ID:131, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.492 +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-04 10:49:50.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.505 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 10:49:51.505 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 8\n# Query_time: 0.712015592\n# Parse_time: 0.00007299\n# Compile_time: 0.000257221\n# Rewrite_time: 0.000002761\n# Optimize_time: 0.00003805\n# Wait_TS: 0.000413386\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-04 10:49:50.182000';"] [2025/04/04 10:49:51.507 +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/04 10:49:51.526 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:51.526 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:51.526 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [] [2025/04/04 10:49:51.526 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.526 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:51.527 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp add index"] ["take time"=61.82Β΅s] [2025/04/04 10:49:51.527 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:51.527 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=55.229Β΅s] [2025/04/04 10:49:51.527 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=39.834Β΅s] [2025/04/04 10:49:51.527 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=31.386Β΅s] [2025/04/04 10:49:51.527 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=31.437Β΅s] [2025/04/04 10:49:51.527 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=25.56Β΅s] [2025/04/04 10:49:51.527 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.527 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.528 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:51.528 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:51.531 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b96f5df8-c817-4a0d-94ec-5da94fba36d0] ["take time"=5.108921ms] [2025/04/04 10:49:51.531 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.531 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:51.531 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/965bd482-5a4a-45c0-a452-8263f4eaf43a] [watcherID=f21f6740-d53d-449d-9ae9-5b2b453d1e2a] [2025/04/04 10:49:51.531 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:51.532 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/965bd482-5a4a-45c0-a452-8263f4eaf43a] [2025/04/04 10:49:51.532 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [ttl-worker=task-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [originalCount=4] [newCount=0] [2025/04/04 10:49:51.532 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:51.532 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:51.532 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:51.532 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:51.532 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [ttl-worker=task-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [originalCount=4] [newCount=0] [2025/04/04 10:49:51.534 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:51.534 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:51.534 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:51.535 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:51.537 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.537 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=611] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:51.539 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:51.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:51.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:51.538 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:51.539 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [2025/04/04 10:49:51.539 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:51.539 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:51.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:51.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:51.538 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:51.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:51.538 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:51.538 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:51.539 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.539 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.540 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:51.540 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.540 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:51.540 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:51.540 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.540 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:51.540 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:51.541 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=bd3be5d2-101a-43a8-95f9-2f859c189b37] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:51.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:51.541 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:51.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:51.541 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:51.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:51.542 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [error="context canceled"] [2025/04/04 10:49:51.542 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:51.542 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:51.542 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:51.543 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:51.543 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:51.545 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [error="context canceled"] [2025/04/04 10:49:51.545 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [2025/04/04 10:49:51.545 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [error="context canceled"] [2025/04/04 10:49:51.545 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=b96f5df8-c817-4a0d-94ec-5da94fba36d0] [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/04 10:49:51.564 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:51.564 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:51.608 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:51.608 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:51.619 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=92.923752ms] [2025/04/04 10:49:51.622 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:51.622 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:51.622 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:51.622 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:51.622 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:51.622 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:51.622 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:51.622 +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/04 10:49:51.622 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:51.622 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:51.622 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:51.622 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:51.624 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropModifyColumn (3.03s) === NAME === RUN TestFlashbackBasicRenameDropCreateTable [2025/04/04 10:49:51.633 +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/04 10:49:51.633 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:51.634 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:51.635 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:51.635 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:51.635 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:51.635 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:51.635 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:51.635 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:51.636 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:51.636 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:51.639 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:51.645 +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/04 10:49:51.645 +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/04 10:49:51.646 +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/04 10:49:51.660 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:51.670 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:51.711 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=947] ["lease id"=6f18960069d87f23] [2025/04/04 10:49:51.713 +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/04 10:49:51.808 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=98] ["elapsed time"=92.924589ms] [2025/04/04 10:49:51.808 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:51.811 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:51.817 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:51.817 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:51.819 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:51.820 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:51.820 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300313554944/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:51.820 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:51.820 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:51.820 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:51.820 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:51.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:51.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:51.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:51.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:51.821 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:51.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:51.821 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:51.821 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:51.821 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [2025/04/04 10:49:51.822 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d87f28] [ownerID=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [op=none] [2025/04/04 10:49:51.822 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:51.823 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [ownerKey=/tidb/ddl/fg/owner/6f18960069d87f28] [currRev=502] [2025/04/04 10:49:51.823 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:51.823 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:51.824 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:51.824 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069d87f39] [ownerID=511ccb3c-8d7a-434c-8d99-c29451a4346a] [op=none] [2025/04/04 10:49:51.824 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [2025/04/04 10:49:51.824 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [ownerKey=/tidb/br-stream/owner/3eaa960069d87f39] [currRev=503] [2025/04/04 10:49:51.825 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d87f28] [ownerID=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [op=none] [2025/04/04 10:49:51.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=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [op=none] [2025/04/04 10:49:51.825 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:51.829 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:51.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:51.830 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:51.839 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:51.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:51.851 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:51.851 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:51.851 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:51.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:51.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:51.852 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:51.852 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:51.852 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:51.852 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:51.853 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:51.853 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:51.854 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:51.854 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:51.854 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:51.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:51.856 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:51.856 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069d87f30] [ownerID=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [op=none] [2025/04/04 10:49:51.856 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:51.856 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [ownerKey=/tidb/stats/owner/6f18960069d87f30] [currRev=505] [2025/04/04 10:49:51.858 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/3deda810-530f-45f7-bfd6-8ad8463eda36] [2025/04/04 10:49:51.859 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [ttl-worker=task-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [originalCount=0] [newCount=4] [2025/04/04 10:49:51.859 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [ttl-worker=task-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [originalCount=0] [newCount=4] [2025/04/04 10:49:51.859 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:51.859 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:51.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:51.860 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:51.860 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763791860400226 [2025/04/04 10:49:51.864 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:51.872 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.774807ms] [2025/04/04 10:49:51.872 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:51.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:51.880 +00:00] [INFO] [set.go:172] ["set global var"] [conn=9] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:49:51.883 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=98] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:49:51.895 +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-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:51.895 +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-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:49:51.901 +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-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.917 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=2.115311ms] [gotSchemaVersion=99] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:51.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=99] [2025/04/04 10:49:51.922 +00:00] [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.646642ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.932 +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-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.948 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.152369ms] [gotSchemaVersion=100] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:51.952 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=100] [2025/04/04 10:49:51.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=100] ["take time"=9.310124ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.962 +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-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.968 +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/04 10:49:51.982 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.019284ms] [gotSchemaVersion=101] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:51.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=101] [2025/04/04 10:49:51.987 +00:00] [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.774864ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.995 +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/04 10:49:52.002 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/04 10:49:52.003 +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-04 10:49:51.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.022 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 10:49:52.023 +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: 1743763792023489038 [2025/04/04 10:49:52.036 +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/04 10:49:52.049 +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-04 10:49:52.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:52.049 +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-04 10:49:52.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 10:49:52.054 +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-04 10:49:52.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.059 +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/04 10:49:52.072 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.474994ms] [gotSchemaVersion=102] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:52.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=102] [2025/04/04 10:49:52.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=102] ["take time"=8.458552ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:52.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.088 +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-04 10:49:52.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.098 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 10:49:52.098 +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/04 10:49:52.117 +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-04 10:49:52.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:52.116 +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-04 10:49:52.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, index i(a))"] [2025/04/04 10:49:52.122 +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-04 10:49:52.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.127 +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/04 10:49:52.140 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.463331ms] [gotSchemaVersion=103] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:52.143 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=103] [2025/04/04 10:49:52.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=103] ["take time"=8.145374ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:52.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.156 +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-04 10:49:52.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.166 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/04 10:49:52.167 +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/04 10:49:52.830 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:52.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:52.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:52.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:52.859 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:52.859 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:52.859 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/3deda810-530f-45f7-bfd6-8ad8463eda36] [watcherID=51d200ff-a4a1-429f-8b1d-7386a682296d] [2025/04/04 10:49:52.860 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:52.865 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:52.865 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:52.865 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:52.865 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:53.190 +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-04 10:49:53.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:53.190 +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-04 10:49:53.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="rename table t to t3"] [2025/04/04 10:49:53.195 +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-04 10:49:53.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.213 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.506182ms] [gotSchemaVersion=104] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/04 10:49:53.217 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=104] [2025/04/04 10:49:53.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=104] ["take time"=8.349732ms] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.228 +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-04 10:49:53.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.243 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.476148ms] [gotSchemaVersion=105] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/04 10:49:53.246 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=105] [2025/04/04 10:49:53.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=105] ["take time"=8.091732ms] [job="ID:137, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.256 +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-04 10:49:53.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.267 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 10:49:53.267 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=105] [cur_db=test] [sql="rename table t to t3"] [user=] [2025/04/04 10:49:53.278 +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-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:53.278 +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-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t1"] [2025/04/04 10:49:53.284 +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-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.298 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.832419ms] [gotSchemaVersion=106] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:53.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=106] [2025/04/04 10:49:53.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=106] ["take time"=8.558106ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.312 +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-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.330 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.814961ms] [gotSchemaVersion=107] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:53.334 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=107] [2025/04/04 10:49:53.335 +00:00] [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"=11.395643ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.343 +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-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.349 +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/04 10:49:53.362 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.110066ms] [gotSchemaVersion=108] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:53.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=108] [2025/04/04 10:49:53.366 +00:00] [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.685015ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.375 +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/04 10:49:53.380 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/04 10:49:53.381 +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-04 10:49:53.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.397 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/04 10:49:53.397 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=108] [cur_db=test] [sql="drop table t1"] [user=] [2025/04/04 10:49:53.410 +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-04 10:49:53.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:53.410 +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-04 10:49:53.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, index i(a))"] [2025/04/04 10:49:53.415 +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-04 10:49:53.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.419 +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/04 10:49:53.432 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.520129ms] [gotSchemaVersion=109] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:53.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=109] [2025/04/04 10:49:53.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=109] ["take time"=8.339858ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.447 +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-04 10:49:53.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.458 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 10:49:53.458 +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/04 10:49:53.474 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:49:53.132 +0000 UTC"] [2025/04/04 10:49:53.485 +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-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:53.485 +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-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:49:53.132000'"] [2025/04/04 10:49:53.490 +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-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.495 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/04 10:49:53.501 +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-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.573 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=400ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:49:53.606 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=137.498Β΅s] [gotSchemaVersion=110] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:49:53.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=110] [2025/04/04 10:49:53.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=110] ["take time"=7.793497ms] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.620 +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-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.651 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:53.655 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:53.657 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.903876ms] ["completed regions"=1] [2025/04/04 10:49:53.657 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:53.660 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:53.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=3.90537ms] ["completed regions"=1] [2025/04/04 10:49:53.661 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:53.664 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:53.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.084065ms] ["completed regions"=1] [2025/04/04 10:49:53.666 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:53.669 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:53.670 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.080206ms] ["completed regions"=1] [2025/04/04 10:49:53.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:53.674 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:53.675 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.159014ms] ["completed regions"=1] [2025/04/04 10:49:53.675 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:53.678 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:53.679 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.800733ms] ["completed regions"=1] [2025/04/04 10:49:53.679 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:53.682 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:53.683 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.727357ms] ["completed regions"=1] [2025/04/04 10:49:53.683 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:53.686 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:53.687 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.787076ms] ["completed regions"=1] [2025/04/04 10:49:53.687 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:53.690 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:53.691 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.7942ms] ["completed regions"=1] [2025/04/04 10:49:53.691 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:53.694 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:53.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.603249ms] ["completed regions"=1] [2025/04/04 10:49:53.695 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:53.698 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:53.699 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.741213ms] ["completed regions"=1] [2025/04/04 10:49:53.699 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:53.702 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:53.704 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.018487ms] ["completed regions"=1] [2025/04/04 10:49:53.704 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:53.706 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:53.708 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.492477ms] ["completed regions"=1] [2025/04/04 10:49:53.708 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:53.710 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:53.711 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.341856ms] ["completed regions"=1] [2025/04/04 10:49:53.711 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:53.714 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:53.715 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.321687ms] ["completed regions"=1] [2025/04/04 10:49:53.715 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:53.717 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:53.719 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.259113ms] ["completed regions"=1] [2025/04/04 10:49:53.719 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:53.721 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:53.722 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.090508ms] ["completed regions"=1] [2025/04/04 10:49:53.722 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:53.725 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:53.726 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.293566ms] ["completed regions"=1] [2025/04/04 10:49:53.726 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:53.728 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:53.729 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.070194ms] ["completed regions"=1] [2025/04/04 10:49:53.729 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:53.731 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:53.733 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.057518ms] ["completed regions"=1] [2025/04/04 10:49:53.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:53.735 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:53.736 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.911332ms] ["completed regions"=1] [2025/04/04 10:49:53.736 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:53.738 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:53.739 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.844741ms] ["completed regions"=1] [2025/04/04 10:49:53.739 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:53.741 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:53.742 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.761063ms] ["completed regions"=1] [2025/04/04 10:49:53.742 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:53.744 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:53.745 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.770556ms] ["completed regions"=1] [2025/04/04 10:49:53.745 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:53.747 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:53.748 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.619487ms] ["completed regions"=1] [2025/04/04 10:49:53.748 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:53.750 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:53.751 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.887365ms] ["completed regions"=1] [2025/04/04 10:49:53.751 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:53.753 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:53.754 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.663842ms] ["completed regions"=1] [2025/04/04 10:49:53.755 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:53.756 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:53.757 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.562976ms] ["completed regions"=1] [2025/04/04 10:49:53.758 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:53.759 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:53.760 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.565217ms] ["completed regions"=1] [2025/04/04 10:49:53.760 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:53.762 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:53.763 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.333282ms] ["completed regions"=1] [2025/04/04 10:49:53.763 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:53.765 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:53.766 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.284654ms] ["completed regions"=1] [2025/04/04 10:49:53.766 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:53.767 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:53.768 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.299782ms] ["completed regions"=1] [2025/04/04 10:49:53.768 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:53.770 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:53.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.29999ms] ["completed regions"=1] [2025/04/04 10:49:53.771 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:53.773 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:53.774 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.30538ms] ["completed regions"=1] [2025/04/04 10:49:53.774 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:53.775 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:53.776 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.068161ms] ["completed regions"=1] [2025/04/04 10:49:53.776 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:53.778 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:53.779 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.104636ms] ["completed regions"=1] [2025/04/04 10:49:53.779 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:53.780 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:53.781 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.944375ms] ["completed regions"=1] [2025/04/04 10:49:53.781 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:53.782 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:53.783 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.902984ms] ["completed regions"=1] [2025/04/04 10:49:53.783 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:53.784 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:53.785 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.955429ms] ["completed regions"=1] [2025/04/04 10:49:53.785 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:53.787 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:53.788 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.870816ms] ["completed regions"=1] [2025/04/04 10:49:53.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:53.789 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:53.790 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.782834ms] ["completed regions"=1] [2025/04/04 10:49:53.790 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:53.791 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:53.792 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.706981ms] ["completed regions"=1] [2025/04/04 10:49:53.792 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:53.793 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:53.795 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:53.796 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:53.798 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.398517ms] ["completed regions"=3] [2025/04/04 10:49:53.804 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/04 10:49:53.811 +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-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:53.815 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:53.817 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:49:53.817 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.946204ms] ["completed regions"=1] [2025/04/04 10:49:53.818 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:53.821 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:53.821 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:53.822 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:49:53.822 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.651461ms] ["completed regions"=1] [2025/04/04 10:49:53.823 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:53.826 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:53.827 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:49:53.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.34382ms] ["completed regions"=1] [2025/04/04 10:49:53.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:53.830 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:53.832 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:49:53.832 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.356866ms] ["completed regions"=1] [2025/04/04 10:49:53.833 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:53.837 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:53.839 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:49:53.839 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.366762ms] ["completed regions"=1] [2025/04/04 10:49:53.839 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:53.842 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:53.843 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:49:53.843 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.091832ms] ["completed regions"=1] [2025/04/04 10:49:53.843 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:53.846 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:53.848 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:49:53.848 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.963014ms] ["completed regions"=1] [2025/04/04 10:49:53.848 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:53.851 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:53.852 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:49:53.852 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.884435ms] ["completed regions"=1] [2025/04/04 10:49:53.852 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:53.855 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:53.856 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:49:53.856 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.90898ms] ["completed regions"=1] [2025/04/04 10:49:53.857 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:53.859 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:53.860 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:49:53.861 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.665297ms] ["completed regions"=1] [2025/04/04 10:49:53.861 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:53.864 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:53.865 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:49:53.865 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.26817ms] ["completed regions"=1] [2025/04/04 10:49:53.865 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:53.869 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:53.871 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:49:53.871 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.196812ms] ["completed regions"=1] [2025/04/04 10:49:53.871 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:53.875 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:53.876 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:49:53.876 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.936847ms] ["completed regions"=1] [2025/04/04 10:49:53.876 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:53.879 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:53.880 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:49:53.880 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.427503ms] ["completed regions"=1] [2025/04/04 10:49:53.880 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:53.883 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:53.884 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:49:53.884 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.336987ms] ["completed regions"=1] [2025/04/04 10:49:53.884 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:53.886 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:53.888 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:49:53.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.427147ms] ["completed regions"=1] [2025/04/04 10:49:53.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:53.890 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:53.891 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:49:53.892 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.602719ms] ["completed regions"=1] [2025/04/04 10:49:53.892 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:53.894 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:53.895 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:49:53.895 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.250415ms] ["completed regions"=1] [2025/04/04 10:49:53.895 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:53.898 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:53.899 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:49:53.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.974922ms] ["completed regions"=1] [2025/04/04 10:49:53.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:53.901 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:53.902 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:49:53.902 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.088644ms] ["completed regions"=1] [2025/04/04 10:49:53.902 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:53.904 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:53.905 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:49:53.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.945028ms] ["completed regions"=1] [2025/04/04 10:49:53.906 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:53.908 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:53.909 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:49:53.909 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.470916ms] ["completed regions"=1] [2025/04/04 10:49:53.909 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:53.912 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:53.913 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:49:53.913 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.970578ms] ["completed regions"=1] [2025/04/04 10:49:53.913 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:53.915 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:53.916 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:49:53.916 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.808985ms] ["completed regions"=1] [2025/04/04 10:49:53.916 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:53.918 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:53.919 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:49:53.919 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.731074ms] ["completed regions"=1] [2025/04/04 10:49:53.919 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:53.921 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:53.922 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:49:53.922 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.620019ms] ["completed regions"=1] [2025/04/04 10:49:53.922 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:53.924 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:53.925 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:49:53.925 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.991482ms] ["completed regions"=1] [2025/04/04 10:49:53.925 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:53.927 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:53.928 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:49:53.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.699125ms] ["completed regions"=1] [2025/04/04 10:49:53.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:53.930 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:53.931 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:49:53.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.552051ms] ["completed regions"=1] [2025/04/04 10:49:53.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:53.933 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:53.934 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:49:53.934 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.596326ms] ["completed regions"=1] [2025/04/04 10:49:53.934 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:53.936 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:53.937 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:49:53.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.483958ms] ["completed regions"=1] [2025/04/04 10:49:53.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:53.939 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:53.940 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:49:53.940 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.358244ms] ["completed regions"=1] [2025/04/04 10:49:53.940 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:53.941 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:53.942 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:49:53.943 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.388564ms] ["completed regions"=1] [2025/04/04 10:49:53.943 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:53.944 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:53.945 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:49:53.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.333646ms] ["completed regions"=1] [2025/04/04 10:49:53.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:53.947 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:53.948 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:49:53.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.381917ms] ["completed regions"=1] [2025/04/04 10:49:53.948 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:53.949 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:53.950 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:49:53.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.08043ms] ["completed regions"=1] [2025/04/04 10:49:53.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:53.952 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:53.953 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:49:53.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.152401ms] ["completed regions"=1] [2025/04/04 10:49:53.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:53.954 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:53.955 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:49:53.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.064205ms] ["completed regions"=1] [2025/04/04 10:49:53.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:53.957 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:53.958 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:49:53.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.91714ms] ["completed regions"=1] [2025/04/04 10:49:53.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:53.959 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:53.960 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:49:53.960 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.910892ms] ["completed regions"=1] [2025/04/04 10:49:53.960 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:53.961 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:53.962 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:49:53.962 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.921304ms] ["completed regions"=1] [2025/04/04 10:49:53.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:53.963 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:53.964 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:49:53.964 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.036298ms] ["completed regions"=1] [2025/04/04 10:49:53.965 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:53.966 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:53.966 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:53.967 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:53.969 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:49:53.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.756254ms] ["completed regions"=3] [2025/04/04 10:49:53.970 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:49:53.985 +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/04 10:49:54.071 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=85.764939ms] [2025/04/04 10:49:54.071 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:54.074 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=111] [2025/04/04 10:49:54.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=111] ["take time"=93.181786ms] [job="ID:141, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.150 +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-04 10:49:53.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.161 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/04 10:49:54.162 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 10\n# Query_time: 0.688235917\n# Parse_time: 0.000091109\n# Compile_time: 0.00024361\n# Rewrite_time: 0.000003034\n# Optimize_time: 0.000619999\n# Wait_TS: 0.000384784\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-04 10:49:53.132000';"] [2025/04/04 10:49:54.164 +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/04 10:49:54.183 +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/04 10:49:54.203 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:54.203 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:54.203 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [] [2025/04/04 10:49:54.203 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.203 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:54.203 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:54.203 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=49.32Β΅s] [2025/04/04 10:49:54.204 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=42.069Β΅s] [2025/04/04 10:49:54.204 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=37.101Β΅s] [2025/04/04 10:49:54.204 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=36.563Β΅s] [2025/04/04 10:49:54.204 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=35.694Β΅s] [2025/04/04 10:49:54.204 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=35.761Β΅s] [2025/04/04 10:49:54.204 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=117.75Β΅s] [2025/04/04 10:49:54.204 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.204 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.205 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:54.205 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:54.207 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=9184fc5e-fc81-4286-ae23-8e0f2a13c802] ["take time"=4.2338ms] [2025/04/04 10:49:54.207 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.207 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:54.208 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/3deda810-530f-45f7-bfd6-8ad8463eda36] [watcherID=51d200ff-a4a1-429f-8b1d-7386a682296d] [2025/04/04 10:49:54.208 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:54.208 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/3deda810-530f-45f7-bfd6-8ad8463eda36] [2025/04/04 10:49:54.208 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [ttl-worker=task-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [originalCount=4] [newCount=0] [2025/04/04 10:49:54.208 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:54.208 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:54.208 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:54.208 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:54.208 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [ttl-worker=task-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [originalCount=4] [newCount=0] [2025/04/04 10:49:54.210 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:54.210 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:54.210 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:54.210 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:54.212 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.212 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=947] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:54.214 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:54.214 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:54.214 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [2025/04/04 10:49:54.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:54.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:54.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:54.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:54.214 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:54.214 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.213 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:54.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:54.214 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:54.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:54.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:54.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:54.214 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:54.214 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:54.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:54.214 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.214 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:54.215 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:54.215 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:54.215 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:54.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:54.215 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:54.215 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:54.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:54.215 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=511ccb3c-8d7a-434c-8d99-c29451a4346a] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:54.215 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:54.215 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:54.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:54.215 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:54.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:54.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:54.215 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:54.217 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [error="context canceled"] [2025/04/04 10:49:54.217 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [2025/04/04 10:49:54.217 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [error="context canceled"] [2025/04/04 10:49:54.217 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=9184fc5e-fc81-4286-ae23-8e0f2a13c802] [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/04 10:49:54.233 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:54.234 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:54.275 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:54.275 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:54.285 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.067936ms] [2025/04/04 10:49:54.288 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:54.288 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:54.288 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:54.288 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:54.288 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:54.288 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:54.288 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:54.288 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:54.288 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:54.288 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:54.288 +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/04 10:49:54.288 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:54.289 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackBasicRenameDropCreateTable (2.66s) === NAME === RUN TestFlashbackCreateDropTableWithData [2025/04/04 10:49:54.297 +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/04 10:49:54.297 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:54.298 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:54.299 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:54.299 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:54.299 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:54.299 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:54.299 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:54.299 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:54.299 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:54.300 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:54.303 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:54.308 +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/04 10:49:54.308 +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/04 10:49:54.309 +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/04 10:49:54.321 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:54.330 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:54.363 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=561] ["lease id"=6f18960069d87f55] [2025/04/04 10:49:54.365 +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/04 10:49:54.456 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=111] ["elapsed time"=88.453235ms] [2025/04/04 10:49:54.456 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:54.458 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:54.464 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:54.464 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:54.466 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:54.467 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:54.467 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300313665536/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:54.467 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:54.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:54.468 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:54.468 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7fab3637-af06-4104-a13d-482087687724] [2025/04/04 10:49:54.469 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87f66] [ownerID=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [op=none] [2025/04/04 10:49:54.469 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:54.469 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [ownerKey=/tidb/ddl/fg/owner/3eaa960069d87f66] [currRev=564] [2025/04/04 10:49:54.470 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:54.470 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7fab3637-af06-4104-a13d-482087687724] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:54.470 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:54.471 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069d87f68] [ownerID=7fab3637-af06-4104-a13d-482087687724] [op=none] [2025/04/04 10:49:54.471 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7fab3637-af06-4104-a13d-482087687724] [2025/04/04 10:49:54.471 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7fab3637-af06-4104-a13d-482087687724] [ownerKey=/tidb/br-stream/owner/3eaa960069d87f68] [currRev=565] [2025/04/04 10:49:54.471 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d87f66] [ownerID=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [op=none] [2025/04/04 10:49:54.471 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [op=none] [2025/04/04 10:49:54.471 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:54.476 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:54.477 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:54.477 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:54.486 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:54.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:54.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:54.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:54.498 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:54.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:54.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:54.498 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:54.498 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:54.498 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:54.498 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:54.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:54.499 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:54.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:54.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:54.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:54.501 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:54.501 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:54.501 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:54.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:54.502 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:54.503 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069d87f5e] [ownerID=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [op=none] [2025/04/04 10:49:54.503 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:54.503 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [ownerKey=/tidb/stats/owner/6f18960069d87f5e] [currRev=567] [2025/04/04 10:49:54.505 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/064355b0-f146-4328-ac79-8f051a6bf84d] [2025/04/04 10:49:54.505 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [ttl-worker=task-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [originalCount=0] [newCount=4] [2025/04/04 10:49:54.505 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [ttl-worker=task-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [originalCount=0] [newCount=4] [2025/04/04 10:49:54.506 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:54.506 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:54.506 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:54.506 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:54.506 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763794506815438 [2025/04/04 10:49:54.512 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:54.518 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.615319ms] [2025/04/04 10:49:54.518 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:54.518 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:54.521 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:49:54.524 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:49:54.525 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:49:54.537 +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-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:54.537 +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-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/04 10:49:54.542 +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-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.558 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=1.804429ms] [gotSchemaVersion=112] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.562 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=112] [2025/04/04 10:49:54.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=112] ["take time"=9.425898ms] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.573 +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-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.588 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.793962ms] [gotSchemaVersion=113] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.592 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=113] [2025/04/04 10:49: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=113] ["take time"=8.479897ms] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.601 +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-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.607 +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/04 10:49:54.619 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.036065ms] [gotSchemaVersion=114] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=114] [2025/04/04 10:49:54.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=114] ["take time"=8.145302ms] [job="ID:142, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.633 +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/04 10:49:54.640 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="drop table"] [2025/04/04 10:49:54.641 +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-04 10:49:54.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.659 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/04 10:49:54.669 +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-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:54.669 +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-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/04 10:49:54.674 +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-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.689 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.861891ms] [gotSchemaVersion=115] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.693 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=115] [2025/04/04 10:49:54.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=115] ["take time"=8.372679ms] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.703 +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-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=1.805448ms] [gotSchemaVersion=116] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=116] [2025/04/04 10:49:54.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=116] ["take time"=9.062755ms] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.732 +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-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.737 +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/04 10:49:54.749 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.044886ms] [gotSchemaVersion=117] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.753 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=117] [2025/04/04 10:49:54.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=117] ["take time"=7.612049ms] [job="ID:143, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.763 +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/04 10:49:54.767 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="drop table"] [2025/04/04 10:49:54.768 +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-04 10:49:54.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.786 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/04 10:49:54.786 +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: 1743763794786819923 [2025/04/04 10:49:54.810 +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-04 10:49:54.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:54.810 +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-04 10:49:54.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/04 10:49:54.816 +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-04 10:49:54.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.820 +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/04 10:49:54.834 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.379974ms] [gotSchemaVersion=118] [phyTblIDs="[144]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:54.838 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=145] [version=118] [2025/04/04 10:49:54.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=118] ["take time"=8.333765ms] [job="ID:145, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.849 +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-04 10:49:54.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.859 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=145] [2025/04/04 10:49:54.860 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=118] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/04 10:49:55.477 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:55.477 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:55.477 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:55.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:55.506 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:55.506 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:55.506 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/064355b0-f146-4328-ac79-8f051a6bf84d] [watcherID=875d88c3-2bd9-4910-a55b-afbe709dd0aa] [2025/04/04 10:49:55.506 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:55.512 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:55.512 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:55.512 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:55.512 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:55.883 +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-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:55.883 +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-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 10:49:55.888 +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-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.903 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.652504ms] [gotSchemaVersion=119] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:55.907 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=119] [2025/04/04 10:49:55.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=119] ["take time"=8.227935ms] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.918 +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-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.932 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.629479ms] [gotSchemaVersion=120] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:55.935 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=120] [2025/04/04 10:49:55.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=120] ["take time"=8.440528ms] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.945 +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-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.950 +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/04 10:49:55.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.160025ms] [gotSchemaVersion=121] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:55.968 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=121] [2025/04/04 10:49:55.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=121] ["take time"=9.289227ms] [job="ID:146, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.981 +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/04 10:49:55.986 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="drop table"] [2025/04/04 10:49:55.987 +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-04 10:49:55.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.006 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 10:49:56.006 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=121] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 10:49:56.019 +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-04 10:49:55.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:56.019 +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-04 10:49:55.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(b int)"] [2025/04/04 10:49:56.024 +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-04 10:49:55.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.028 +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/04 10:49:56.042 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.366038ms] [gotSchemaVersion=122] [phyTblIDs="[147]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:56.045 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=122] [2025/04/04 10:49:56.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=122] ["take time"=8.238887ms] [job="ID:148, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:55.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.057 +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-04 10:49:55.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.068 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/04 10:49:56.068 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=122] [cur_db=test] [sql="create table t(b int)"] [user=] [2025/04/04 10:49:56.075 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:49:55.832 +0000 UTC"] [2025/04/04 10:49:56.087 +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-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:56.087 +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-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:49:55.832000'"] [2025/04/04 10:49:56.092 +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-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.097 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/04 10:49:56.105 +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-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.187 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=307ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:49:56.219 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=136.787Β΅s] [gotSchemaVersion=123] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:49:56.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=123] [2025/04/04 10:49:56.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=123] ["take time"=5.539141ms] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.234 +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-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.264 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:56.268 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:56.270 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.058552ms] ["completed regions"=1] [2025/04/04 10:49:56.270 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:56.273 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:56.274 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=3.978069ms] ["completed regions"=1] [2025/04/04 10:49:56.274 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:56.277 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:56.279 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.252137ms] ["completed regions"=1] [2025/04/04 10:49:56.279 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:56.282 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:56.283 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.83848ms] ["completed regions"=1] [2025/04/04 10:49:56.283 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:56.286 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:56.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.777666ms] ["completed regions"=1] [2025/04/04 10:49:56.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:56.290 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:56.291 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.806746ms] ["completed regions"=1] [2025/04/04 10:49:56.291 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:56.294 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:56.295 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.571098ms] ["completed regions"=1] [2025/04/04 10:49:56.295 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:56.298 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:56.299 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.755281ms] ["completed regions"=1] [2025/04/04 10:49:56.299 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:56.302 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:56.304 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.911004ms] ["completed regions"=1] [2025/04/04 10:49:56.304 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:56.306 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:56.308 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.591236ms] ["completed regions"=1] [2025/04/04 10:49:56.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:56.310 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:56.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.652591ms] ["completed regions"=1] [2025/04/04 10:49:56.312 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:56.314 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:56.316 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.983534ms] ["completed regions"=1] [2025/04/04 10:49:56.316 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:56.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:56.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.614623ms] ["completed regions"=1] [2025/04/04 10:49:56.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:56.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:56.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.105418ms] ["completed regions"=1] [2025/04/04 10:49:56.323 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:56.326 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:56.327 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.312561ms] ["completed regions"=1] [2025/04/04 10:49:56.327 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:56.330 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:56.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.202985ms] ["completed regions"=1] [2025/04/04 10:49:56.331 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:56.333 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:56.334 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=2.956422ms] ["completed regions"=1] [2025/04/04 10:49:56.334 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:56.337 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:56.338 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.0809ms] ["completed regions"=1] [2025/04/04 10:49:56.338 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:56.340 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:56.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.019028ms] ["completed regions"=1] [2025/04/04 10:49:56.341 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:56.343 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:56.344 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.994854ms] ["completed regions"=1] [2025/04/04 10:49:56.344 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:56.347 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:56.348 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.005646ms] ["completed regions"=1] [2025/04/04 10:49:56.348 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:56.350 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:56.351 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.902479ms] ["completed regions"=1] [2025/04/04 10:49:56.351 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:56.353 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:56.354 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.76341ms] ["completed regions"=1] [2025/04/04 10:49:56.354 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:56.356 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:56.357 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.860075ms] ["completed regions"=1] [2025/04/04 10:49:56.357 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:56.359 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:56.360 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.748052ms] ["completed regions"=1] [2025/04/04 10:49:56.360 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:56.362 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:56.363 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.693263ms] ["completed regions"=1] [2025/04/04 10:49:56.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:56.365 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:56.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.93862ms] ["completed regions"=1] [2025/04/04 10:49:56.367 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:56.369 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:56.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.512174ms] ["completed regions"=1] [2025/04/04 10:49:56.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:56.371 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:56.372 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.59421ms] ["completed regions"=1] [2025/04/04 10:49:56.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:56.374 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:56.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.373956ms] ["completed regions"=1] [2025/04/04 10:49:56.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:56.377 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:56.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.255011ms] ["completed regions"=1] [2025/04/04 10:49:56.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:56.380 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:56.381 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.357778ms] ["completed regions"=1] [2025/04/04 10:49:56.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:56.382 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:56.383 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.456414ms] ["completed regions"=1] [2025/04/04 10:49:56.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:56.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:56.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.337223ms] ["completed regions"=1] [2025/04/04 10:49:56.386 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:56.388 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:56.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.505131ms] ["completed regions"=1] [2025/04/04 10:49:56.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:56.391 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:56.392 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.13327ms] ["completed regions"=1] [2025/04/04 10:49:56.392 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:56.394 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:56.395 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.506607ms] ["completed regions"=1] [2025/04/04 10:49:56.395 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:56.396 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:56.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.987197ms] ["completed regions"=1] [2025/04/04 10:49:56.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:56.398 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:56.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.048602ms] ["completed regions"=1] [2025/04/04 10:49:56.400 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:56.401 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:56.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.908547ms] ["completed regions"=1] [2025/04/04 10:49:56.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:56.403 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:56.404 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.837396ms] ["completed regions"=1] [2025/04/04 10:49:56.404 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:56.405 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:56.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.678457ms] ["completed regions"=1] [2025/04/04 10:49:56.406 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:56.407 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:56.408 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:56.409 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:56.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.076074ms] ["completed regions"=3] [2025/04/04 10:49:56.416 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/04 10:49:56.423 +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-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.423 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:56.427 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:56.429 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:49:56.430 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.930767ms] ["completed regions"=1] [2025/04/04 10:49:56.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:56.433 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:56.434 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:49:56.434 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.108227ms] ["completed regions"=1] [2025/04/04 10:49:56.434 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:56.437 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:56.438 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:49:56.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.084035ms] ["completed regions"=1] [2025/04/04 10:49:56.438 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:56.442 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:56.443 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:49:56.443 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.990206ms] ["completed regions"=1] [2025/04/04 10:49:56.443 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:56.446 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:56.447 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:49:56.447 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.742835ms] ["completed regions"=1] [2025/04/04 10:49:56.447 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:56.450 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:56.451 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:49:56.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.851034ms] ["completed regions"=1] [2025/04/04 10:49:56.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:56.454 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:56.455 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:49:56.455 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.732669ms] ["completed regions"=1] [2025/04/04 10:49:56.455 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:56.458 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:56.459 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:49:56.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.618741ms] ["completed regions"=1] [2025/04/04 10:49:56.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:56.462 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:56.463 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:49:56.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.813903ms] ["completed regions"=1] [2025/04/04 10:49:56.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:56.466 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:56.467 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:56.467 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:49:56.467 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.562913ms] ["completed regions"=1] [2025/04/04 10:49:56.467 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:56.470 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:56.471 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:49:56.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.806663ms] ["completed regions"=1] [2025/04/04 10:49:56.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:56.474 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:56.476 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:49:56.476 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.517891ms] ["completed regions"=1] [2025/04/04 10:49:56.476 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:56.479 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:56.480 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:49:56.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.427195ms] ["completed regions"=1] [2025/04/04 10:49:56.480 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:56.483 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:56.484 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:49:56.484 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.684875ms] ["completed regions"=1] [2025/04/04 10:49:56.484 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:56.486 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:56.487 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:49:56.488 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.23569ms] ["completed regions"=1] [2025/04/04 10:49:56.488 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:56.490 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:56.491 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:49:56.491 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.436648ms] ["completed regions"=1] [2025/04/04 10:49:56.491 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:56.494 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:56.495 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:49:56.495 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.165088ms] ["completed regions"=1] [2025/04/04 10:49:56.495 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:56.497 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:56.498 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:49:56.498 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.086392ms] ["completed regions"=1] [2025/04/04 10:49:56.498 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:56.501 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:56.502 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:49:56.502 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.019699ms] ["completed regions"=1] [2025/04/04 10:49:56.502 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:56.504 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:56.505 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:49:56.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.120802ms] ["completed regions"=1] [2025/04/04 10:49:56.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:56.508 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:56.509 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:49:56.509 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.35946ms] ["completed regions"=1] [2025/04/04 10:49:56.509 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:56.512 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:56.513 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:49:56.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=4.024917ms] ["completed regions"=1] [2025/04/04 10:49:56.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:56.516 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:56.517 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:49:56.517 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.316363ms] ["completed regions"=1] [2025/04/04 10:49:56.517 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:56.519 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:56.520 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:49:56.521 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.018171ms] ["completed regions"=1] [2025/04/04 10:49:56.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:56.523 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:56.524 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:49:56.524 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.435096ms] ["completed regions"=1] [2025/04/04 10:49:56.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:56.527 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:56.528 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:49:56.528 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.182698ms] ["completed regions"=1] [2025/04/04 10:49:56.528 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:56.530 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:56.531 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:49:56.532 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.068544ms] ["completed regions"=1] [2025/04/04 10:49:56.532 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:56.533 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:56.534 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:49:56.535 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.678474ms] ["completed regions"=1] [2025/04/04 10:49:56.535 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:56.536 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:56.538 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:49:56.538 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.340656ms] ["completed regions"=1] [2025/04/04 10:49:56.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:56.540 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:56.541 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:49:56.541 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.527408ms] ["completed regions"=1] [2025/04/04 10:49:56.541 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:56.543 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:56.544 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:49:56.544 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.729245ms] ["completed regions"=1] [2025/04/04 10:49:56.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:56.546 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:56.547 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:49:56.547 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.312082ms] ["completed regions"=1] [2025/04/04 10:49:56.547 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:56.548 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:56.550 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:49:56.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.466017ms] ["completed regions"=1] [2025/04/04 10:49:56.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:56.551 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:56.552 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:49:56.552 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.300763ms] ["completed regions"=1] [2025/04/04 10:49:56.552 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:56.554 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:56.555 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:49:56.555 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.335018ms] ["completed regions"=1] [2025/04/04 10:49:56.555 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:56.556 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:56.558 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:49:56.558 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.33172ms] ["completed regions"=1] [2025/04/04 10:49:56.558 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:56.559 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:56.560 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:49:56.560 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.194979ms] ["completed regions"=1] [2025/04/04 10:49:56.560 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:56.561 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:56.563 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:49:56.563 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.131841ms] ["completed regions"=1] [2025/04/04 10:49:56.563 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:56.564 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:56.565 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:49:56.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.069719ms] ["completed regions"=1] [2025/04/04 10:49:56.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:56.566 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:56.567 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:49:56.567 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.996212ms] ["completed regions"=1] [2025/04/04 10:49:56.567 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:56.568 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:56.570 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:49:56.570 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.869031ms] ["completed regions"=1] [2025/04/04 10:49:56.570 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:56.571 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:56.572 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:49:56.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.960284ms] ["completed regions"=1] [2025/04/04 10:49:56.572 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:56.573 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:56.574 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:56.575 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:56.577 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:49:56.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.248553ms] ["completed regions"=3] [2025/04/04 10:49:56.578 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:49:56.594 +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/04 10:49:56.687 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=93.969027ms] [2025/04/04 10:49:56.687 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:56.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=124] [2025/04/04 10:49:56.693 +00:00] [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"=102.320214ms] [job="ID:149, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.768 +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-04 10:49:56.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.781 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/04 10:49:56.781 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 12\n# Query_time: 0.707045817\n# Parse_time: 0.000079078\n# Compile_time: 0.00035314\n# Rewrite_time: 0.00000353\n# Optimize_time: 0.000070683\n# Wait_TS: 0.000405886\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-04 10:49:55.832000';"] [2025/04/04 10:49:56.785 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:56.785 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [] [2025/04/04 10:49:56.785 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:56.785 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.785 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:56.785 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:56.786 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=58.479Β΅s] [2025/04/04 10:49:56.786 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=35.188Β΅s] [2025/04/04 10:49:56.786 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=42.242Β΅s] [2025/04/04 10:49:56.786 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=36.508Β΅s] [2025/04/04 10:49:56.786 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=34.683Β΅s] [2025/04/04 10:49:56.786 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=32.488Β΅s] [2025/04/04 10:49:56.786 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.786 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.787 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:56.787 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:56.789 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] ["take time"=4.105343ms] [2025/04/04 10:49:56.789 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.789 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:56.790 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/064355b0-f146-4328-ac79-8f051a6bf84d] [watcherID=875d88c3-2bd9-4910-a55b-afbe709dd0aa] [2025/04/04 10:49:56.790 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:56.790 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/064355b0-f146-4328-ac79-8f051a6bf84d] [2025/04/04 10:49:56.790 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [ttl-worker=task-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [originalCount=4] [newCount=0] [2025/04/04 10:49:56.790 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:56.790 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:56.790 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:56.790 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:56.790 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [ttl-worker=task-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [originalCount=4] [newCount=0] [2025/04/04 10:49:56.792 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:56.792 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:56.793 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:56.793 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:56.795 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=561] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:56.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:56.796 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7fab3637-af06-4104-a13d-482087687724] [] [2025/04/04 10:49:56.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:56.797 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:56.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:56.797 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:56.797 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:56.797 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:56.796 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:56.797 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:56.797 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:56.796 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:56.797 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:56.797 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:56.797 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7fab3637-af06-4104-a13d-482087687724] [2025/04/04 10:49:56.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:56.798 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7fab3637-af06-4104-a13d-482087687724] [2025/04/04 10:49:56.798 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.798 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7fab3637-af06-4104-a13d-482087687724] [2025/04/04 10:49:56.798 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:56.798 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:56.798 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:56.798 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:56.798 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:56.799 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:56.799 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:56.799 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:56.799 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:56.799 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:56.799 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:56.799 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:56.799 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7fab3637-af06-4104-a13d-482087687724] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:56.799 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:56.799 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:56.799 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:56.800 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [error="context canceled"] [2025/04/04 10:49:56.800 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [2025/04/04 10:49:56.800 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [error="context canceled"] [2025/04/04 10:49:56.800 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=1ac703f7-7fe2-4291-a8c8-f56bd1bd5aa6] [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/04 10:49:56.815 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:56.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:56.858 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:56.858 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:56.868 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.050291ms] [2025/04/04 10:49:56.871 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:56.871 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:56.871 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:56.871 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:56.871 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:56.871 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:56.871 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:56.871 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:56.871 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:56.871 +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/04 10:49:56.871 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:56.871 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:56.872 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropTableWithData (2.58s) === NAME === RUN TestFlashbackCreateDropSchema [2025/04/04 10:49:56.880 +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/04 10:49:56.880 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:56.881 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:56.882 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:56.882 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:56.882 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:56.882 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:56.882 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:56.883 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:56.883 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:56.884 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:56.887 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:56.892 +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/04 10:49:56.893 +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/04 10:49:56.894 +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/04 10:49:56.906 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:56.916 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:56.950 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1631] ["lease id"=3eaa960069d87f91] [2025/04/04 10:49:56.952 +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/04 10:49:57.044 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=124] ["elapsed time"=88.85598ms] [2025/04/04 10:49:57.044 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:57.046 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:57.052 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:57.052 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:57.054 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:57.056 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:57.056 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300538732544/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:57.056 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:57.056 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:57.056 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:57.056 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [2025/04/04 10:49:57.058 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d87f89] [ownerID=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [op=none] [2025/04/04 10:49:57.058 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:57.058 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [ownerKey=/tidb/ddl/fg/owner/6f18960069d87f89] [currRev=625] [2025/04/04 10:49:57.059 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:57.059 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:57.060 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:57.060 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069d87b1e] [ownerID=e5edad40-ffef-40f0-872c-00d08c00cc1c] [op=none] [2025/04/04 10:49:57.060 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [2025/04/04 10:49:57.060 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [ownerKey=/tidb/br-stream/owner/2231960069d87b1e] [currRev=626] [2025/04/04 10:49:57.060 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d87f89] [ownerID=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [op=none] [2025/04/04 10:49:57.060 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [op=none] [2025/04/04 10:49:57.060 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:57.065 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:57.066 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:57.066 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:57.076 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:57.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:57.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:57.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:57.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:57.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:57.089 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:57.089 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:57.089 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:57.089 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:57.089 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:57.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:57.090 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:57.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:57.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:57.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:57.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:57.091 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:57.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:57.091 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:57.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:57.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:57.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:57.092 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:49:57.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:57.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:57.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:57.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:57.093 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:57.094 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069d87f9b] [ownerID=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [op=none] [2025/04/04 10:49:57.094 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:57.094 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [ownerKey=/tidb/stats/owner/3eaa960069d87f9b] [currRev=628] [2025/04/04 10:49:57.096 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6449f5cc-4744-4b76-8809-41699192112a] [2025/04/04 10:49:57.097 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [ttl-worker=task-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [originalCount=0] [newCount=4] [2025/04/04 10:49:57.097 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [ttl-worker=task-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [originalCount=0] [newCount=4] [2025/04/04 10:49:57.097 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:57.097 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:57.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:57.097 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:57.097 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763797097847031 [2025/04/04 10:49:57.104 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:57.110 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.144178ms] [2025/04/04 10:49:57.110 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:57.110 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:57.113 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:49:57.133 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:49:57.136 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=124] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:49:57.148 +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-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:57.148 +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-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:49:57.154 +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-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.169 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.632049ms] [gotSchemaVersion=125] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:57.173 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=125] [2025/04/04 10:49:57.175 +00:00] [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.889971ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.184 +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-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.200 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=2.464269ms] [gotSchemaVersion=126] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:57.204 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=126] [2025/04/04 10:49:57.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=126] ["take time"=10.780771ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.214 +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-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.221 +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/04 10:49:57.233 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.088213ms] [gotSchemaVersion=127] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:57.237 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=127] [2025/04/04 10:49:57.238 +00:00] [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.124124ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.247 +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/04 10:49:57.254 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/04 10:49:57.255 +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-04 10:49:57.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.274 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 10:49:57.274 +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: 1743763797274642557 [2025/04/04 10:49:57.287 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:49:57.313 +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-04 10:49:57.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:57.313 +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-04 10:49:57.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index k(a))"] [2025/04/04 10:49:57.321 +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-04 10:49:57.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.327 +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/04 10:49:57.342 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.71261ms] [gotSchemaVersion=128] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:57.346 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=128] [2025/04/04 10:49:57.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=128] ["take time"=9.076933ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:57.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.359 +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-04 10:49:57.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.371 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 10:49:57.371 +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/04 10:49:58.066 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:58.066 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:58.066 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:58.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:58.097 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:58.097 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:58.097 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6449f5cc-4744-4b76-8809-41699192112a] [watcherID=abf3ce90-27dd-42f1-b9ee-d8e2ef07e9bf] [2025/04/04 10:49:58.097 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:58.103 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:58.103 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:58.103 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:58.103 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:58.395 +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-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test"] [2025/04/04 10:49:58.395 +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-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:58.401 +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-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.419 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=160.464Β΅s] [gotSchemaVersion=129] [phyTblIDs="[151]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:58.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=129] [2025/04/04 10:49:58.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=129] ["take time"=7.809233ms] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.434 +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-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.447 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=150.209Β΅s] [gotSchemaVersion=130] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:58.451 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=130] [2025/04/04 10:49:58.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=130] ["take time"=7.291586ms] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.461 +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-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.466 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:49:58.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=144.061Β΅s] [gotSchemaVersion=131] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:58.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=131] [2025/04/04 10:49:58.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=131] ["take time"=7.478808ms] [job="ID:153, Type:drop schema, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.492 +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/04 10:49:58.497 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop schema"] [2025/04/04 10:49:58.498 +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-04 10:49:58.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.515 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/04 10:49:58.515 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=131] [cur_db=] [sql="drop schema test"] [user=] [2025/04/04 10:49:58.527 +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-04 10:49:58.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test1"] [2025/04/04 10:49:58.527 +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-04 10:49:58.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:58.533 +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-04 10:49:58.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.547 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=659.841Β΅s] [gotSchemaVersion=132] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:58.550 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=132] [2025/04/04 10:49:58.552 +00:00] [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.909711ms] [job="ID:155, Type:create schema, State:done, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.563 +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-04 10:49:58.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.572 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 10:49:58.572 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=132] [cur_db=] [sql="create schema test1"] [user=] [2025/04/04 10:49:58.584 +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-04 10:49:58.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:58.584 +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-04 10:49:58.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test2"] [2025/04/04 10:49:58.589 +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-04 10:49:58.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.601 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=635.233Β΅s] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:58.605 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=133] [2025/04/04 10:49:58.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=133] ["take time"=7.459563ms] [job="ID:157, Type:create schema, State:done, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.617 +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-04 10:49:58.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.627 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/04 10:49:58.628 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=133] [cur_db=] [sql="create schema test2"] [user=] [2025/04/04 10:49:58.629 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:49:58.629 +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/04 10:49:58.642 +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-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:58.642 +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-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test2"] [2025/04/04 10:49:58.647 +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-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.660 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=179.998Β΅s] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:58.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=134] [2025/04/04 10:49:58.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=134] ["take time"=7.555686ms] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.676 +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-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.689 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=151.081Β΅s] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:58.692 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=135] [2025/04/04 10:49:58.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=135] ["take time"=7.350966ms] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.702 +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-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.716 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=130.239Β΅s] [gotSchemaVersion=136] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:49:58.719 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=136] [2025/04/04 10:49:58.721 +00:00] [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"=6.81645ms] [job="ID:158, Type:drop schema, State:done, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.729 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop schema"] [2025/04/04 10:49:58.730 +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-04 10:49:58.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.746 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 10:49:58.746 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=136] [cur_db=] [sql="drop schema test2"] [user=] [2025/04/04 10:49:58.747 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:49:58.331 +0000 UTC"] [2025/04/04 10:49:58.759 +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-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:49:58.331000'"] [2025/04/04 10:49:58.759 +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-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:58.764 +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-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.769 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/04 10:49:58.777 +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-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.842 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=501ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:49:58.874 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=127.115Β΅s] [gotSchemaVersion=137] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:49:58.878 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=137] [2025/04/04 10:49:58.880 +00:00] [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.322877ms] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.889 +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-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.890 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=28] ["first split key"=6d44423a3135340000fd0000000000000068] [2025/04/04 10:49:58.892 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=28] ["first at"=6d44423a3135340000fd0000000000000068] ["first new region left"="{Id:380 StartKey: EndKey:6d44423a31353400ff00fd000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:8} Peers:[id:381 store_id:2 id:382 store_id:3 id:383 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2025/04/04 10:49:58.892 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[380]"] [2025/04/04 10:49:58.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:58.925 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=28] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/04 10:49:58.926 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:58.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.234574ms] ["completed regions"=2] [2025/04/04 10:49:58.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:58.932 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:58.933 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.570412ms] ["completed regions"=1] [2025/04/04 10:49:58.933 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:58.936 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:58.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.749895ms] ["completed regions"=1] [2025/04/04 10:49:58.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:58.940 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:58.941 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.911123ms] ["completed regions"=1] [2025/04/04 10:49:58.941 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:58.944 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:58.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.77442ms] ["completed regions"=1] [2025/04/04 10:49:58.946 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:58.949 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:58.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.96417ms] ["completed regions"=1] [2025/04/04 10:49:58.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:58.953 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:58.954 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.594678ms] ["completed regions"=1] [2025/04/04 10:49:58.954 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:58.957 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:58.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.82006ms] ["completed regions"=1] [2025/04/04 10:49:58.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:58.961 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:58.962 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.124129ms] ["completed regions"=1] [2025/04/04 10:49:58.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:58.965 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:58.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.726618ms] ["completed regions"=1] [2025/04/04 10:49:58.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:58.969 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:58.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.427675ms] ["completed regions"=1] [2025/04/04 10:49:58.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:58.973 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:58.975 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.09196ms] ["completed regions"=1] [2025/04/04 10:49:58.975 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:58.978 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:58.979 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.508298ms] ["completed regions"=1] [2025/04/04 10:49:58.979 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:58.981 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:58.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.248352ms] ["completed regions"=1] [2025/04/04 10:49:58.982 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:58.985 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:58.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.311352ms] ["completed regions"=1] [2025/04/04 10:49:58.986 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:58.988 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:58.989 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.048204ms] ["completed regions"=1] [2025/04/04 10:49:58.989 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:58.992 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:58.993 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.465804ms] ["completed regions"=1] [2025/04/04 10:49:58.993 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:58.996 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:58.997 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.458746ms] ["completed regions"=1] [2025/04/04 10:49:58.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:58.999 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:59.000 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.964405ms] ["completed regions"=1] [2025/04/04 10:49:59.000 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:59.003 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:59.004 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.054471ms] ["completed regions"=1] [2025/04/04 10:49:59.004 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:59.006 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:59.007 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.061576ms] ["completed regions"=1] [2025/04/04 10:49:59.007 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:59.010 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:59.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=4.105176ms] ["completed regions"=1] [2025/04/04 10:49:59.012 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:59.014 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:59.015 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.861492ms] ["completed regions"=1] [2025/04/04 10:49:59.015 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:59.017 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:59.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.845435ms] ["completed regions"=1] [2025/04/04 10:49:59.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:59.020 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:59.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.759798ms] ["completed regions"=1] [2025/04/04 10:49:59.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:59.023 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:59.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.594756ms] ["completed regions"=1] [2025/04/04 10:49:59.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:59.026 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:59.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.58371ms] ["completed regions"=1] [2025/04/04 10:49:59.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:59.029 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:59.030 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.541428ms] ["completed regions"=1] [2025/04/04 10:49:59.030 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:59.032 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:59.033 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.609674ms] ["completed regions"=1] [2025/04/04 10:49:59.033 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:59.035 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:59.036 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.040906ms] ["completed regions"=1] [2025/04/04 10:49:59.036 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:59.038 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:59.039 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.344379ms] ["completed regions"=1] [2025/04/04 10:49:59.039 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:59.041 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:59.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.244378ms] ["completed regions"=1] [2025/04/04 10:49:59.042 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:59.043 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:59.044 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.204914ms] ["completed regions"=1] [2025/04/04 10:49:59.044 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:59.046 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:59.047 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.278157ms] ["completed regions"=1] [2025/04/04 10:49:59.047 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:59.048 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:59.049 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.249185ms] ["completed regions"=1] [2025/04/04 10:49:59.049 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:59.051 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:59.052 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.071354ms] ["completed regions"=1] [2025/04/04 10:49:59.052 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:59.053 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:59.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.956698ms] ["completed regions"=1] [2025/04/04 10:49:59.054 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:59.055 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:59.056 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:59.056 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.927105ms] ["completed regions"=1] [2025/04/04 10:49:59.057 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:59.058 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:59.059 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.098128ms] ["completed regions"=1] [2025/04/04 10:49:59.059 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:59.060 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:59.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.093371ms] ["completed regions"=1] [2025/04/04 10:49:59.062 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:59.063 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:59.064 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.785479ms] ["completed regions"=1] [2025/04/04 10:49:59.064 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:59.065 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:59.066 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.718771ms] ["completed regions"=1] [2025/04/04 10:49:59.066 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:59.067 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:59.068 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:59.069 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:59.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.798846ms] ["completed regions"=3] [2025/04/04 10:49:59.076 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/04 10:49:59.082 +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-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.083 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:49:59.086 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=28] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/04 10:49:59.087 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:49:59.089 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=46] [] [2025/04/04 10:49:59.089 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.534958ms] ["completed regions"=2] [2025/04/04 10:49:59.089 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:49:59.093 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:49:59.095 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=46] [] [2025/04/04 10:49:59.095 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.204904ms] ["completed regions"=1] [2025/04/04 10:49:59.095 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:49:59.098 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:49:59.099 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=46] [] [2025/04/04 10:49:59.099 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.001024ms] ["completed regions"=1] [2025/04/04 10:49:59.099 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:49:59.103 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:49:59.104 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=46] [] [2025/04/04 10:49:59.104 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.34081ms] ["completed regions"=1] [2025/04/04 10:49:59.104 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:49:59.108 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:49:59.109 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=46] [] [2025/04/04 10:49:59.109 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.635426ms] ["completed regions"=1] [2025/04/04 10:49:59.109 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:49:59.112 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:49:59.113 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=46] [] [2025/04/04 10:49:59.113 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.075769ms] ["completed regions"=1] [2025/04/04 10:49:59.114 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:49:59.116 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:49:59.118 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=46] [] [2025/04/04 10:49:59.118 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.85555ms] ["completed regions"=1] [2025/04/04 10:49:59.118 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:49:59.121 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:49:59.122 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=46] [] [2025/04/04 10:49:59.122 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.893865ms] ["completed regions"=1] [2025/04/04 10:49:59.122 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:49:59.125 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:49:59.126 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=46] [] [2025/04/04 10:49:59.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.768642ms] ["completed regions"=1] [2025/04/04 10:49:59.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:49:59.129 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:49:59.130 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=46] [] [2025/04/04 10:49:59.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.568547ms] ["completed regions"=1] [2025/04/04 10:49:59.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:49:59.133 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:49:59.134 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=46] [] [2025/04/04 10:49:59.134 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.677097ms] ["completed regions"=1] [2025/04/04 10:49:59.134 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:49:59.137 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:49:59.139 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=46] [] [2025/04/04 10:49:59.139 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.443887ms] ["completed regions"=1] [2025/04/04 10:49:59.139 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:49:59.142 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:49:59.143 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=46] [] [2025/04/04 10:49:59.143 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.485051ms] ["completed regions"=1] [2025/04/04 10:49:59.143 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:49:59.146 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:49:59.147 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=46] [] [2025/04/04 10:49:59.147 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.514771ms] ["completed regions"=1] [2025/04/04 10:49:59.147 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:49:59.149 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:49:59.150 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=46] [] [2025/04/04 10:49:59.150 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.438876ms] ["completed regions"=1] [2025/04/04 10:49:59.150 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:49:59.153 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:49:59.154 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=46] [] [2025/04/04 10:49:59.154 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.253503ms] ["completed regions"=1] [2025/04/04 10:49:59.154 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:49:59.157 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:49:59.158 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=46] [] [2025/04/04 10:49:59.158 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.330496ms] ["completed regions"=1] [2025/04/04 10:49:59.158 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:49:59.160 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:49:59.162 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=46] [] [2025/04/04 10:49:59.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.429018ms] ["completed regions"=1] [2025/04/04 10:49:59.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:49:59.164 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:49:59.165 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=46] [] [2025/04/04 10:49:59.165 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.150762ms] ["completed regions"=1] [2025/04/04 10:49:59.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:49:59.168 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:49:59.169 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=46] [] [2025/04/04 10:49:59.169 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.207673ms] ["completed regions"=1] [2025/04/04 10:49:59.169 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:49:59.171 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:49:59.172 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=46] [] [2025/04/04 10:49:59.173 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.333368ms] ["completed regions"=1] [2025/04/04 10:49:59.173 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:49:59.175 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:49:59.176 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=46] [] [2025/04/04 10:49:59.176 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.367377ms] ["completed regions"=1] [2025/04/04 10:49:59.176 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:49:59.179 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:49:59.180 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=46] [] [2025/04/04 10:49:59.180 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.94808ms] ["completed regions"=1] [2025/04/04 10:49:59.180 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:49:59.182 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:49:59.183 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=46] [] [2025/04/04 10:49:59.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.913432ms] ["completed regions"=1] [2025/04/04 10:49:59.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:49:59.185 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:49:59.186 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=46] [] [2025/04/04 10:49:59.186 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.840704ms] ["completed regions"=1] [2025/04/04 10:49:59.186 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:49:59.188 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:49:59.189 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=46] [] [2025/04/04 10:49:59.190 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.777274ms] ["completed regions"=1] [2025/04/04 10:49:59.190 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:49:59.191 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:49:59.192 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=46] [] [2025/04/04 10:49:59.193 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.656005ms] ["completed regions"=1] [2025/04/04 10:49:59.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:49:59.194 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:49:59.196 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=46] [] [2025/04/04 10:49:59.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.780074ms] ["completed regions"=1] [2025/04/04 10:49:59.196 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:49:59.197 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:49:59.198 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=46] [] [2025/04/04 10:49:59.199 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.607674ms] ["completed regions"=1] [2025/04/04 10:49:59.199 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:49:59.200 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:49:59.201 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=46] [] [2025/04/04 10:49:59.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.526727ms] ["completed regions"=1] [2025/04/04 10:49:59.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:49:59.203 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:49:59.204 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=46] [] [2025/04/04 10:49:59.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.623636ms] ["completed regions"=1] [2025/04/04 10:49:59.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:49:59.206 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:49:59.207 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=46] [] [2025/04/04 10:49:59.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.434325ms] ["completed regions"=1] [2025/04/04 10:49:59.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:49:59.209 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:49:59.210 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=46] [] [2025/04/04 10:49:59.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.520911ms] ["completed regions"=1] [2025/04/04 10:49:59.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:49:59.212 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:49:59.213 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=46] [] [2025/04/04 10:49:59.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.682285ms] ["completed regions"=1] [2025/04/04 10:49:59.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:49:59.215 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:49:59.216 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=46] [] [2025/04/04 10:49:59.216 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.398555ms] ["completed regions"=1] [2025/04/04 10:49:59.216 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:49:59.218 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:49:59.219 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=46] [] [2025/04/04 10:49:59.219 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.169603ms] ["completed regions"=1] [2025/04/04 10:49:59.219 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:49:59.221 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:49:59.222 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=46] [] [2025/04/04 10:49:59.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.365281ms] ["completed regions"=1] [2025/04/04 10:49:59.222 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:49:59.223 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:49:59.224 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=46] [] [2025/04/04 10:49:59.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.142177ms] ["completed regions"=1] [2025/04/04 10:49:59.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:49:59.226 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:49:59.227 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=46] [] [2025/04/04 10:49:59.227 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.15781ms] ["completed regions"=1] [2025/04/04 10:49:59.227 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:49:59.228 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:49:59.229 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=46] [] [2025/04/04 10:49:59.229 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.026627ms] ["completed regions"=1] [2025/04/04 10:49:59.229 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:49:59.230 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:49:59.231 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=46] [] [2025/04/04 10:49:59.232 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.042531ms] ["completed regions"=1] [2025/04/04 10:49:59.232 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:49:59.233 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:49:59.234 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=46] [] [2025/04/04 10:49:59.234 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.912733ms] ["completed regions"=1] [2025/04/04 10:49:59.234 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:49:59.235 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:49:59.236 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:49:59.237 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:49:59.238 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=46] ["total regions"=46] [] [2025/04/04 10:49:59.238 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.807286ms] ["completed regions"=3] [2025/04/04 10:49:59.238 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:49:59.253 +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/04 10:49:59.336 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=83.292028ms] [2025/04/04 10:49:59.336 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:59.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=138] [2025/04/04 10:49:59.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=138] ["take time"=90.886369ms] [job="ID:159, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.420 +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-04 10:49:58.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.433 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/04 10:49:59.433 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 14\n# Query_time: 0.686950548\n# Parse_time: 0.000070452\n# Compile_time: 0.000245983\n# Rewrite_time: 0.000003465\n# Optimize_time: 0.000098378\n# Wait_TS: 0.000515342\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-04 10:49:58.331000';"] [2025/04/04 10:49:59.435 +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/04 10:49:59.453 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:49:59.453 +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/04 10:49:59.454 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:49:59.454 +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/04 10:49:59.455 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:59.455 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:59.455 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [] [2025/04/04 10:49:59.455 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.455 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:59.455 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:59.455 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=45.791Β΅s] [2025/04/04 10:49:59.455 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=58.85Β΅s] [2025/04/04 10:49:59.455 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=53.869Β΅s] [2025/04/04 10:49:59.455 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=51.632Β΅s] [2025/04/04 10:49:59.455 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=43.049Β΅s] [2025/04/04 10:49:59.455 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=39.395Β΅s] [2025/04/04 10:49:59.455 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=28.218Β΅s] [2025/04/04 10:49:59.456 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.456 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.457 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:59.457 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:59.460 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] ["take time"=5.714605ms] [2025/04/04 10:49:59.460 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.460 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:59.460 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6449f5cc-4744-4b76-8809-41699192112a] [watcherID=abf3ce90-27dd-42f1-b9ee-d8e2ef07e9bf] [2025/04/04 10:49:59.460 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:49:59.461 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6449f5cc-4744-4b76-8809-41699192112a] [2025/04/04 10:49:59.461 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [ttl-worker=task-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [originalCount=4] [newCount=0] [2025/04/04 10:49:59.461 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:59.461 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:59.461 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:59.461 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:59.461 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [ttl-worker=task-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [originalCount=4] [newCount=0] [2025/04/04 10:49:59.463 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:59.463 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:59.463 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:59.463 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:59.465 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.465 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1631] [2025/04/04 10:49:59.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:49:59.466 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:49:59.466 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:49:59.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:59.466 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:59.467 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:59.466 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.467 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:59.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:59.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:59.466 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:59.466 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:59.467 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [] [2025/04/04 10:49:59.467 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [2025/04/04 10:49:59.467 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:59.467 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:59.467 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:59.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:59.467 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:59.466 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:59.468 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:59.468 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:59.468 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:59.469 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:59.469 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:59.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:59.469 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:59.469 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:59.469 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e5edad40-ffef-40f0-872c-00d08c00cc1c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:59.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:59.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:59.469 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:59.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:59.469 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:59.470 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [error="context canceled"] [2025/04/04 10:49:59.470 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [2025/04/04 10:49:59.486 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:59.486 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:59.531 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8cd657a4-abed-49d2-b54e-40d5f6d8e9f4] [error="context canceled"] [2025/04/04 10:49:59.531 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:59.531 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:59.541 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.695285ms] [2025/04/04 10:49:59.544 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:59.544 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:59.544 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:59.544 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:59.544 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:59.544 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:59.544 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:59.544 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:59.544 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:59.544 +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/04 10:49:59.544 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:59.544 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:59.545 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropSchema (2.67s) === NAME === RUN TestFlashbackAutoID [2025/04/04 10:49:59.554 +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/04 10:49:59.554 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:49:59.555 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:49:59.556 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:59.556 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:49:59.556 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:59.556 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:59.556 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:59.556 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:59.557 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:59.557 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:59.561 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:59.566 +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/04 10:49:59.566 +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/04 10:49:59.567 +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/04 10:49:59.580 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:59.590 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:59.626 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1268] ["lease id"=2231960069d87b4c] [2025/04/04 10:49:59.629 +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/04 10:49:59.723 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=138] ["elapsed time"=91.480242ms] [2025/04/04 10:49:59.723 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:59.725 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:59.730 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3dd56828-c684-4ada-8b13-d6cc6f143a68] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:59.730 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:59.733 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:49:59.733 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:59.734 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300541267968/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:59.734 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:59.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:59.734 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:59.734 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [2025/04/04 10:49:59.736 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d87b51] [ownerID=3dd56828-c684-4ada-8b13-d6cc6f143a68] [op=none] [2025/04/04 10:49:59.736 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:49:59.736 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [ownerKey=/tidb/ddl/fg/owner/2231960069d87b51] [currRev=691] [2025/04/04 10:49:59.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:59.737 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:59.737 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:59.738 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d87fb7] [ownerID=c96afab6-bf90-449e-87a3-59026d99e87a] [op=none] [2025/04/04 10:49:59.738 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [2025/04/04 10:49:59.738 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [ownerKey=/tidb/br-stream/owner/6f18960069d87fb7] [currRev=692] [2025/04/04 10:49:59.738 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d87b51] [ownerID=3dd56828-c684-4ada-8b13-d6cc6f143a68] [op=none] [2025/04/04 10:49:59.738 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [op=none] [2025/04/04 10:49:59.738 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:59.743 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:49:59.744 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:59.744 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:59.753 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:59.761 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:59.766 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:59.766 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:59.766 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:59.767 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:59.767 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:59.767 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:59.767 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:59.767 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:59.767 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:59.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:59.768 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:59.769 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:59.769 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:59.769 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:59.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:59.771 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069d87b59] [ownerID=3dd56828-c684-4ada-8b13-d6cc6f143a68] [op=none] [2025/04/04 10:49:59.771 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:49:59.771 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [ownerKey=/tidb/stats/owner/2231960069d87b59] [currRev=694] [2025/04/04 10:49:59.771 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:59.773 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/2863f135-b8aa-4cee-af45-98a78e163e75] [2025/04/04 10:49:59.773 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [ttl-worker=task-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [originalCount=0] [newCount=4] [2025/04/04 10:49:59.773 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [ttl-worker=task-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [originalCount=0] [newCount=4] [2025/04/04 10:49:59.773 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:49:59.774 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:59.775 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:59.775 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:59.775 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763799775531976 [2025/04/04 10:49:59.779 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:59.785 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.667831ms] [2025/04/04 10:49:59.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:59.785 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:59.789 +00:00] [INFO] [set.go:172] ["set global var"] [conn=15] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:49:59.795 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=138] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:49:59.809 +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-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:59.809 +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-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:49:59.814 +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-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.831 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=2.10829ms] [gotSchemaVersion=139] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:59.835 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=139] [2025/04/04 10:49:59.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=139] ["take time"=9.798687ms] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.847 +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-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.863 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=2.016494ms] [gotSchemaVersion=140] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:59.866 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=140] [2025/04/04 10:49:59.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=140] ["take time"=9.627679ms] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.877 +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-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.884 +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/04 10:49:59.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.188563ms] [gotSchemaVersion=141] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:59.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=141] [2025/04/04 10:49:59.903 +00:00] [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.476346ms] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.912 +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/04 10:49:59.920 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=160] [jobType="drop table"] [2025/04/04 10:49:59.921 +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-04 10:49:59.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.941 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/04 10:49:59.941 +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: 1743763799941730181 [2025/04/04 10:49:59.967 +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-04 10:49:59.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:59.967 +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-04 10:49:59.932 +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/04 10:49:59.973 +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-04 10:49:59.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.978 +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/04 10:49:59.993 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.547346ms] [gotSchemaVersion=142] [phyTblIDs="[161]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:59.997 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=142] [2025/04/04 10:49:59.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=142] ["take time"=9.433352ms] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:59.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.009 +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-04 10:49:59.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.020 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/04 10:50:00.020 +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/04 10:50:00.743 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:50:00.743 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:00.743 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:00.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:00.773 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:50:00.773 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:50:00.774 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2863f135-b8aa-4cee-af45-98a78e163e75] [watcherID=5dd6e3a4-7498-49f1-850b-3b75dfff8df4] [2025/04/04 10:50:00.775 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:50:00.780 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:50:00.780 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:50:00.780 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:50:00.780 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:50:01.046 +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-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:01.046 +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-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 10:50:01.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:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.068 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.877015ms] [gotSchemaVersion=143] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:01.072 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=143] [2025/04/04 10:50:01.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=143] ["take time"=9.637258ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.084 +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-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.100 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.779658ms] [gotSchemaVersion=144] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:01.104 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=144] [2025/04/04 10:50:01.106 +00:00] [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.646877ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.115 +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-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.122 +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/04 10:50:01.135 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=1.630925ms] [gotSchemaVersion=145] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:01.139 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=145] [2025/04/04 10:50:01.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=145] ["take time"=9.446145ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.151 +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/04 10:50:01.156 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"] [2025/04/04 10:50:01.157 +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-04 10:50:01.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.174 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/04 10:50:01.175 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=145] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 10:50:01.176 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:50:00.982 +0000 UTC"] [2025/04/04 10:50:01.188 +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-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:50:00.982000'"] [2025/04/04 10:50:01.188 +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-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:01.194 +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-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.200 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/04 10:50:01.207 +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-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.283 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=300ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:50:01.315 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=162.058Β΅s] [gotSchemaVersion=146] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:50:01.318 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=146] [2025/04/04 10:50:01.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=146] ["take time"=7.708568ms] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.329 +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-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.362 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:01.366 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:01.368 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.194118ms] ["completed regions"=1] [2025/04/04 10:50:01.368 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:01.372 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:01.373 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.347153ms] ["completed regions"=1] [2025/04/04 10:50:01.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:01.376 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:01.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.192014ms] ["completed regions"=1] [2025/04/04 10:50:01.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:01.381 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:01.382 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.208363ms] ["completed regions"=1] [2025/04/04 10:50:01.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:01.386 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:01.387 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.95389ms] ["completed regions"=1] [2025/04/04 10:50:01.387 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:01.390 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:01.391 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.017065ms] ["completed regions"=1] [2025/04/04 10:50:01.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:01.394 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:01.395 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.644874ms] ["completed regions"=1] [2025/04/04 10:50:01.395 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:01.398 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:01.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.630195ms] ["completed regions"=1] [2025/04/04 10:50:01.399 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:01.402 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:01.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.879174ms] ["completed regions"=1] [2025/04/04 10:50:01.404 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:01.407 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:01.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.007158ms] ["completed regions"=1] [2025/04/04 10:50:01.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:01.411 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:01.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.73593ms] ["completed regions"=1] [2025/04/04 10:50:01.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:01.418 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:01.420 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=7.038157ms] ["completed regions"=1] [2025/04/04 10:50:01.420 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:01.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:01.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.692133ms] ["completed regions"=1] [2025/04/04 10:50:01.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:01.429 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:01.430 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.586361ms] ["completed regions"=1] [2025/04/04 10:50:01.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:01.432 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:01.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.328645ms] ["completed regions"=1] [2025/04/04 10:50:01.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:01.436 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:01.437 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.496961ms] ["completed regions"=1] [2025/04/04 10:50:01.437 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:01.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:01.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.39597ms] ["completed regions"=1] [2025/04/04 10:50:01.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:01.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:01.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.602502ms] ["completed regions"=1] [2025/04/04 10:50:01.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:01.448 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:01.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.268441ms] ["completed regions"=1] [2025/04/04 10:50:01.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:01.451 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:01.452 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.182635ms] ["completed regions"=1] [2025/04/04 10:50:01.453 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:01.455 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:01.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.050155ms] ["completed regions"=1] [2025/04/04 10:50:01.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:01.458 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:01.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.030538ms] ["completed regions"=1] [2025/04/04 10:50:01.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:01.462 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:01.462 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.676163ms] ["completed regions"=1] [2025/04/04 10:50:01.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:01.465 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:01.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.384521ms] ["completed regions"=1] [2025/04/04 10:50:01.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:01.469 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:01.470 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.501738ms] ["completed regions"=1] [2025/04/04 10:50:01.470 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:01.472 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:01.473 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.865509ms] ["completed regions"=1] [2025/04/04 10:50:01.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:01.476 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:01.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.774836ms] ["completed regions"=1] [2025/04/04 10:50:01.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:01.479 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:01.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.628725ms] ["completed regions"=1] [2025/04/04 10:50:01.480 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:01.482 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:01.483 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.602373ms] ["completed regions"=1] [2025/04/04 10:50:01.483 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:01.485 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:01.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.493056ms] ["completed regions"=1] [2025/04/04 10:50:01.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:01.488 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:01.489 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.617634ms] ["completed regions"=1] [2025/04/04 10:50:01.489 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:01.491 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:01.492 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.46438ms] ["completed regions"=1] [2025/04/04 10:50:01.492 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:01.494 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:01.494 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.364029ms] ["completed regions"=1] [2025/04/04 10:50:01.495 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:01.496 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:01.497 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.455831ms] ["completed regions"=1] [2025/04/04 10:50:01.497 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:01.500 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:01.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.887926ms] ["completed regions"=1] [2025/04/04 10:50:01.501 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:01.502 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:01.503 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.195627ms] ["completed regions"=1] [2025/04/04 10:50:01.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:01.505 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:01.506 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.221701ms] ["completed regions"=1] [2025/04/04 10:50:01.506 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:01.507 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:01.508 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.092639ms] ["completed regions"=1] [2025/04/04 10:50:01.509 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:01.510 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:01.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.975215ms] ["completed regions"=1] [2025/04/04 10:50:01.511 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:01.512 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:01.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.995525ms] ["completed regions"=1] [2025/04/04 10:50:01.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:01.515 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:01.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.88907ms] ["completed regions"=1] [2025/04/04 10:50:01.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:01.517 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:01.518 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.070456ms] ["completed regions"=1] [2025/04/04 10:50:01.518 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:01.519 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:01.521 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:01.522 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:01.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.447426ms] ["completed regions"=3] [2025/04/04 10:50:01.529 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/04 10:50:01.535 +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-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.536 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:01.539 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:01.541 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:50:01.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.223525ms] ["completed regions"=1] [2025/04/04 10:50:01.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:01.545 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:01.546 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:50:01.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.141113ms] ["completed regions"=1] [2025/04/04 10:50:01.546 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:01.549 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:01.550 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:50:01.551 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.138021ms] ["completed regions"=1] [2025/04/04 10:50:01.551 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:01.554 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:01.555 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:50:01.555 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.07052ms] ["completed regions"=1] [2025/04/04 10:50:01.555 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:01.558 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:01.560 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:50:01.560 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.369581ms] ["completed regions"=1] [2025/04/04 10:50:01.560 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:01.563 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:01.564 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:50:01.564 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.912932ms] ["completed regions"=1] [2025/04/04 10:50:01.564 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:01.567 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:01.568 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:50:01.568 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.671097ms] ["completed regions"=1] [2025/04/04 10:50:01.568 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:01.571 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:01.572 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:50:01.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.881842ms] ["completed regions"=1] [2025/04/04 10:50:01.572 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:01.575 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:01.576 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:50:01.576 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.751376ms] ["completed regions"=1] [2025/04/04 10:50:01.576 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:01.579 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:01.580 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:50:01.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.791834ms] ["completed regions"=1] [2025/04/04 10:50:01.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:01.584 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:01.585 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:50:01.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.050958ms] ["completed regions"=1] [2025/04/04 10:50:01.585 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:01.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:01.590 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:50:01.590 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.062733ms] ["completed regions"=1] [2025/04/04 10:50:01.590 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:01.593 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:01.594 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:50:01.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.665322ms] ["completed regions"=1] [2025/04/04 10:50:01.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:01.597 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:01.598 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:50:01.598 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.581884ms] ["completed regions"=1] [2025/04/04 10:50:01.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:01.601 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:01.602 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:50:01.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.262683ms] ["completed regions"=1] [2025/04/04 10:50:01.602 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:01.604 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:01.605 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:50:01.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.136097ms] ["completed regions"=1] [2025/04/04 10:50:01.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:01.608 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:01.609 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:50:01.609 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.264626ms] ["completed regions"=1] [2025/04/04 10:50:01.609 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:01.612 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:01.613 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:50:01.613 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.372947ms] ["completed regions"=1] [2025/04/04 10:50:01.613 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:01.615 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:01.616 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:50:01.616 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.153628ms] ["completed regions"=1] [2025/04/04 10:50:01.616 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:01.619 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:01.620 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:50:01.620 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.00765ms] ["completed regions"=1] [2025/04/04 10:50:01.620 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:01.622 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:01.623 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:50:01.623 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.111166ms] ["completed regions"=1] [2025/04/04 10:50:01.623 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:01.625 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:01.626 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:50:01.627 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.014479ms] ["completed regions"=1] [2025/04/04 10:50:01.627 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:01.629 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:01.630 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:50:01.630 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.052136ms] ["completed regions"=1] [2025/04/04 10:50:01.630 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:01.632 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:01.633 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:50:01.633 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.115534ms] ["completed regions"=1] [2025/04/04 10:50:01.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:01.636 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:01.637 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:50:01.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.115556ms] ["completed regions"=1] [2025/04/04 10:50:01.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:01.639 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:01.640 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:50:01.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.095688ms] ["completed regions"=1] [2025/04/04 10:50:01.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:01.642 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:01.643 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:50:01.643 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.856859ms] ["completed regions"=1] [2025/04/04 10:50:01.644 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:01.645 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:01.646 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:50:01.646 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.662633ms] ["completed regions"=1] [2025/04/04 10:50:01.647 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:01.648 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:01.649 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:50:01.650 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.770005ms] ["completed regions"=1] [2025/04/04 10:50:01.650 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:01.651 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:01.652 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:50:01.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.523436ms] ["completed regions"=1] [2025/04/04 10:50:01.653 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:01.654 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:01.655 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:50:01.655 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.563641ms] ["completed regions"=1] [2025/04/04 10:50:01.655 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:01.657 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:01.658 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:50:01.658 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.347472ms] ["completed regions"=1] [2025/04/04 10:50:01.658 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:01.660 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:01.661 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:50:01.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.37062ms] ["completed regions"=1] [2025/04/04 10:50:01.661 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:01.662 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:01.663 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:50:01.663 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.378225ms] ["completed regions"=1] [2025/04/04 10:50:01.663 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:01.665 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:01.666 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:50:01.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.195705ms] ["completed regions"=1] [2025/04/04 10:50:01.666 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:01.667 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:01.668 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:50:01.668 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.094328ms] ["completed regions"=1] [2025/04/04 10:50:01.668 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:01.670 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:01.671 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:50:01.671 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.1285ms] ["completed regions"=1] [2025/04/04 10:50:01.671 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:01.672 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:01.673 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:50:01.673 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.102573ms] ["completed regions"=1] [2025/04/04 10:50:01.673 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:01.675 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:01.676 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:50:01.676 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.266503ms] ["completed regions"=1] [2025/04/04 10:50:01.676 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:01.677 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:01.678 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:50:01.678 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.967555ms] ["completed regions"=1] [2025/04/04 10:50:01.678 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:01.679 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:01.680 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:50:01.680 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.94308ms] ["completed regions"=1] [2025/04/04 10:50:01.681 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:01.682 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:01.683 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:50:01.683 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.849221ms] ["completed regions"=1] [2025/04/04 10:50:01.683 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:01.684 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:01.685 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:01.686 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:01.687 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:50:01.687 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.452391ms] ["completed regions"=3] [2025/04/04 10:50:01.688 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:50:01.703 +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/04 10:50:01.734 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:50:01.787 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=84.476823ms] [2025/04/04 10:50:01.788 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:01.791 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=147] [2025/04/04 10:50:01.794 +00:00] [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"=93.123974ms] [job="ID:164, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.869 +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-04 10:50:01.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.881 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/04 10:50:01.882 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 16\n# Query_time: 0.706835086\n# Parse_time: 0.000085097\n# Compile_time: 0.000292373\n# Rewrite_time: 0.000005851\n# Optimize_time: 0.000660663\n# Wait_TS: 0.000491755\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-04 10:50:00.982000';"] [2025/04/04 10:50:01.895 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:01.895 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [] [2025/04/04 10:50:01.895 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:01.895 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.895 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:01.895 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:01.895 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=50.619Β΅s] [2025/04/04 10:50:01.895 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=36.187Β΅s] [2025/04/04 10:50:01.895 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=32.751Β΅s] [2025/04/04 10:50:01.895 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=37.221Β΅s] [2025/04/04 10:50:01.896 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.896 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.897 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:01.897 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:01.899 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3dd56828-c684-4ada-8b13-d6cc6f143a68] ["take time"=3.818935ms] [2025/04/04 10:50:01.899 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.899 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:01.899 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:50:01.899 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2863f135-b8aa-4cee-af45-98a78e163e75] [watcherID=5dd6e3a4-7498-49f1-850b-3b75dfff8df4] [2025/04/04 10:50:01.899 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/2863f135-b8aa-4cee-af45-98a78e163e75] [2025/04/04 10:50:01.899 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [ttl-worker=task-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [originalCount=4] [newCount=0] [2025/04/04 10:50:01.899 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:01.899 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:01.899 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:01.899 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:01.899 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [ttl-worker=task-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [originalCount=4] [newCount=0] [2025/04/04 10:50:01.901 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:01.902 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:01.902 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:01.902 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:01.904 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.904 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1268] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:01.905 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:50:01.905 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:01.905 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:01.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:01.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:01.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:01.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:01.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:01.905 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:01.905 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:01.906 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:01.906 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:01.906 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:01.905 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:01.905 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:01.905 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:01.906 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [] [2025/04/04 10:50:01.906 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:01.906 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:01.906 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:01.906 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:01.906 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.906 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:01.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:01.906 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.907 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:01.907 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:01.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:01.907 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c96afab6-bf90-449e-87a3-59026d99e87a] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:01.907 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:01.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:01.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:01.907 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [error="context canceled"] [2025/04/04 10:50:01.907 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:01.907 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:01.907 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:01.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:01.908 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [error="context canceled"] [2025/04/04 10:50:01.908 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [2025/04/04 10:50:01.908 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [error="context canceled"] [2025/04/04 10:50:01.908 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=3dd56828-c684-4ada-8b13-d6cc6f143a68] [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/04 10:50:01.924 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:01.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:01.971 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:01.971 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:01.981 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.370443ms] [2025/04/04 10:50:01.984 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:01.984 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:01.984 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:01.984 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:01.984 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:01.984 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:01.984 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:01.984 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:01.984 +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/04 10:50:01.984 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:01.984 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:01.984 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:01.986 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAutoID (2.44s) === NAME === RUN TestFlashbackSequence [2025/04/04 10:50:01.994 +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/04 10:50:01.994 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:50:01.996 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:50:01.996 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:01.996 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:50:01.996 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:01.996 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:01.996 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:01.996 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:01.997 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:01.997 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:02.001 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:02.006 +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/04 10:50:02.007 +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/04 10:50:02.008 +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/04 10:50:02.021 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:02.031 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:02.066 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=862] ["lease id"=6f18960069d87fde] [2025/04/04 10:50:02.068 +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/04 10:50:02.160 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=147] ["elapsed time"=89.488681ms] [2025/04/04 10:50:02.160 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:02.163 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:02.169 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:02.169 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:02.171 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:02.172 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:02.172 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300313919488/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:02.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:02.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:02.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:02.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:02.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:02.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:02.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:02.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:02.173 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:02.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:02.173 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:02.173 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:02.173 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [2025/04/04 10:50:02.175 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d87b89] [ownerID=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [op=none] [2025/04/04 10:50:02.175 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:02.175 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [ownerKey=/tidb/ddl/fg/owner/2231960069d87b89] [currRev=742] [2025/04/04 10:50:02.175 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:02.175 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:02.176 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069d87fec] [ownerID=f0796f08-45ec-4721-979d-b16e6a9fdba3] [op=none] [2025/04/04 10:50:02.176 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [2025/04/04 10:50:02.176 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:02.176 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [ownerKey=/tidb/br-stream/owner/3eaa960069d87fec] [currRev=743] [2025/04/04 10:50:02.177 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d87b89] [ownerID=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [op=none] [2025/04/04 10:50:02.177 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [op=none] [2025/04/04 10:50:02.177 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:02.181 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:02.182 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:02.182 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:02.192 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:02.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:02.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:02.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:02.207 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:02.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:02.207 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:02.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:02.207 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:02.207 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:02.207 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:02.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:02.208 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:02.210 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:02.210 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:02.210 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:02.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:02.212 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:02.212 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069d87fe8] [ownerID=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [op=none] [2025/04/04 10:50:02.212 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:02.212 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [ownerKey=/tidb/stats/owner/6f18960069d87fe8] [currRev=745] [2025/04/04 10:50:02.214 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fee20326-c11c-45e8-a922-98c8f2550be6] [2025/04/04 10:50:02.214 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [ttl-worker=task-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [originalCount=0] [newCount=4] [2025/04/04 10:50:02.215 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [ttl-worker=task-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [originalCount=0] [newCount=4] [2025/04/04 10:50:02.215 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:02.216 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:02.216 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:02.216 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:02.216 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763802217023699 [2025/04/04 10:50:02.222 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:02.229 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.006252ms] [2025/04/04 10:50:02.230 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:02.230 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:02.237 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:02.248 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:02.251 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=147] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:02.264 +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-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:02.264 +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-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:50:02.269 +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-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.287 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.909693ms] [gotSchemaVersion=148] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:02.290 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=148] [2025/04/04 10:50:02.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=148] ["take time"=9.188358ms] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.302 +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-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.317 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=1.651947ms] [gotSchemaVersion=149] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:02.320 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=149] [2025/04/04 10:50:02.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=149] ["take time"=8.472941ms] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.330 +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-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.337 +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/04 10:50:02.349 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.086439ms] [gotSchemaVersion=150] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:02.353 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=150] [2025/04/04 10:50:02.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=150] ["take time"=8.098109ms] [job="ID:165, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.363 +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/04 10:50:02.372 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="drop table"] [2025/04/04 10:50:02.374 +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-04 10:50:02.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.393 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/04 10:50:02.393 +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: 1743763802393910090 [2025/04/04 10:50:02.420 +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-04 10:50:02.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:02.420 +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-04 10:50:02.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create sequence seq cache 100"] [2025/04/04 10:50:02.426 +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-04 10:50:02.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.362918ms] [gotSchemaVersion=151] [phyTblIDs="[166]"] [actionTypes="[34]"] [diffTypes="[\"create sequence\"]"] [2025/04/04 10:50:02.446 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=151] [2025/04/04 10:50:02.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=151] ["take time"=8.53845ms] [job="ID:167, Type:create sequence, State:done, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.459 +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-04 10:50:02.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.470 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/04 10:50:03.182 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:50:03.182 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:03.182 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:03.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:03.215 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:50:03.215 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:50:03.215 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fee20326-c11c-45e8-a922-98c8f2550be6] [watcherID=3ec86877-55fb-4dc0-84f2-1bd73cb1b08f] [2025/04/04 10:50:03.217 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:50:03.222 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:50:03.222 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:50:03.222 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:50:03.222 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:50:03.489 +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-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:03.489 +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-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/04 10:50:03.495 +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-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.511 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.722171ms] [gotSchemaVersion=152] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:50:03.514 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=152] [2025/04/04 10:50: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=152] ["take time"=9.028404ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.526 +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-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.678975ms] [gotSchemaVersion=153] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:50:03.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=153] [2025/04/04 10:50:03.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=153] ["take time"=9.321267ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.556 +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-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=1.115339ms] [gotSchemaVersion=154] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:50:03.578 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=154] [2025/04/04 10:50:03.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=154] ["take time"=9.159284ms] [job="ID:168, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.589 +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-04 10:50:03.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.600 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/04 10:50:03.601 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:50:03.432 +0000 UTC"] [2025/04/04 10:50:03.613 +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-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:50:03.432000'"] [2025/04/04 10:50:03.613 +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-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:03.619 +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-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.624 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/04 10:50:03.754 +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-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.830 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=350ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:50:03.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=148.354Β΅s] [gotSchemaVersion=155] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:50:03.866 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=155] [2025/04/04 10:50:03.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=155] ["take time"=7.26902ms] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.876 +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-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:03.909 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:03.911 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.804579ms] ["completed regions"=1] [2025/04/04 10:50:03.911 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:03.914 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:03.915 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.063176ms] ["completed regions"=1] [2025/04/04 10:50:03.916 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:03.919 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:03.920 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.743153ms] ["completed regions"=1] [2025/04/04 10:50:03.920 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:03.923 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:03.924 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.824948ms] ["completed regions"=1] [2025/04/04 10:50:03.924 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:03.927 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:03.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.999304ms] ["completed regions"=1] [2025/04/04 10:50:03.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:03.931 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:03.933 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.759054ms] ["completed regions"=1] [2025/04/04 10:50:03.933 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:03.936 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:03.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.508104ms] ["completed regions"=1] [2025/04/04 10:50:03.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:03.940 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:03.941 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.587945ms] ["completed regions"=1] [2025/04/04 10:50:03.941 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:03.943 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:03.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.511802ms] ["completed regions"=1] [2025/04/04 10:50:03.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:03.947 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:03.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.456127ms] ["completed regions"=1] [2025/04/04 10:50:03.949 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:03.951 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:03.952 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.4589ms] ["completed regions"=1] [2025/04/04 10:50:03.952 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:03.955 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:03.956 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.534152ms] ["completed regions"=1] [2025/04/04 10:50:03.956 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:03.959 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:03.960 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.323525ms] ["completed regions"=1] [2025/04/04 10:50:03.960 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:03.962 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:03.963 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.030437ms] ["completed regions"=1] [2025/04/04 10:50:03.963 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:03.966 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:03.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.024701ms] ["completed regions"=1] [2025/04/04 10:50:03.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:03.969 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:03.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.037697ms] ["completed regions"=1] [2025/04/04 10:50:03.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:03.973 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:03.974 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.012839ms] ["completed regions"=1] [2025/04/04 10:50:03.974 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:03.976 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:03.977 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.013592ms] ["completed regions"=1] [2025/04/04 10:50:03.977 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:03.979 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:03.980 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.986664ms] ["completed regions"=1] [2025/04/04 10:50:03.980 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:03.983 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:03.984 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.967693ms] ["completed regions"=1] [2025/04/04 10:50:03.984 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:03.986 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:03.987 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.728127ms] ["completed regions"=1] [2025/04/04 10:50:03.987 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:03.989 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:03.990 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.762855ms] ["completed regions"=1] [2025/04/04 10:50:03.990 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:03.992 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:03.993 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.801678ms] ["completed regions"=1] [2025/04/04 10:50:03.993 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:03.996 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:03.997 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.040715ms] ["completed regions"=1] [2025/04/04 10:50:03.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:03.999 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:04.000 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.880356ms] ["completed regions"=1] [2025/04/04 10:50:04.000 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:04.002 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:04.003 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.714548ms] ["completed regions"=1] [2025/04/04 10:50:04.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:04.005 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:04.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.495693ms] ["completed regions"=1] [2025/04/04 10:50:04.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:04.008 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:04.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.462179ms] ["completed regions"=1] [2025/04/04 10:50:04.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:04.011 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:04.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.7811ms] ["completed regions"=1] [2025/04/04 10:50:04.012 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:04.014 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:04.015 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.421079ms] ["completed regions"=1] [2025/04/04 10:50:04.015 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:04.017 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:04.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.413428ms] ["completed regions"=1] [2025/04/04 10:50:04.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:04.020 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:04.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.314817ms] ["completed regions"=1] [2025/04/04 10:50:04.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:04.022 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:04.023 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.299426ms] ["completed regions"=1] [2025/04/04 10:50:04.023 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:04.025 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:04.026 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.149816ms] ["completed regions"=1] [2025/04/04 10:50:04.026 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:04.028 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:04.029 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.386392ms] ["completed regions"=1] [2025/04/04 10:50:04.029 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:04.030 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:04.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.297674ms] ["completed regions"=1] [2025/04/04 10:50:04.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:04.033 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:04.034 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.934251ms] ["completed regions"=1] [2025/04/04 10:50:04.034 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:04.035 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:04.036 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.970487ms] ["completed regions"=1] [2025/04/04 10:50:04.036 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:04.037 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:04.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.837987ms] ["completed regions"=1] [2025/04/04 10:50:04.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:04.039 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:04.040 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.804582ms] ["completed regions"=1] [2025/04/04 10:50:04.040 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:04.041 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:04.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.679346ms] ["completed regions"=1] [2025/04/04 10:50:04.042 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:04.043 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:04.044 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.674184ms] ["completed regions"=1] [2025/04/04 10:50:04.044 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:04.045 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:04.046 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:04.047 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:04.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.429387ms] ["completed regions"=3] [2025/04/04 10:50:04.054 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/04 10:50:04.060 +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-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:04.064 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:04.066 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:50:04.066 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.261478ms] ["completed regions"=1] [2025/04/04 10:50:04.066 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:04.070 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:04.071 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:50:04.071 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.176748ms] ["completed regions"=1] [2025/04/04 10:50:04.071 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:04.074 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:04.075 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:50:04.075 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.91501ms] ["completed regions"=1] [2025/04/04 10:50:04.075 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:04.078 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:04.080 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:50:04.080 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.092834ms] ["completed regions"=1] [2025/04/04 10:50:04.080 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:04.083 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:04.084 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:50:04.084 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.073618ms] ["completed regions"=1] [2025/04/04 10:50:04.084 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:04.087 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:04.088 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:50:04.088 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.988246ms] ["completed regions"=1] [2025/04/04 10:50:04.089 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:04.092 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:04.093 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:50:04.093 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.021091ms] ["completed regions"=1] [2025/04/04 10:50:04.093 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:04.096 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:04.097 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:50:04.097 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.966257ms] ["completed regions"=1] [2025/04/04 10:50:04.097 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:04.100 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:04.102 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:50:04.102 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.082993ms] ["completed regions"=1] [2025/04/04 10:50:04.102 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:04.105 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:04.106 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:50:04.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.650906ms] ["completed regions"=1] [2025/04/04 10:50:04.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:04.109 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:04.110 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:50:04.110 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.792208ms] ["completed regions"=1] [2025/04/04 10:50:04.110 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:04.113 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:04.114 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:50:04.114 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.080173ms] ["completed regions"=1] [2025/04/04 10:50:04.114 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:04.117 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:04.118 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:50:04.118 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.626148ms] ["completed regions"=1] [2025/04/04 10:50:04.118 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:04.121 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:04.122 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:50:04.122 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.460475ms] ["completed regions"=1] [2025/04/04 10:50:04.122 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:04.125 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:04.126 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:50:04.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.717275ms] ["completed regions"=1] [2025/04/04 10:50:04.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:04.129 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:04.130 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:50:04.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.289316ms] ["completed regions"=1] [2025/04/04 10:50:04.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:04.132 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:04.133 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:50:04.133 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.130378ms] ["completed regions"=1] [2025/04/04 10:50:04.133 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:04.136 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:04.137 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:50:04.137 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.326015ms] ["completed regions"=1] [2025/04/04 10:50:04.137 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:04.139 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:04.140 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:50:04.141 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.06439ms] ["completed regions"=1] [2025/04/04 10:50:04.141 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:04.143 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:04.144 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:50:04.144 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.013349ms] ["completed regions"=1] [2025/04/04 10:50:04.144 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:04.146 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:04.147 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:50:04.147 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.974391ms] ["completed regions"=1] [2025/04/04 10:50:04.147 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:04.150 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:04.151 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:50:04.151 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.970766ms] ["completed regions"=1] [2025/04/04 10:50:04.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:04.153 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:04.154 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:50:04.154 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.813814ms] ["completed regions"=1] [2025/04/04 10:50:04.154 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:04.156 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:04.157 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:50:04.157 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.840053ms] ["completed regions"=1] [2025/04/04 10:50:04.157 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:04.159 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:04.160 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:50:04.160 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.667357ms] ["completed regions"=1] [2025/04/04 10:50:04.160 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:04.162 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:04.163 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:50:04.163 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.732752ms] ["completed regions"=1] [2025/04/04 10:50:04.163 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:04.165 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:04.166 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:50:04.166 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.807699ms] ["completed regions"=1] [2025/04/04 10:50:04.166 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:04.168 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:04.169 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:50:04.169 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.661392ms] ["completed regions"=1] [2025/04/04 10:50:04.169 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:04.172 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:04.172 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:50:04.173 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:50:04.173 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.34124ms] ["completed regions"=1] [2025/04/04 10:50:04.173 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:04.175 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:04.176 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:50:04.176 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.743927ms] ["completed regions"=1] [2025/04/04 10:50:04.176 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:04.178 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:04.179 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:50:04.179 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.647711ms] ["completed regions"=1] [2025/04/04 10:50:04.179 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:04.181 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:04.182 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:50:04.182 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.410855ms] ["completed regions"=1] [2025/04/04 10:50:04.182 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:04.184 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:04.185 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:50:04.185 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.351563ms] ["completed regions"=1] [2025/04/04 10:50:04.185 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:04.186 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:04.188 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:50:04.188 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.544954ms] ["completed regions"=1] [2025/04/04 10:50:04.188 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:04.189 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:04.191 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:50:04.191 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.573085ms] ["completed regions"=1] [2025/04/04 10:50:04.191 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:04.192 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:04.193 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:50:04.194 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.435777ms] ["completed regions"=1] [2025/04/04 10:50:04.194 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:04.195 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:04.196 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:50:04.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.203831ms] ["completed regions"=1] [2025/04/04 10:50:04.196 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:04.198 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:04.199 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:50:04.199 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.159685ms] ["completed regions"=1] [2025/04/04 10:50:04.199 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:04.200 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:04.201 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:50:04.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.088693ms] ["completed regions"=1] [2025/04/04 10:50:04.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:04.203 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:04.204 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:50:04.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.224645ms] ["completed regions"=1] [2025/04/04 10:50:04.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:04.205 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:04.206 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:50:04.206 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.095413ms] ["completed regions"=1] [2025/04/04 10:50:04.206 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:04.207 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:04.208 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:50:04.208 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.872302ms] ["completed regions"=1] [2025/04/04 10:50:04.209 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:04.210 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:04.211 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:04.212 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:04.213 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:50:04.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.974073ms] ["completed regions"=3] [2025/04/04 10:50:04.213 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:50:04.230 +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/04 10:50:04.316 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=86.405682ms] [2025/04/04 10:50:04.316 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:04.321 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=156] [2025/04/04 10:50:04.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=156] ["take time"=94.974023ms] [job="ID:169, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.396 +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-04 10:50:03.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.409 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/04 10:50:04.410 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 18\n# Query_time: 0.809620138\n# Parse_time: 0.000071918\n# Compile_time: 0.000251938\n# Rewrite_time: 0.000002998\n# Optimize_time: 0.000096987\n# Wait_TS: 0.000592487\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-04 10:50:03.432000';"] [2025/04/04 10:50:04.428 +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-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:04.428 +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-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/04 10:50:04.434 +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-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.450 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=2.009943ms] [gotSchemaVersion=157] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:50:04.454 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=157] [2025/04/04 10:50:04.456 +00:00] [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.166716ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.467 +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-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.788907ms] [gotSchemaVersion=158] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:50:04.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=158] [2025/04/04 10:50:04.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=158] ["take time"=9.670484ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.498 +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-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.517 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.23436ms] [gotSchemaVersion=159] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 10:50:04.522 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=159] [2025/04/04 10:50:04.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=159] ["take time"=9.529517ms] [job="ID:170, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.534 +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-04 10:50:04.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.544 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 10:50:04.545 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:04.545 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:04.545 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [] [2025/04/04 10:50:04.545 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.545 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:50:04.545 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=159] [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/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.(*ProjectionExec).unParallelExecute\n\tpkg/executor/projection.go:218\ngithub.com/pingcap/tidb/pkg/executor.(*ProjectionExec).Next\n\tpkg/executor/projection.go:205\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*DeleteExec).deleteSingleTableByChunk\n\tpkg/executor/delete.go:109\ngithub.com/pingcap/tidb/pkg/executor.(*DeleteExec).Next\n\tpkg/executor/delete.go:63\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/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:99\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).cleanMDLInfo\n\tpkg/ddl/job_scheduler.go:643\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).transitOneJobStepAndWaitSync\n\tpkg/ddl/job_scheduler.go:615\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).deliveryJob.func1\n\tpkg/ddl/job_scheduler.go:500\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"] [session="{\n \"currDBName\": \"\",\n \"id\": 0,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 10:50:04.546 +00:00] [WARN] [job_scheduler.go:645] ["unexpected error when clean mdl info"] [category=ddl] ["job ID"=170] [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/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.(*ProjectionExec).unParallelExecute\n\tpkg/executor/projection.go:218\ngithub.com/pingcap/tidb/pkg/executor.(*ProjectionExec).Next\n\tpkg/executor/projection.go:205\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*DeleteExec).deleteSingleTableByChunk\n\tpkg/executor/delete.go:109\ngithub.com/pingcap/tidb/pkg/executor.(*DeleteExec).Next\n\tpkg/executor/delete.go:63\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/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:99\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).cleanMDLInfo\n\tpkg/ddl/job_scheduler.go:643\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).transitOneJobStepAndWaitSync\n\tpkg/ddl/job_scheduler.go:615\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).deliveryJob.func1\n\tpkg/ddl/job_scheduler.go:500\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/04 10:50:04.546 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:04.546 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:04.547 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=112.7Β΅s] [2025/04/04 10:50:04.547 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=82.342Β΅s] [2025/04/04 10:50:04.547 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=62.361Β΅s] [2025/04/04 10:50:04.547 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=35.147Β΅s] [2025/04/04 10:50:04.547 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=32.836Β΅s] [2025/04/04 10:50:04.547 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.547 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.548 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:04.548 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:04.551 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] ["take time"=6.169467ms] [2025/04/04 10:50:04.551 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.551 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:04.551 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:50:04.551 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fee20326-c11c-45e8-a922-98c8f2550be6] [watcherID=3ec86877-55fb-4dc0-84f2-1bd73cb1b08f] [2025/04/04 10:50:04.551 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fee20326-c11c-45e8-a922-98c8f2550be6] [2025/04/04 10:50:04.551 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [ttl-worker=task-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [originalCount=4] [newCount=0] [2025/04/04 10:50:04.552 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:04.552 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:04.552 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:04.552 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:04.552 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [ttl-worker=task-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [originalCount=4] [newCount=0] [2025/04/04 10:50:04.554 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:04.554 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:04.555 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:04.555 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:04.556 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.557 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=862] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:04.558 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:04.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:04.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:04.559 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:04.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:04.558 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [2025/04/04 10:50:04.559 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:04.559 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [2025/04/04 10:50:04.559 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:04.559 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:04.558 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:04.558 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:50:04.558 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:50:04.558 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:04.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:04.558 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.558 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:50:04.559 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.559 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.559 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.559 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:04.559 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:04.559 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:04.559 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:04.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:04.560 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:04.560 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:04.560 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:04.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:04.561 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:04.561 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:04.561 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f0796f08-45ec-4721-979d-b16e6a9fdba3] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:04.561 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:04.561 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:04.561 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:04.561 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:04.561 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:04.561 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:04.562 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [error="context canceled"] [2025/04/04 10:50:04.562 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [2025/04/04 10:50:04.619 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f5aeb548-161c-4bfc-8d37-ed8c4eb9188d] [error="context canceled"] [2025/04/04 10:50:04.619 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:04.619 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:04.630 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.56319ms] [2025/04/04 10:50:04.633 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:04.633 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:04.633 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:04.633 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:04.633 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:04.633 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:04.633 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:04.633 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:04.634 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:04.634 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:04.633 +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/04 10:50:04.634 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:04.635 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackSequence (2.65s) === NAME === RUN TestFlashbackPartitionTable [2025/04/04 10:50:04.644 +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/04 10:50:04.644 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:50:04.646 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:50:04.646 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:04.646 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:50:04.646 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:04.646 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:04.646 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:04.647 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:04.647 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:04.647 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:04.651 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:04.657 +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/04 10:50:04.657 +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/04 10:50:04.658 +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/04 10:50:04.673 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:04.683 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:04.719 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1123] ["lease id"=2231960069d87bb4] [2025/04/04 10:50:04.721 +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/04 10:50:04.815 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=159] ["elapsed time"=90.696434ms] [2025/04/04 10:50:04.815 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:04.817 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:04.823 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=feae594e-32ac-4d4f-ba93-1ae229b4b829] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:04.823 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:04.825 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:04.826 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:04.827 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 300318203904/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:04.827 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:04.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:04.827 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:04.827 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [2025/04/04 10:50:04.829 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d87bb9] [ownerID=feae594e-32ac-4d4f-ba93-1ae229b4b829] [op=none] [2025/04/04 10:50:04.829 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:04.829 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [ownerKey=/tidb/ddl/fg/owner/2231960069d87bb9] [currRev=800] [2025/04/04 10:50:04.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:04.830 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:04.830 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:04.830 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069d8800e] [ownerID=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [op=none] [2025/04/04 10:50:04.830 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [2025/04/04 10:50:04.830 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [ownerKey=/tidb/br-stream/owner/6f18960069d8800e] [currRev=801] [2025/04/04 10:50:04.831 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069d87bb9] [ownerID=feae594e-32ac-4d4f-ba93-1ae229b4b829] [op=none] [2025/04/04 10:50:04.831 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [op=none] [2025/04/04 10:50:04.831 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:04.836 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:04.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:04.837 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:04.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:04.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:04.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:04.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:04.860 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:04.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:04.860 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:04.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:04.860 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:04.860 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:04.860 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:04.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:04.861 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:04.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:04.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:04.863 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:04.863 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:04.863 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:04.863 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:04.864 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:04.865 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069d87bc1] [ownerID=feae594e-32ac-4d4f-ba93-1ae229b4b829] [op=none] [2025/04/04 10:50:04.865 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:04.865 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [ownerKey=/tidb/stats/owner/2231960069d87bc1] [currRev=803] [2025/04/04 10:50:04.867 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/c47d305b-50e0-489d-8f1d-b78c3d7edc85] [2025/04/04 10:50:04.867 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [ttl-worker=task-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [originalCount=0] [newCount=4] [2025/04/04 10:50:04.867 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [ttl-worker=task-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [originalCount=0] [newCount=4] [2025/04/04 10:50:04.867 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:04.868 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:04.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:04.869 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:04.869 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763804869230535 [2025/04/04 10:50:04.873 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:04.879 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.535817ms] [2025/04/04 10:50:04.879 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:04.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:04.883 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:04.905 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743763804907435480 [2025/04/04 10:50:04.938 +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-04 10:50:04.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:04.938 +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-04 10:50:04.881 +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/04 10:50:04.944 +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-04 10:50:04.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.949 +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/04 10:50:04.965 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=2.096563ms] [gotSchemaVersion=160] [phyTblIDs="[171,172,173,174]"] [actionTypes="[3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:04.969 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=160] [2025/04/04 10:50:04.971 +00:00] [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"=10.030399ms] [job="ID:175, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:04.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.983 +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-04 10:50:04.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.995 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/04 10:50:04.995 +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/04 10:50:05.837 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:50:05.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:05.837 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:05.867 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:50:05.867 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:50:05.867 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c47d305b-50e0-489d-8f1d-b78c3d7edc85] [watcherID=eb6dda4c-b9fa-4db2-8459-aadd1e05bebb] [2025/04/04 10:50:05.869 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:50:05.874 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:50:05.874 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:50:05.874 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:50:05.874 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:50:06.233 +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-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:06.233 +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-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop partition `a_3`"] [2025/04/04 10:50:06.237 +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-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.253 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=1.981618ms] [gotSchemaVersion=161] [phyTblIDs="[171,172,173,174]"] [actionTypes="[20,20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 10:50:06.256 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=161] [2025/04/04 10:50:06.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=161] ["take time"=9.259621ms] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.267 +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-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.284 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=1.895923ms] [gotSchemaVersion=162] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 10:50:06.288 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=162] [2025/04/04 10:50:06.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=162] ["take time"=8.885652ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.297 +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-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.312 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=1.873869ms] [gotSchemaVersion=163] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 10:50:06.315 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=163] [2025/04/04 10:50:06.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=163] ["take time"=8.556951ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.324 +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-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.329 +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/04 10:50:06.343 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.918562ms] [gotSchemaVersion=164] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 10:50:06.346 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=164] [2025/04/04 10:50:06.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=164] ["take time"=8.963948ms] [job="ID:176, Type:drop partition, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.356 +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/04 10:50:06.364 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=176] [jobType="drop partition"] [2025/04/04 10:50:06.364 +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-04 10:50:06.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.382 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/04 10:50:06.383 +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/04 10:50:06.394 +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-04 10:50:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:06.394 +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-04 10:50:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add partition (partition `a_3` values less than (300))"] [2025/04/04 10:50:06.399 +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-04 10:50:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.834801ms] [gotSchemaVersion=165] [phyTblIDs="[171,172,173]"] [actionTypes="[19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/04 10:50:06.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=165] [2025/04/04 10:50:06.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=165] ["take time"=8.682718ms] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.429 +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-04 10:50:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.434 +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/04 10:50:06.448 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=1.883491ms] [gotSchemaVersion=166] [phyTblIDs="[171,172,173,177]"] [actionTypes="[19,19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/04 10:50:06.451 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=166] [2025/04/04 10:50:06.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=166] ["take time"=8.675306ms] [job="ID:178, Type:add partition, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.462 +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-04 10:50:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.472 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/04 10:50:06.473 +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/04 10:50:06.489 +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-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:06.489 +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-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 10:50:06.494 +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-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.509 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.277479ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:06.512 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=167] [2025/04/04 10:50:06.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=167] ["take time"=8.76643ms] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.523 +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-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.537 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=2.32803ms] [gotSchemaVersion=168] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:06.541 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=168] [2025/04/04 10:50:06.542 +00:00] [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"=9.054187ms] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.550 +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-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.556 +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/04 10:50:06.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.104439ms] [gotSchemaVersion=169] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:06.572 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=169] [2025/04/04 10:50:06.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=169] ["take time"=7.809091ms] [job="ID:179, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.582 +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/04 10:50:06.587 +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/04 10:50:06.590 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=179] [jobType="drop table"] [2025/04/04 10:50:06.591 +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-04 10:50:06.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.608 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/04 10:50:06.609 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=169] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 10:50:06.610 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:50:06.181 +0000 UTC"] [2025/04/04 10:50:06.620 +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-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:06.620 +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-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:50:06.181000'"] [2025/04/04 10:50:06.625 +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-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.631 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/04 10:50:06.637 +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-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.651 +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/04 10:50:06.703 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=501ms] [prevState=normal] [newState=adapting] [2025/04/04 10:50:06.735 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=127.955Β΅s] [gotSchemaVersion=170] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:50:06.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=170] [2025/04/04 10:50:06.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=170] ["take time"=6.826705ms] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.748 +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-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.777 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:06.780 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:06.782 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.86104ms] ["completed regions"=1] [2025/04/04 10:50:06.782 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:06.785 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:06.787 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.044308ms] ["completed regions"=1] [2025/04/04 10:50:06.787 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:06.790 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:06.791 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.786491ms] ["completed regions"=1] [2025/04/04 10:50:06.791 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:06.794 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:06.795 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.734625ms] ["completed regions"=1] [2025/04/04 10:50:06.795 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:06.798 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:06.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.735329ms] ["completed regions"=1] [2025/04/04 10:50:06.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:06.802 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:06.803 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.784745ms] ["completed regions"=1] [2025/04/04 10:50:06.803 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:06.806 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:06.807 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.425461ms] ["completed regions"=1] [2025/04/04 10:50:06.807 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:06.810 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:06.811 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.62368ms] ["completed regions"=1] [2025/04/04 10:50:06.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:06.814 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:06.815 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.600968ms] ["completed regions"=1] [2025/04/04 10:50:06.815 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:06.818 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:06.819 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.382724ms] ["completed regions"=1] [2025/04/04 10:50:06.819 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:06.821 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:06.822 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.55383ms] ["completed regions"=1] [2025/04/04 10:50:06.823 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:06.825 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:06.827 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:50:06.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.228517ms] ["completed regions"=1] [2025/04/04 10:50:06.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:06.830 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:06.831 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.355632ms] ["completed regions"=1] [2025/04/04 10:50:06.831 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:06.833 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:06.834 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.205048ms] ["completed regions"=1] [2025/04/04 10:50:06.835 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:06.837 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:06.838 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.052327ms] ["completed regions"=1] [2025/04/04 10:50:06.838 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:06.841 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:06.842 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.1798ms] ["completed regions"=1] [2025/04/04 10:50:06.842 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:06.844 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:06.845 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.096865ms] ["completed regions"=1] [2025/04/04 10:50:06.845 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:06.848 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:06.849 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=2.920172ms] ["completed regions"=1] [2025/04/04 10:50:06.849 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:06.851 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:06.852 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.886366ms] ["completed regions"=1] [2025/04/04 10:50:06.852 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:06.854 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:06.855 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.909143ms] ["completed regions"=1] [2025/04/04 10:50:06.855 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:06.857 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:06.858 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.733517ms] ["completed regions"=1] [2025/04/04 10:50:06.858 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:06.860 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:06.861 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.640729ms] ["completed regions"=1] [2025/04/04 10:50:06.861 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:06.863 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:06.864 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.578643ms] ["completed regions"=1] [2025/04/04 10:50:06.864 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:06.866 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:06.867 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.845861ms] ["completed regions"=1] [2025/04/04 10:50:06.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:06.869 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:06.870 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.951782ms] ["completed regions"=1] [2025/04/04 10:50:06.871 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:06.872 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:06.874 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.874567ms] ["completed regions"=1] [2025/04/04 10:50:06.874 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:06.876 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:06.877 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.787075ms] ["completed regions"=1] [2025/04/04 10:50:06.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:06.879 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:06.880 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.57981ms] ["completed regions"=1] [2025/04/04 10:50:06.880 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:06.882 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:06.883 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.477066ms] ["completed regions"=1] [2025/04/04 10:50:06.883 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:06.884 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:06.885 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.369334ms] ["completed regions"=1] [2025/04/04 10:50:06.885 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:06.887 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:06.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.450962ms] ["completed regions"=1] [2025/04/04 10:50:06.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:06.890 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:06.891 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.495807ms] ["completed regions"=1] [2025/04/04 10:50:06.891 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:06.893 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:06.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.382558ms] ["completed regions"=1] [2025/04/04 10:50:06.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:06.895 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:06.896 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.246919ms] ["completed regions"=1] [2025/04/04 10:50:06.896 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:06.898 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:06.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.10442ms] ["completed regions"=1] [2025/04/04 10:50:06.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:06.900 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:06.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.042344ms] ["completed regions"=1] [2025/04/04 10:50:06.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:06.903 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:06.903 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.959383ms] ["completed regions"=1] [2025/04/04 10:50:06.904 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:06.905 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:06.906 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.884869ms] ["completed regions"=1] [2025/04/04 10:50:06.906 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:06.907 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:06.908 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.908474ms] ["completed regions"=1] [2025/04/04 10:50:06.908 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:06.909 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:06.910 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.823005ms] ["completed regions"=1] [2025/04/04 10:50:06.910 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:06.911 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:06.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.869146ms] ["completed regions"=1] [2025/04/04 10:50:06.912 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:06.913 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:06.914 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.681066ms] ["completed regions"=1] [2025/04/04 10:50:06.914 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:06.915 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:06.916 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:06.917 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:06.918 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.347723ms] ["completed regions"=3] [2025/04/04 10:50:06.924 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/04 10:50:06.930 +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-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:06.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:06.935 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:06.937 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:50:06.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.278778ms] ["completed regions"=1] [2025/04/04 10:50:06.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:06.940 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:06.941 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:50:06.941 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.051834ms] ["completed regions"=1] [2025/04/04 10:50:06.941 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:06.944 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:06.945 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:50:06.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.020951ms] ["completed regions"=1] [2025/04/04 10:50:06.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:06.948 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:06.949 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:50:06.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.818946ms] ["completed regions"=1] [2025/04/04 10:50:06.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:06.952 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:06.953 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:50:06.954 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.689984ms] ["completed regions"=1] [2025/04/04 10:50:06.954 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:06.956 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:06.957 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:50:06.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.649312ms] ["completed regions"=1] [2025/04/04 10:50:06.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:06.960 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:06.961 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:50:06.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.653756ms] ["completed regions"=1] [2025/04/04 10:50:06.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:06.964 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:06.965 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:50:06.965 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.488112ms] ["completed regions"=1] [2025/04/04 10:50:06.965 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:06.968 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:06.969 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:50:06.969 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.544397ms] ["completed regions"=1] [2025/04/04 10:50:06.969 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:06.973 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:06.974 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:50:06.974 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.806312ms] ["completed regions"=1] [2025/04/04 10:50:06.974 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:06.977 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:06.978 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:50:06.978 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.402245ms] ["completed regions"=1] [2025/04/04 10:50:06.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:06.981 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:06.984 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:50:06.984 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.273ms] ["completed regions"=1] [2025/04/04 10:50:06.984 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:06.986 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:06.987 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:50:06.987 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.22359ms] ["completed regions"=1] [2025/04/04 10:50:06.987 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:06.990 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:06.991 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:50:06.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.202037ms] ["completed regions"=1] [2025/04/04 10:50:06.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:06.993 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:06.994 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:50:06.994 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.146222ms] ["completed regions"=1] [2025/04/04 10:50:06.994 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:06.997 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:06.998 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:50:06.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.315804ms] ["completed regions"=1] [2025/04/04 10:50:06.998 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:07.000 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:07.001 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:50:07.001 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.062458ms] ["completed regions"=1] [2025/04/04 10:50:07.001 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:07.004 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:07.005 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:50:07.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.085473ms] ["completed regions"=1] [2025/04/04 10:50:07.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:07.007 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:07.008 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:50:07.008 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.899069ms] ["completed regions"=1] [2025/04/04 10:50:07.008 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:07.010 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:07.011 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:50:07.011 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.920258ms] ["completed regions"=1] [2025/04/04 10:50:07.011 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:07.013 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:07.014 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:50:07.014 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.835926ms] ["completed regions"=1] [2025/04/04 10:50:07.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:07.016 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:07.017 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:50:07.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.847835ms] ["completed regions"=1] [2025/04/04 10:50:07.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:07.020 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:07.020 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:50:07.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.719878ms] ["completed regions"=1] [2025/04/04 10:50:07.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:07.023 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:07.024 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:50:07.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.871616ms] ["completed regions"=1] [2025/04/04 10:50:07.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:07.026 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:07.027 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:50:07.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.696832ms] ["completed regions"=1] [2025/04/04 10:50:07.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:07.029 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:07.030 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:50:07.030 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.592272ms] ["completed regions"=1] [2025/04/04 10:50:07.030 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:07.031 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:07.032 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:50:07.032 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.526423ms] ["completed regions"=1] [2025/04/04 10:50:07.033 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:07.034 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:07.035 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:50:07.035 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.662638ms] ["completed regions"=1] [2025/04/04 10:50:07.036 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:07.037 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:07.038 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:50:07.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.600201ms] ["completed regions"=1] [2025/04/04 10:50:07.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:07.040 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:07.041 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:50:07.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.421449ms] ["completed regions"=1] [2025/04/04 10:50:07.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:07.043 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:07.044 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:50:07.044 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.462712ms] ["completed regions"=1] [2025/04/04 10:50:07.044 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:07.045 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:07.046 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:50:07.047 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.338695ms] ["completed regions"=1] [2025/04/04 10:50:07.047 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:07.048 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:07.049 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:50:07.049 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.223345ms] ["completed regions"=1] [2025/04/04 10:50:07.049 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:07.051 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:07.052 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:50:07.052 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.228297ms] ["completed regions"=1] [2025/04/04 10:50:07.052 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:07.053 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:07.054 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:50:07.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.178949ms] ["completed regions"=1] [2025/04/04 10:50:07.054 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:07.056 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:07.056 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:50:07.057 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.113518ms] ["completed regions"=1] [2025/04/04 10:50:07.057 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:07.058 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:07.059 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:50:07.059 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.126656ms] ["completed regions"=1] [2025/04/04 10:50:07.059 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:07.060 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:07.062 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:50:07.062 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.448122ms] ["completed regions"=1] [2025/04/04 10:50:07.062 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:07.063 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:07.064 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:50:07.064 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.887921ms] ["completed regions"=1] [2025/04/04 10:50:07.064 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:07.065 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:07.066 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:50:07.066 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.878933ms] ["completed regions"=1] [2025/04/04 10:50:07.066 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:07.067 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:07.068 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:50:07.068 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.895301ms] ["completed regions"=1] [2025/04/04 10:50:07.068 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:07.069 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:07.070 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:50:07.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.679034ms] ["completed regions"=1] [2025/04/04 10:50:07.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:07.071 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:07.072 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:07.073 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:07.074 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:50:07.074 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.672004ms] ["completed regions"=3] [2025/04/04 10:50:07.074 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:50:07.090 +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/04 10:50:07.174 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=84.185686ms] [2025/04/04 10:50:07.174 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:07.177 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=171] [2025/04/04 10:50:07.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=171] ["take time"=91.548267ms] [job="ID:180, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.245 +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-04 10:50:06.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.257 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/04 10:50:07.257 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 20\n# Query_time: 0.647941375\n# Parse_time: 0.000101405\n# Compile_time: 0.000265838\n# Rewrite_time: 0.000002789\n# Optimize_time: 0.001132531\n# Wait_TS: 0.000407893\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-04 10:50:06.181000';"] [2025/04/04 10:50:07.271 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:07.271 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [] [2025/04/04 10:50:07.271 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:07.271 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.271 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:07.271 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:07.272 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=66.261Β΅s] [2025/04/04 10:50:07.272 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=55.342Β΅s] [2025/04/04 10:50:07.272 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=57.303Β΅s] [2025/04/04 10:50:07.272 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=45.831Β΅s] [2025/04/04 10:50:07.272 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=44.053Β΅s] [2025/04/04 10:50:07.272 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.272 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.273 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:07.273 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:07.275 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=feae594e-32ac-4d4f-ba93-1ae229b4b829] ["take time"=3.994985ms] [2025/04/04 10:50:07.275 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.275 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:07.275 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c47d305b-50e0-489d-8f1d-b78c3d7edc85] [watcherID=eb6dda4c-b9fa-4db2-8459-aadd1e05bebb] [2025/04/04 10:50:07.275 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:50:07.275 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/c47d305b-50e0-489d-8f1d-b78c3d7edc85] [2025/04/04 10:50:07.275 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [ttl-worker=task-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [originalCount=4] [newCount=0] [2025/04/04 10:50:07.276 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:07.276 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:07.276 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:07.276 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:07.276 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [ttl-worker=task-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [originalCount=4] [newCount=0] [2025/04/04 10:50:07.278 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:07.278 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:07.278 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:07.278 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:07.280 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.280 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1123] [2025/04/04 10:50:07.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:07.281 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:07.281 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.282 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:07.282 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:07.282 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [2025/04/04 10:50:07.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:07.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:07.281 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:07.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:07.281 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:07.282 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:07.282 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:07.282 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:07.282 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:07.282 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:50:07.282 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:50:07.282 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:07.282 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.282 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:07.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:07.283 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=96f32ee0-9d50-4ea9-b64a-fbeee0456d91] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:07.283 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:07.283 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:07.283 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:07.283 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:07.283 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:07.283 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:07.283 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [error="context canceled"] [2025/04/04 10:50:07.283 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:07.283 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:07.283 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:07.283 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:07.284 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [error="context canceled"] [2025/04/04 10:50:07.284 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [2025/04/04 10:50:07.301 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:07.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:07.343 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=feae594e-32ac-4d4f-ba93-1ae229b4b829] [error="context canceled"] [2025/04/04 10:50:07.343 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:07.343 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:07.353 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.589687ms] [2025/04/04 10:50:07.355 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:07.355 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:07.355 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:07.355 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:07.355 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:07.355 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:07.356 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:07.356 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:07.355 +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/04 10:50:07.355 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:07.356 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:07.356 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:07.358 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackPartitionTable (2.72s) === NAME === RUN TestFlashbackTmpTable [2025/04/04 10:50:07.367 +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/04 10:50:07.367 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:50:07.368 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:50:07.369 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:07.369 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:50:07.369 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:07.369 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:07.369 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:07.369 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:07.370 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:07.370 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:07.373 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:07.378 +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/04 10:50:07.379 +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/04 10:50:07.379 +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/04 10:50:07.391 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:07.400 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:07.433 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1772] ["lease id"=6f18960069d88035] [2025/04/04 10:50:07.435 +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/04 10:50:07.537 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=171] ["elapsed time"=99.665093ms] [2025/04/04 10:50:07.538 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:07.540 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:07.546 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=05f5b738-d551-4551-8dae-bb5df9e0e38d] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:07.546 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:07.548 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:07.549 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:07.550 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 295533268992/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:07.550 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:07.550 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:07.550 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:07.550 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [2025/04/04 10:50:07.552 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d8803a] [ownerID=05f5b738-d551-4551-8dae-bb5df9e0e38d] [op=none] [2025/04/04 10:50:07.552 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:07.552 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [ownerKey=/tidb/ddl/fg/owner/6f18960069d8803a] [currRev=859] [2025/04/04 10:50:07.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:07.553 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:07.554 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069d88040] [ownerID=5827690d-a69d-497e-be77-3cf6609fe4ec] [op=none] [2025/04/04 10:50:07.554 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [2025/04/04 10:50:07.554 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:07.554 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [ownerKey=/tidb/br-stream/owner/3eaa960069d88040] [currRev=860] [2025/04/04 10:50:07.554 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069d8803a] [ownerID=05f5b738-d551-4551-8dae-bb5df9e0e38d] [op=none] [2025/04/04 10:50:07.554 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [op=none] [2025/04/04 10:50:07.554 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:07.558 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:07.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:07.559 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:07.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:07.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:07.581 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:07.581 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:07.581 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:07.581 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:07.581 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:07.581 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:07.581 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:07.581 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:07.581 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:07.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:07.582 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:07.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:07.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:07.584 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:07.584 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:07.584 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:07.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:07.586 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:07.586 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069d88042] [ownerID=05f5b738-d551-4551-8dae-bb5df9e0e38d] [op=none] [2025/04/04 10:50:07.586 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:07.586 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [ownerKey=/tidb/stats/owner/6f18960069d88042] [currRev=862] [2025/04/04 10:50:07.588 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a61b67e9-a424-412b-b439-b4299351d862] [2025/04/04 10:50:07.588 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [ttl-worker=task-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [originalCount=0] [newCount=4] [2025/04/04 10:50:07.588 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [ttl-worker=task-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [originalCount=0] [newCount=4] [2025/04/04 10:50:07.589 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:07.589 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:07.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:07.590 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:07.590 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763807590440182 [2025/04/04 10:50:07.594 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:07.600 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.741613ms] [2025/04/04 10:50:07.600 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:07.600 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:07.603 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:07.622 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:07.625 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=171] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:07.637 +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-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:07.637 +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-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:50:07.642 +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-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=2.440787ms] [gotSchemaVersion=172] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:07.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=172] [2025/04/04 10:50:07.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=172] ["take time"=9.442121ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.675 +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-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.691 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=2.304298ms] [gotSchemaVersion=173] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:07.694 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=173] [2025/04/04 10:50:07.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=173] ["take time"=9.466971ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.704 +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-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.710 +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/04 10:50:07.723 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.064632ms] [gotSchemaVersion=174] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:07.726 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=174] [2025/04/04 10:50:07.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=174] ["take time"=8.279928ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.737 +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/04 10:50:07.745 +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/04 10:50:07.749 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/04 10:50:07.750 +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-04 10:50:07.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:07.768 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 10:50:07.768 +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: 1743763807768559122 [2025/04/04 10:50:07.784 +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/04 10:50:08.561 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:50:08.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:08.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:08.561 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:08.589 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:50:08.589 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:50:08.589 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a61b67e9-a424-412b-b439-b4299351d862] [watcherID=cabe36e6-65d5-4b23-87ed-26d030ab7476] [2025/04/04 10:50:08.590 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:50:08.595 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:50:08.595 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:50:08.595 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:50:08.595 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:50:08.788 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:50:08.782 +0000 UTC"] [2025/04/04 10:50:08.800 +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-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:08.800 +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-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:50:08.782000'"] [2025/04/04 10:50:08.806 +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-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.812 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/04 10:50:08.819 +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-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.897 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=106ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:50:08.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=142.678Β΅s] [gotSchemaVersion=175] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:50:08.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=175] [2025/04/04 10:50:08.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=175] ["take time"=7.650055ms] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.938 +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-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.968 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:08.971 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:08.973 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.913853ms] ["completed regions"=1] [2025/04/04 10:50:08.973 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:08.977 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:08.978 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.339696ms] ["completed regions"=1] [2025/04/04 10:50:08.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:08.981 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:08.983 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.154087ms] ["completed regions"=1] [2025/04/04 10:50:08.983 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:08.986 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:08.987 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.033167ms] ["completed regions"=1] [2025/04/04 10:50:08.987 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:08.990 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:08.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.887748ms] ["completed regions"=1] [2025/04/04 10:50:08.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:08.994 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:08.995 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.823688ms] ["completed regions"=1] [2025/04/04 10:50:08.996 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:08.998 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:08.999 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.641491ms] ["completed regions"=1] [2025/04/04 10:50:09.000 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:09.002 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:09.003 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.62567ms] ["completed regions"=1] [2025/04/04 10:50:09.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:09.006 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:09.008 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.763989ms] ["completed regions"=1] [2025/04/04 10:50:09.008 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:09.011 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:09.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.743244ms] ["completed regions"=1] [2025/04/04 10:50:09.012 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:09.014 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:09.016 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.587355ms] ["completed regions"=1] [2025/04/04 10:50:09.016 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:09.018 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:09.019 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.469309ms] ["completed regions"=1] [2025/04/04 10:50:09.019 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:09.022 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:09.023 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.255127ms] ["completed regions"=1] [2025/04/04 10:50:09.023 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:09.026 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:09.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.314828ms] ["completed regions"=1] [2025/04/04 10:50:09.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:09.029 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:09.030 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.320555ms] ["completed regions"=1] [2025/04/04 10:50:09.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:09.033 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:09.034 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.164861ms] ["completed regions"=1] [2025/04/04 10:50:09.034 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:09.036 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:09.037 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.166865ms] ["completed regions"=1] [2025/04/04 10:50:09.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:09.040 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:09.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.240853ms] ["completed regions"=1] [2025/04/04 10:50:09.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:09.044 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:09.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.285638ms] ["completed regions"=1] [2025/04/04 10:50:09.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:09.047 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:09.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.086902ms] ["completed regions"=1] [2025/04/04 10:50:09.048 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:09.051 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:09.052 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.983159ms] ["completed regions"=1] [2025/04/04 10:50:09.052 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:09.054 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:09.055 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.852043ms] ["completed regions"=1] [2025/04/04 10:50:09.055 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:09.057 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:09.058 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.754184ms] ["completed regions"=1] [2025/04/04 10:50:09.058 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:09.060 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:09.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.9546ms] ["completed regions"=1] [2025/04/04 10:50:09.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:09.063 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:09.064 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.764718ms] ["completed regions"=1] [2025/04/04 10:50:09.065 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:09.066 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:09.067 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.718545ms] ["completed regions"=1] [2025/04/04 10:50:09.068 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:09.069 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:09.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.588664ms] ["completed regions"=1] [2025/04/04 10:50:09.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:09.072 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:09.073 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.688048ms] ["completed regions"=1] [2025/04/04 10:50:09.074 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:09.075 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:09.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.559502ms] ["completed regions"=1] [2025/04/04 10:50:09.076 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:09.078 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:09.079 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.5871ms] ["completed regions"=1] [2025/04/04 10:50:09.079 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:09.081 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:09.082 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.458726ms] ["completed regions"=1] [2025/04/04 10:50:09.082 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:09.084 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:09.085 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.224583ms] ["completed regions"=1] [2025/04/04 10:50:09.085 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:09.086 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:09.087 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.244819ms] ["completed regions"=1] [2025/04/04 10:50:09.087 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:09.089 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:09.090 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.170349ms] ["completed regions"=1] [2025/04/04 10:50:09.090 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:09.091 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:09.092 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.329003ms] ["completed regions"=1] [2025/04/04 10:50:09.092 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:09.094 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:09.095 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.191121ms] ["completed regions"=1] [2025/04/04 10:50:09.095 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:09.096 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:09.097 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.148292ms] ["completed regions"=1] [2025/04/04 10:50:09.098 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:09.099 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:09.100 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.082873ms] ["completed regions"=1] [2025/04/04 10:50:09.100 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:09.102 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:09.103 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.022004ms] ["completed regions"=1] [2025/04/04 10:50:09.103 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:09.104 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:09.105 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.063101ms] ["completed regions"=1] [2025/04/04 10:50:09.105 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:09.106 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:09.107 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.919407ms] ["completed regions"=1] [2025/04/04 10:50:09.108 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:09.109 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:09.110 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.033426ms] ["completed regions"=1] [2025/04/04 10:50:09.110 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:09.111 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:09.112 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:09.114 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:09.114 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.974528ms] ["completed regions"=3] [2025/04/04 10:50:09.121 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/04 10:50:09.127 +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-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.128 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:09.131 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:09.133 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:50:09.133 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.466047ms] ["completed regions"=1] [2025/04/04 10:50:09.133 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:09.137 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:09.138 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:50:09.138 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.284626ms] ["completed regions"=1] [2025/04/04 10:50:09.139 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:09.142 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:09.143 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:50:09.143 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.100317ms] ["completed regions"=1] [2025/04/04 10:50:09.143 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:09.146 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:09.147 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:50:09.147 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.95798ms] ["completed regions"=1] [2025/04/04 10:50:09.147 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:09.150 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:09.151 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:50:09.151 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.839835ms] ["completed regions"=1] [2025/04/04 10:50:09.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:09.154 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:09.156 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:50:09.156 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.98658ms] ["completed regions"=1] [2025/04/04 10:50:09.156 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:09.159 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:09.160 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:50:09.160 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.781654ms] ["completed regions"=1] [2025/04/04 10:50:09.160 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:09.163 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:09.164 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:50:09.164 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.767169ms] ["completed regions"=1] [2025/04/04 10:50:09.164 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:09.167 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:09.168 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:50:09.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.756652ms] ["completed regions"=1] [2025/04/04 10:50:09.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:09.171 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:09.172 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:50:09.172 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.373792ms] ["completed regions"=1] [2025/04/04 10:50:09.172 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:09.174 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:09.176 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:50:09.176 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.555718ms] ["completed regions"=1] [2025/04/04 10:50:09.176 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:09.178 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:09.179 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:50:09.179 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.540205ms] ["completed regions"=1] [2025/04/04 10:50:09.180 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:09.182 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:09.183 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:50:09.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.257073ms] ["completed regions"=1] [2025/04/04 10:50:09.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:09.185 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:09.186 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:50:09.187 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.167336ms] ["completed regions"=1] [2025/04/04 10:50:09.187 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:09.189 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:09.190 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:50:09.190 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.367588ms] ["completed regions"=1] [2025/04/04 10:50:09.190 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:09.193 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:09.194 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:50:09.194 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.317994ms] ["completed regions"=1] [2025/04/04 10:50:09.194 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:09.196 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:09.197 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:50:09.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.1875ms] ["completed regions"=1] [2025/04/04 10:50:09.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:09.200 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:09.201 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:50:09.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.190505ms] ["completed regions"=1] [2025/04/04 10:50:09.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:09.203 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:09.205 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:50:09.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.524217ms] ["completed regions"=1] [2025/04/04 10:50:09.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:09.207 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:09.208 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:50:09.208 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.186966ms] ["completed regions"=1] [2025/04/04 10:50:09.208 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:09.211 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:09.211 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:50:09.212 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.90448ms] ["completed regions"=1] [2025/04/04 10:50:09.212 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:09.214 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:09.215 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:50:09.215 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.964932ms] ["completed regions"=1] [2025/04/04 10:50:09.215 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:09.217 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:09.218 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:50:09.218 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.943194ms] ["completed regions"=1] [2025/04/04 10:50:09.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:09.220 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:09.222 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:50:09.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.258548ms] ["completed regions"=1] [2025/04/04 10:50:09.222 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:09.224 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:09.225 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:50:09.225 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.943098ms] ["completed regions"=1] [2025/04/04 10:50:09.225 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:09.227 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:09.228 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:50:09.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.823211ms] ["completed regions"=1] [2025/04/04 10:50:09.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:09.230 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:09.231 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:50:09.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.645718ms] ["completed regions"=1] [2025/04/04 10:50:09.231 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:09.233 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:09.234 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:50:09.234 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.707119ms] ["completed regions"=1] [2025/04/04 10:50:09.234 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:09.236 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:09.237 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:50:09.237 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.646497ms] ["completed regions"=1] [2025/04/04 10:50:09.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:09.239 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:09.240 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:50:09.240 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.591012ms] ["completed regions"=1] [2025/04/04 10:50:09.240 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:09.242 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:09.243 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:50:09.243 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.752759ms] ["completed regions"=1] [2025/04/04 10:50:09.243 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:09.245 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:09.246 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:50:09.246 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.376806ms] ["completed regions"=1] [2025/04/04 10:50:09.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:09.248 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:09.249 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:50:09.249 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.359534ms] ["completed regions"=1] [2025/04/04 10:50:09.249 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:09.250 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:09.251 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:50:09.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.332853ms] ["completed regions"=1] [2025/04/04 10:50:09.251 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:09.253 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:09.254 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:50:09.254 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.191958ms] ["completed regions"=1] [2025/04/04 10:50:09.254 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:09.255 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:09.256 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:50:09.256 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.228476ms] ["completed regions"=1] [2025/04/04 10:50:09.256 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:09.258 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:09.259 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:50:09.259 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.160079ms] ["completed regions"=1] [2025/04/04 10:50:09.259 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:09.260 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:09.261 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:50:09.261 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.075908ms] ["completed regions"=1] [2025/04/04 10:50:09.261 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:09.262 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:09.263 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:50:09.264 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.992602ms] ["completed regions"=1] [2025/04/04 10:50:09.264 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:09.265 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:09.266 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:50:09.266 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.02498ms] ["completed regions"=1] [2025/04/04 10:50:09.266 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:09.267 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:09.268 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:50:09.268 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.87239ms] ["completed regions"=1] [2025/04/04 10:50:09.268 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:09.269 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:09.270 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:50:09.270 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.717557ms] ["completed regions"=1] [2025/04/04 10:50:09.270 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:09.271 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:09.272 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:09.273 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:09.274 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:50:09.274 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.909394ms] ["completed regions"=3] [2025/04/04 10:50:09.274 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:50:09.290 +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/04 10:50:09.380 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=89.94332ms] [2025/04/04 10:50:09.380 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:09.384 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=176] [2025/04/04 10:50:09.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=176] ["take time"=97.873587ms] [job="ID:183, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.465 +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-04 10:50:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.478 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 10:50:09.479 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.692334578\n# Parse_time: 0.000066789\n# Compile_time: 0.000297263\n# Rewrite_time: 0.00000358\n# Optimize_time: 0.000069277\n# Wait_TS: 0.000428173\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-04 10:50:08.782000';"] [2025/04/04 10:50:09.550 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:50:10.485 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=176] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 10:50:10.486 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:50:10.482 +0000 UTC"] [2025/04/04 10:50:10.500 +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-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:10.500 +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-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:50:10.482000'"] [2025/04/04 10:50:10.506 +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-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:10.513 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/04 10:50:10.521 +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-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:10.587 +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/04 10:50:10.590 +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=151] [indexID=1] [2025/04/04 10:50:10.592 +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/04 10:50:10.594 +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/04 10:50:10.597 +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/04 10:50:10.632 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=132.152Β΅s] [gotSchemaVersion=177] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:50:10.635 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=177] [2025/04/04 10:50:10.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=177] ["take time"=7.325717ms] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:10.646 +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-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:10.648 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:10.653 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:10.654 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.452297ms] ["completed regions"=1] [2025/04/04 10:50:10.654 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:10.658 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:10.659 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.48162ms] ["completed regions"=1] [2025/04/04 10:50:10.659 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:10.662 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:10.663 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.246599ms] ["completed regions"=1] [2025/04/04 10:50:10.664 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:10.667 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:10.669 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=5.224781ms] ["completed regions"=1] [2025/04/04 10:50:10.669 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:10.673 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:10.674 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.027422ms] ["completed regions"=1] [2025/04/04 10:50:10.674 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:10.677 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:10.678 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.868767ms] ["completed regions"=1] [2025/04/04 10:50:10.678 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:10.681 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:10.683 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.05109ms] ["completed regions"=1] [2025/04/04 10:50:10.683 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:10.686 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:10.687 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.057793ms] ["completed regions"=1] [2025/04/04 10:50:10.687 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:10.690 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:10.692 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.966539ms] ["completed regions"=1] [2025/04/04 10:50:10.692 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:10.695 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:10.696 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.918935ms] ["completed regions"=1] [2025/04/04 10:50:10.696 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:10.699 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:10.701 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.07391ms] ["completed regions"=1] [2025/04/04 10:50:10.701 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:10.703 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:10.705 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.844413ms] ["completed regions"=1] [2025/04/04 10:50:10.705 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:10.708 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:10.709 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.876275ms] ["completed regions"=1] [2025/04/04 10:50:10.709 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:10.712 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:10.714 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.133441ms] ["completed regions"=1] [2025/04/04 10:50:10.714 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:10.717 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:10.718 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.519418ms] ["completed regions"=1] [2025/04/04 10:50:10.718 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:10.721 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:10.722 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.653014ms] ["completed regions"=1] [2025/04/04 10:50:10.722 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:10.724 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:10.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.394005ms] ["completed regions"=1] [2025/04/04 10:50:10.726 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:10.728 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:10.729 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.341692ms] ["completed regions"=1] [2025/04/04 10:50:10.729 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:10.732 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:10.733 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.090241ms] ["completed regions"=1] [2025/04/04 10:50:10.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:10.735 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:10.736 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.965798ms] ["completed regions"=1] [2025/04/04 10:50:10.736 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:10.739 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:10.740 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.51734ms] ["completed regions"=1] [2025/04/04 10:50:10.740 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:10.743 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:10.744 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.16978ms] ["completed regions"=1] [2025/04/04 10:50:10.744 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:10.746 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:10.747 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.256072ms] ["completed regions"=1] [2025/04/04 10:50:10.747 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:10.749 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:10.750 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.745474ms] ["completed regions"=1] [2025/04/04 10:50:10.751 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:10.753 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:10.754 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.780258ms] ["completed regions"=1] [2025/04/04 10:50:10.754 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:10.756 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:10.757 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.739038ms] ["completed regions"=1] [2025/04/04 10:50:10.757 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:10.759 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:10.760 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.013444ms] ["completed regions"=1] [2025/04/04 10:50:10.760 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:10.762 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:10.763 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.907007ms] ["completed regions"=1] [2025/04/04 10:50:10.763 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:10.765 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:10.766 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.739266ms] ["completed regions"=1] [2025/04/04 10:50:10.766 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:10.768 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:10.769 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.521652ms] ["completed regions"=1] [2025/04/04 10:50:10.769 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:10.771 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:10.772 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.370559ms] ["completed regions"=1] [2025/04/04 10:50:10.772 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:10.774 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:10.775 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.550548ms] ["completed regions"=1] [2025/04/04 10:50:10.775 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:10.777 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:10.778 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.467685ms] ["completed regions"=1] [2025/04/04 10:50:10.778 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:10.779 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:10.780 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.314949ms] ["completed regions"=1] [2025/04/04 10:50:10.780 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:10.782 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:10.783 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.131108ms] ["completed regions"=1] [2025/04/04 10:50:10.783 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:10.784 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:10.785 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.203617ms] ["completed regions"=1] [2025/04/04 10:50:10.786 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:10.787 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:10.789 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.552495ms] ["completed regions"=1] [2025/04/04 10:50:10.789 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:10.790 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:10.791 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.208719ms] ["completed regions"=1] [2025/04/04 10:50:10.791 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:10.792 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:10.794 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.042629ms] ["completed regions"=1] [2025/04/04 10:50:10.794 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:10.795 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:10.796 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.122381ms] ["completed regions"=1] [2025/04/04 10:50:10.796 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:10.797 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:10.798 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.056711ms] ["completed regions"=1] [2025/04/04 10:50:10.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:10.800 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:10.801 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.838169ms] ["completed regions"=1] [2025/04/04 10:50:10.801 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:10.802 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:10.803 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:10.804 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:10.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.111241ms] ["completed regions"=3] [2025/04/04 10:50:10.812 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/04 10:50:10.818 +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-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:10.819 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:10.823 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:10.824 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:50:10.824 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.047342ms] ["completed regions"=1] [2025/04/04 10:50:10.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:10.828 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:10.829 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:50:10.829 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.275821ms] ["completed regions"=1] [2025/04/04 10:50:10.829 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:10.832 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:10.833 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:50:10.833 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.100018ms] ["completed regions"=1] [2025/04/04 10:50:10.833 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:10.837 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:10.838 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:50:10.838 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.376528ms] ["completed regions"=1] [2025/04/04 10:50:10.838 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:10.841 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:10.842 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:50:10.843 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.224915ms] ["completed regions"=1] [2025/04/04 10:50:10.843 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:10.846 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:10.847 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:50:10.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.80559ms] ["completed regions"=1] [2025/04/04 10:50:10.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:10.850 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:10.851 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:50:10.851 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.203462ms] ["completed regions"=1] [2025/04/04 10:50:10.851 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:10.855 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:10.856 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:50:10.856 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.034399ms] ["completed regions"=1] [2025/04/04 10:50:10.856 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:10.859 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:10.860 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:50:10.860 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.170189ms] ["completed regions"=1] [2025/04/04 10:50:10.860 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:10.863 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:10.864 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:50:10.865 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.958068ms] ["completed regions"=1] [2025/04/04 10:50:10.865 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:10.867 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:10.868 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:50:10.869 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.65218ms] ["completed regions"=1] [2025/04/04 10:50:10.869 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:10.871 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:10.873 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:50:10.873 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.653897ms] ["completed regions"=1] [2025/04/04 10:50:10.873 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:10.875 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:10.877 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:50:10.877 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.733524ms] ["completed regions"=1] [2025/04/04 10:50:10.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:10.879 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:10.881 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:50:10.881 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.795855ms] ["completed regions"=1] [2025/04/04 10:50:10.881 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:10.883 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:10.884 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:50:10.884 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.26498ms] ["completed regions"=1] [2025/04/04 10:50:10.884 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:10.887 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:10.888 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:50:10.889 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.751229ms] ["completed regions"=1] [2025/04/04 10:50:10.889 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:10.891 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:10.892 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:50:10.892 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.34709ms] ["completed regions"=1] [2025/04/04 10:50:10.892 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:10.895 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:10.896 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:50:10.896 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.84436ms] ["completed regions"=1] [2025/04/04 10:50:10.897 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:10.899 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:10.901 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:50:10.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=4.385844ms] ["completed regions"=1] [2025/04/04 10:50:10.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:10.904 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:10.905 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:50:10.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.266394ms] ["completed regions"=1] [2025/04/04 10:50:10.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:10.907 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:10.908 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:50:10.908 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.147282ms] ["completed regions"=1] [2025/04/04 10:50:10.909 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:10.911 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:10.912 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:50:10.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.185631ms] ["completed regions"=1] [2025/04/04 10:50:10.912 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:10.914 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:10.915 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:50:10.915 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.913721ms] ["completed regions"=1] [2025/04/04 10:50:10.915 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:10.917 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:10.918 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:50:10.918 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.87294ms] ["completed regions"=1] [2025/04/04 10:50:10.919 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:10.921 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:10.922 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:50:10.922 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.844155ms] ["completed regions"=1] [2025/04/04 10:50:10.922 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:10.924 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:10.925 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:50:10.925 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.77899ms] ["completed regions"=1] [2025/04/04 10:50:10.925 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:10.927 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:10.928 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:50:10.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.705475ms] ["completed regions"=1] [2025/04/04 10:50:10.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:10.930 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:10.931 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:50:10.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.707642ms] ["completed regions"=1] [2025/04/04 10:50:10.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:10.933 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:10.934 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:50:10.934 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.517182ms] ["completed regions"=1] [2025/04/04 10:50:10.934 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:10.935 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:10.936 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:50:10.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.452362ms] ["completed regions"=1] [2025/04/04 10:50:10.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:10.938 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:10.940 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:50:10.940 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.742524ms] ["completed regions"=1] [2025/04/04 10:50:10.940 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:10.941 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:10.942 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:50:10.942 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.368294ms] ["completed regions"=1] [2025/04/04 10:50:10.942 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:10.944 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:10.945 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:50:10.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.315739ms] ["completed regions"=1] [2025/04/04 10:50:10.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:10.947 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:10.948 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:50:10.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.509734ms] ["completed regions"=1] [2025/04/04 10:50:10.948 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:10.949 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:10.950 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:50:10.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.317863ms] ["completed regions"=1] [2025/04/04 10:50:10.951 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:10.952 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:10.953 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:50:10.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.315526ms] ["completed regions"=1] [2025/04/04 10:50:10.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:10.955 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:10.955 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:50:10.956 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.101337ms] ["completed regions"=1] [2025/04/04 10:50:10.956 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:10.957 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:10.958 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:50:10.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.225809ms] ["completed regions"=1] [2025/04/04 10:50:10.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:10.959 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:10.960 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:50:10.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.051635ms] ["completed regions"=1] [2025/04/04 10:50:10.961 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:10.962 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:10.963 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:50:10.963 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.990838ms] ["completed regions"=1] [2025/04/04 10:50:10.963 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:10.964 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:10.965 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:50:10.965 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.840849ms] ["completed regions"=1] [2025/04/04 10:50:10.965 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:10.966 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:10.967 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:50:10.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.822801ms] ["completed regions"=1] [2025/04/04 10:50:10.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:10.968 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:10.969 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:10.970 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:10.971 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:50:10.971 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.754818ms] ["completed regions"=3] [2025/04/04 10:50:10.971 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:50:10.986 +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/04 10:50:11.071 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=84.70065ms] [2025/04/04 10:50:11.071 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:11.075 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=178] [2025/04/04 10:50:11.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=178] ["take time"=92.536535ms] [job="ID:184, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:11.151 +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-04 10:50:10.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:11.163 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/04 10:50:11.164 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.678099746\n# Parse_time: 0.000092314\n# Compile_time: 0.000265552\n# Rewrite_time: 0.000010094\n# Optimize_time: 0.001846019\n# Wait_TS: 0.000371114\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-04 10:50:10.482000';"] [2025/04/04 10:50:11.164 +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/04 10:50:11.165 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:11.165 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:11.165 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [] [2025/04/04 10:50:11.165 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.165 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:11.165 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:11.165 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=123.585Β΅s] [2025/04/04 10:50:11.165 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=59.059Β΅s] [2025/04/04 10:50:11.166 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=34.394Β΅s] [2025/04/04 10:50:11.166 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.166 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.167 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:11.167 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:11.168 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=05f5b738-d551-4551-8dae-bb5df9e0e38d] ["take time"=3.902416ms] [2025/04/04 10:50:11.169 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.169 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:11.169 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:50:11.169 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a61b67e9-a424-412b-b439-b4299351d862] [watcherID=cabe36e6-65d5-4b23-87ed-26d030ab7476] [2025/04/04 10:50:11.169 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a61b67e9-a424-412b-b439-b4299351d862] [2025/04/04 10:50:11.169 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [ttl-worker=task-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [originalCount=4] [newCount=0] [2025/04/04 10:50:11.169 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:11.169 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:11.169 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:11.169 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:11.169 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [ttl-worker=task-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [originalCount=4] [newCount=0] [2025/04/04 10:50:11.171 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:11.172 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:11.172 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:11.172 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:11.174 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.174 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1772] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.175 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:11.175 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:11.176 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:50:11.175 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [] [2025/04/04 10:50:11.176 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:11.176 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [2025/04/04 10:50:11.176 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:11.176 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:11.175 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:11.175 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [] [2025/04/04 10:50:11.175 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:50:11.175 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.176 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:11.176 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:11.176 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:11.175 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:11.175 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:11.176 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:11.176 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:11.175 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:11.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:11.176 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:50:11.176 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.177 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.177 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:11.177 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:11.177 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:11.177 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:11.177 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:11.177 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:11.177 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:11.177 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:11.177 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5827690d-a69d-497e-be77-3cf6609fe4ec] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:11.177 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:11.177 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:11.177 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:11.177 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [error="context canceled"] [2025/04/04 10:50:11.177 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:11.177 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:11.177 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:11.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:11.178 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [error="context canceled"] [2025/04/04 10:50:11.178 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [2025/04/04 10:50:11.180 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:11.180 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:11.240 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=05f5b738-d551-4551-8dae-bb5df9e0e38d] [error="context canceled"] [2025/04/04 10:50:11.240 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:11.240 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:11.253 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.405661ms] [2025/04/04 10:50:11.256 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:11.256 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:11.256 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:11.256 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:11.256 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:11.256 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:11.256 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:11.256 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:11.256 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:11.256 +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/04 10:50:11.256 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:11.256 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:11.257 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackTmpTable (3.90s) === NAME === RUN TestFlashbackInProcessErrorMsg [2025/04/04 10:50:11.266 +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/04 10:50:11.266 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 10:50:11.267 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407893498015022] [2025/04/04 10:50:11.268 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:11.268 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 10:50:11.268 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:11.268 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:11.268 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:11.268 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:11.269 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:11.269 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:11.273 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:11.278 +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/04 10:50:11.278 +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/04 10:50:11.279 +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/04 10:50:11.293 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407893498015022] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:11.304 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:11.341 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=285] ["lease id"=3eaa960069d88066] [2025/04/04 10:50:11.343 +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/04 10:50:11.442 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=178] ["elapsed time"=95.650465ms] [2025/04/04 10:50:11.442 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:11.445 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:11.451 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8f2e4592-fde6-40d0-a957-a271cace00b0] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:11.451 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:11.454 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:11.455 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:11.455 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 295533719552/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:11.455 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:11.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:11.455 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:11.456 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [2025/04/04 10:50:11.457 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d8806c] [ownerID=8f2e4592-fde6-40d0-a957-a271cace00b0] [op=none] [2025/04/04 10:50:11.457 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:11.457 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [ownerKey=/tidb/ddl/fg/owner/3eaa960069d8806c] [currRev=916] [2025/04/04 10:50:11.458 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:11.458 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:11.459 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:11.459 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069d87c1a] [ownerID=aecacfee-f08e-46a9-a25c-2a122386afe6] [op=none] [2025/04/04 10:50:11.459 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [2025/04/04 10:50:11.459 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [ownerKey=/tidb/br-stream/owner/2231960069d87c1a] [currRev=917] [2025/04/04 10:50:11.460 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069d8806c] [ownerID=8f2e4592-fde6-40d0-a957-a271cace00b0] [op=none] [2025/04/04 10:50:11.460 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [op=none] [2025/04/04 10:50:11.460 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:11.464 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:11.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:11.465 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:11.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:11.482 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:11.488 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:11.488 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:11.488 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:11.488 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:11.488 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:11.488 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:11.488 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:11.488 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:11.488 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:11.489 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:11.489 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:11.490 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:11.490 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:11.490 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:11.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:11.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:11.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:11.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:11.492 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069d88074] [ownerID=8f2e4592-fde6-40d0-a957-a271cace00b0] [op=none] [2025/04/04 10:50:11.492 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:11.492 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [ownerKey=/tidb/stats/owner/3eaa960069d88074] [currRev=919] [2025/04/04 10:50:11.492 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:11.494 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/7385cfcd-2341-46a2-a6dc-34baf34d4836] [2025/04/04 10:50:11.495 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [ttl-worker=task-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [originalCount=0] [newCount=4] [2025/04/04 10:50:11.495 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [ttl-worker=task-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [originalCount=0] [newCount=4] [2025/04/04 10:50:11.495 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:11.495 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:11.496 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:11.496 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:11.496 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763811496813971 [2025/04/04 10:50:11.500 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:11.506 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.575696ms] [2025/04/04 10:50:11.506 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:11.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:11.510 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:11.530 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743763811532594563 [2025/04/04 10:50:11.551 +00:00] [INFO] [set.go:172] ["set global var"] [conn=24] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:11.565 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=178] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:50:11.579 +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-04 10:50:11.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:11.579 +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-04 10:50:11.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/04 10:50:11.585 +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-04 10:50:11.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:11.590 +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/04 10:50:11.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.57324ms] [gotSchemaVersion=179] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:11.608 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=179] [2025/04/04 10:50:11.609 +00:00] [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"=8.976888ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:11.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:11.622 +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-04 10:50:11.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:11.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/04 10:50:11.634 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=179] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/04 10:50:12.465 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:50:12.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:12.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:12.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:12.495 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:50:12.495 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:50:12.495 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/7385cfcd-2341-46a2-a6dc-34baf34d4836] [watcherID=346b022c-de92-468f-a8c0-4db4028b6286] [2025/04/04 10:50:12.496 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:50:12.502 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:50:12.502 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:50:12.502 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:50:12.502 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:50:12.637 +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/04 10:50:12.649 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 10:50:12.649 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/04 10:50:12.655 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.656 +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-04 10:50:12.632 +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/04 10:50:12.671 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.638183ms] [gotSchemaVersion=180] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:50:12.675 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=180] [2025/04/04 10:50:12.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=180] ["take time"=8.945596ms] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.686 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.54554ms] [gotSchemaVersion=181] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:50:12.705 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=181] [2025/04/04 10:50:12.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=181] ["take time"=9.067697ms] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.715 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.731 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=1.596935ms] [gotSchemaVersion=182] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:50:12.735 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=182] [2025/04/04 10:50:12.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=182] ["take time"=8.675345ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.745 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.748 +00:00] [INFO] [index.go:1382] ["table is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/04 10:50:12.762 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=1.50928ms] [gotSchemaVersion=183] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:50:12.766 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=183] [2025/04/04 10:50:12.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=183] ["take time"=8.799267ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.777 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.779 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=187] [table=t] [index=k] [2025/04/04 10:50:12.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=1.59605ms] [gotSchemaVersion=184] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:50:12.798 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=184] [2025/04/04 10:50:12.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=184] ["take time"=9.242835ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.808 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.810 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/04 10:50:12.814 +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/04 10:50:12.817 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/04 10:50:12.829 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.533155ms] [gotSchemaVersion=185] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 10:50:12.833 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=185] [2025/04/04 10:50:12.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=185] ["take time"=8.805295ms] [job="ID:187, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.844 +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/04 10:50:12.851 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="add index"] [2025/04/04 10:50:12.852 +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-04 10:50:12.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 10:50:12.872 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 10:50:12.872 +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/04 10:50:12.881 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 10:50:12.632 +0000 UTC"] [2025/04/04 10:50:12.894 +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-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:12.893 +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-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 10:50:12.632000'"] [2025/04/04 10:50:12.900 +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-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:12.906 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/04 10:50:12.913 +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-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:12.980 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=300ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 10:50:13.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=159.865Β΅s] [gotSchemaVersion=186] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 10:50:13.015 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=186] [2025/04/04 10:50:13.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=186] ["take time"=6.958986ms] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.026 +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-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.059 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:13.063 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:13.065 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.17386ms] ["completed regions"=1] [2025/04/04 10:50:13.065 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:13.070 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:13.071 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.557824ms] ["completed regions"=1] [2025/04/04 10:50:13.071 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:13.075 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:13.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.123945ms] ["completed regions"=1] [2025/04/04 10:50:13.076 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:13.079 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:13.080 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.444337ms] ["completed regions"=1] [2025/04/04 10:50:13.081 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:13.084 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:13.085 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.184109ms] ["completed regions"=1] [2025/04/04 10:50:13.085 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:13.088 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:13.089 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.824738ms] ["completed regions"=1] [2025/04/04 10:50:13.089 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:13.093 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:13.094 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.820115ms] ["completed regions"=1] [2025/04/04 10:50:13.094 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:13.097 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:13.098 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.809433ms] ["completed regions"=1] [2025/04/04 10:50:13.098 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:13.101 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:13.102 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.027706ms] ["completed regions"=1] [2025/04/04 10:50:13.102 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:13.105 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:13.107 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.817884ms] ["completed regions"=1] [2025/04/04 10:50:13.107 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:13.109 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:13.111 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.625927ms] ["completed regions"=1] [2025/04/04 10:50:13.111 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:13.113 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:13.115 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.252386ms] ["completed regions"=1] [2025/04/04 10:50:13.115 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:13.118 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:13.119 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.718552ms] ["completed regions"=1] [2025/04/04 10:50:13.119 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:13.122 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:13.124 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.991389ms] ["completed regions"=1] [2025/04/04 10:50:13.124 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:13.127 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:13.128 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.573367ms] ["completed regions"=1] [2025/04/04 10:50:13.128 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:13.131 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:13.132 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.98992ms] ["completed regions"=1] [2025/04/04 10:50:13.133 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:13.135 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:13.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.5911ms] ["completed regions"=1] [2025/04/04 10:50:13.137 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:13.139 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:13.140 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.309551ms] ["completed regions"=1] [2025/04/04 10:50:13.140 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:13.143 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:13.144 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.480624ms] ["completed regions"=1] [2025/04/04 10:50:13.144 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:13.147 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:13.148 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.168121ms] ["completed regions"=1] [2025/04/04 10:50:13.148 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:13.150 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:13.151 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.981062ms] ["completed regions"=1] [2025/04/04 10:50:13.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:13.153 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:13.155 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.210651ms] ["completed regions"=1] [2025/04/04 10:50:13.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:13.157 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:13.158 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.182678ms] ["completed regions"=1] [2025/04/04 10:50:13.158 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:13.160 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:13.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.033184ms] ["completed regions"=1] [2025/04/04 10:50:13.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:13.164 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:13.165 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.922083ms] ["completed regions"=1] [2025/04/04 10:50:13.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:13.167 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:13.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.656262ms] ["completed regions"=1] [2025/04/04 10:50:13.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:13.170 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:13.172 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.21666ms] ["completed regions"=1] [2025/04/04 10:50:13.172 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:13.173 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:13.175 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.637059ms] ["completed regions"=1] [2025/04/04 10:50:13.175 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:13.176 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:13.178 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.627679ms] ["completed regions"=1] [2025/04/04 10:50:13.178 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:13.179 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:13.181 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.71292ms] ["completed regions"=1] [2025/04/04 10:50:13.181 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:13.183 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:13.184 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.758288ms] ["completed regions"=1] [2025/04/04 10:50:13.184 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:13.186 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:13.187 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.655338ms] ["completed regions"=1] [2025/04/04 10:50:13.187 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:13.188 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:13.189 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.282075ms] ["completed regions"=1] [2025/04/04 10:50:13.190 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:13.191 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:13.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.631121ms] ["completed regions"=1] [2025/04/04 10:50:13.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:13.194 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:13.195 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.226932ms] ["completed regions"=1] [2025/04/04 10:50:13.195 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:13.196 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:13.198 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.130466ms] ["completed regions"=1] [2025/04/04 10:50:13.198 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:13.199 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:13.200 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.006596ms] ["completed regions"=1] [2025/04/04 10:50:13.200 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:13.201 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:13.202 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.10285ms] ["completed regions"=1] [2025/04/04 10:50:13.202 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:13.204 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:13.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.464344ms] ["completed regions"=1] [2025/04/04 10:50:13.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:13.206 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:13.208 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.169892ms] ["completed regions"=1] [2025/04/04 10:50:13.208 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:13.209 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:13.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.990346ms] ["completed regions"=1] [2025/04/04 10:50:13.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:13.211 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:13.212 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.832999ms] ["completed regions"=1] [2025/04/04 10:50:13.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:13.214 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:13.215 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:13.216 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:13.217 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.279501ms] ["completed regions"=3] [2025/04/04 10:50:13.223 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/04 10:50:13.230 +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-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.231 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 10:50:13.235 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 10:50:13.237 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 10:50:13.237 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.574659ms] ["completed regions"=1] [2025/04/04 10:50:13.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 10:50:13.240 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 10:50:13.241 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 10:50:13.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.074982ms] ["completed regions"=1] [2025/04/04 10:50:13.242 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 10:50:13.245 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 10:50:13.246 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 10:50:13.246 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.055876ms] ["completed regions"=1] [2025/04/04 10:50:13.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 10:50:13.249 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 10:50:13.250 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 10:50:13.250 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.016621ms] ["completed regions"=1] [2025/04/04 10:50:13.250 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 10:50:13.253 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 10:50:13.254 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 10:50:13.254 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.836195ms] ["completed regions"=1] [2025/04/04 10:50:13.255 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 10:50:13.257 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 10:50:13.259 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 10:50:13.259 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.913642ms] ["completed regions"=1] [2025/04/04 10:50:13.259 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 10:50:13.262 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 10:50:13.263 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 10:50:13.263 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.779087ms] ["completed regions"=1] [2025/04/04 10:50:13.263 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 10:50:13.266 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 10:50:13.267 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 10:50:13.267 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.704092ms] ["completed regions"=1] [2025/04/04 10:50:13.267 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 10:50:13.270 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 10:50:13.271 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 10:50:13.271 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.741212ms] ["completed regions"=1] [2025/04/04 10:50:13.271 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 10:50:13.274 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 10:50:13.275 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 10:50:13.275 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.904271ms] ["completed regions"=1] [2025/04/04 10:50:13.275 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 10:50:13.278 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 10:50:13.279 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 10:50:13.279 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.726387ms] ["completed regions"=1] [2025/04/04 10:50:13.279 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 10:50:13.282 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 10:50:13.284 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 10:50:13.284 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.510295ms] ["completed regions"=1] [2025/04/04 10:50:13.284 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 10:50:13.287 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 10:50:13.288 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 10:50:13.288 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.428786ms] ["completed regions"=1] [2025/04/04 10:50:13.288 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 10:50:13.291 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 10:50:13.292 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 10:50:13.292 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.492427ms] ["completed regions"=1] [2025/04/04 10:50:13.292 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 10:50:13.295 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 10:50:13.296 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 10:50:13.296 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.530956ms] ["completed regions"=1] [2025/04/04 10:50:13.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 10:50:13.298 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 10:50:13.300 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 10:50:13.300 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.459362ms] ["completed regions"=1] [2025/04/04 10:50:13.300 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 10:50:13.302 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 10:50:13.303 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 10:50:13.303 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.387339ms] ["completed regions"=1] [2025/04/04 10:50:13.304 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 10:50:13.306 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 10:50:13.307 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 10:50:13.307 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.615827ms] ["completed regions"=1] [2025/04/04 10:50:13.307 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 10:50:13.310 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 10:50:13.311 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 10:50:13.311 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.263658ms] ["completed regions"=1] [2025/04/04 10:50:13.311 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 10:50:13.314 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 10:50:13.315 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 10:50:13.315 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.561278ms] ["completed regions"=1] [2025/04/04 10:50:13.315 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 10:50:13.317 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 10:50:13.318 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 10:50:13.318 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.035705ms] ["completed regions"=1] [2025/04/04 10:50:13.319 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 10:50:13.321 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 10:50:13.322 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 10:50:13.322 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.249848ms] ["completed regions"=1] [2025/04/04 10:50:13.322 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 10:50:13.324 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 10:50:13.326 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 10:50:13.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.126642ms] ["completed regions"=1] [2025/04/04 10:50:13.326 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 10:50:13.328 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 10:50:13.329 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 10:50:13.329 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.853254ms] ["completed regions"=1] [2025/04/04 10:50:13.329 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 10:50:13.331 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 10:50:13.332 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 10:50:13.332 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.679652ms] ["completed regions"=1] [2025/04/04 10:50:13.332 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 10:50:13.335 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 10:50:13.336 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 10:50:13.336 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.799533ms] ["completed regions"=1] [2025/04/04 10:50:13.336 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 10:50:13.338 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 10:50:13.339 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 10:50:13.339 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.746694ms] ["completed regions"=1] [2025/04/04 10:50:13.339 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 10:50:13.341 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 10:50:13.342 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 10:50:13.342 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.577085ms] ["completed regions"=1] [2025/04/04 10:50:13.342 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 10:50:13.344 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 10:50:13.345 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 10:50:13.345 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.479304ms] ["completed regions"=1] [2025/04/04 10:50:13.345 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 10:50:13.346 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 10:50:13.347 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 10:50:13.348 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.497952ms] ["completed regions"=1] [2025/04/04 10:50:13.348 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 10:50:13.349 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 10:50:13.350 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 10:50:13.350 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.383022ms] ["completed regions"=1] [2025/04/04 10:50:13.350 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 10:50:13.352 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 10:50:13.353 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 10:50:13.353 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.359501ms] ["completed regions"=1] [2025/04/04 10:50:13.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 10:50:13.355 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 10:50:13.356 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 10:50:13.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.228033ms] ["completed regions"=1] [2025/04/04 10:50:13.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 10:50:13.357 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 10:50:13.358 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 10:50:13.358 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.303629ms] ["completed regions"=1] [2025/04/04 10:50:13.358 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 10:50:13.360 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 10:50:13.361 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 10:50:13.361 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.134507ms] ["completed regions"=1] [2025/04/04 10:50:13.361 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 10:50:13.362 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 10:50:13.363 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 10:50:13.363 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.267578ms] ["completed regions"=1] [2025/04/04 10:50:13.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 10:50:13.365 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 10:50:13.366 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 10:50:13.366 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.108426ms] ["completed regions"=1] [2025/04/04 10:50:13.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 10:50:13.367 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 10:50:13.368 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 10:50:13.368 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.091441ms] ["completed regions"=1] [2025/04/04 10:50:13.368 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 10:50:13.370 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 10:50:13.371 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 10:50:13.371 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.262364ms] ["completed regions"=1] [2025/04/04 10:50:13.371 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 10:50:13.372 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 10:50:13.373 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 10:50:13.373 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.009932ms] ["completed regions"=1] [2025/04/04 10:50:13.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 10:50:13.375 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 10:50:13.376 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 10:50:13.376 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.908678ms] ["completed regions"=1] [2025/04/04 10:50:13.376 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 10:50:13.377 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 10:50:13.378 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 10:50:13.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.866548ms] ["completed regions"=1] [2025/04/04 10:50:13.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 10:50:13.379 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 10:50:13.380 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 10:50:13.381 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 10:50:13.384 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 10:50:13.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.510911ms] ["completed regions"=3] [2025/04/04 10:50:13.384 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 10:50:13.400 +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/04 10:50:13.455 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:50:13.491 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=91.075954ms] [2025/04/04 10:50:13.491 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:13.495 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=187] [2025/04/04 10:50:13.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=187] ["take time"=99.776583ms] [job="ID:188, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.583 +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-04 10:50:12.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.596 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/04 10:50:13.596 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 24\n# Query_time: 0.716519878\n# Parse_time: 0.000095218\n# Compile_time: 0.000333107\n# Rewrite_time: 0.000003396\n# Optimize_time: 0.000089113\n# Wait_TS: 0.000515891\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-04 10:50:12.632000';"] [2025/04/04 10:50:13.596 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:13.596 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:13.597 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [] [2025/04/04 10:50:13.597 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.597 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=188] [error="context canceled"] [2025/04/04 10:50:13.597 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:13.597 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp add index"] ["take time"=47.58Β΅s] [2025/04/04 10:50:13.597 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:13.597 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=35.96Β΅s] [2025/04/04 10:50:13.597 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=34.522Β΅s] [2025/04/04 10:50:13.597 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.597 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.598 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:13.598 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:13.600 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8f2e4592-fde6-40d0-a957-a271cace00b0] ["take time"=3.130192ms] [2025/04/04 10:50:13.600 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.600 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:13.600 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/7385cfcd-2341-46a2-a6dc-34baf34d4836] [watcherID=346b022c-de92-468f-a8c0-4db4028b6286] [2025/04/04 10:50:13.600 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:50:13.600 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/7385cfcd-2341-46a2-a6dc-34baf34d4836] [2025/04/04 10:50:13.600 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [ttl-worker=task-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [originalCount=4] [newCount=0] [2025/04/04 10:50:13.600 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:13.600 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:13.600 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:13.600 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:13.600 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [ttl-worker=task-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [originalCount=4] [newCount=0] [2025/04/04 10:50:13.602 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:13.603 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:13.603 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:13.603 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:13.605 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.605 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=285] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:13.606 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [2025/04/04 10:50:13.607 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:13.607 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [2025/04/04 10:50:13.607 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:13.607 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:13.607 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:13.607 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.606 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:13.606 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:13.607 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:13.607 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:13.606 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [] [2025/04/04 10:50:13.607 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:13.607 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:13.607 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:50:13.607 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:50:13.607 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:50:13.607 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.607 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.607 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.607 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:13.607 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:13.607 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:13.607 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:13.607 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:13.608 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=aecacfee-f08e-46a9-a25c-2a122386afe6] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:13.608 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:13.608 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:13.608 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:13.608 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:13.608 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [error="context canceled"] [2025/04/04 10:50:13.608 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:13.608 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:13.608 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:13.608 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:13.608 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:13.608 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:13.609 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [error="context canceled"] [2025/04/04 10:50:13.609 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [2025/04/04 10:50:13.610 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [error="context canceled"] [2025/04/04 10:50:13.610 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=8f2e4592-fde6-40d0-a957-a271cace00b0] [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/04 10:50:13.628 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:13.628 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:13.669 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:13.669 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:13.679 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.410432ms] [2025/04/04 10:50:13.681 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:13.681 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:13.681 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:13.681 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:13.681 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:13.681 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:13.681 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:13.681 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:13.681 +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/04 10:50:13.681 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:13.681 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:13.681 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:13.682 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackInProcessErrorMsg (2.42s) === NAME PASS ================================================================================ Target //tests/realtikvtest/flashbacktest:flashbacktest_test up-to-date: bazel-bin/tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test INFO: Elapsed time: 94.826s, Critical Path: 76.47s INFO: 4571 processes: 4551 remote cache hit, 13 internal, 7 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/flashbacktest:flashbacktest_test PASSED in 43.0s PASSED flashbacktest_test.TestFlashback (7.6s) PASSED flashbacktest_test.TestFlashbackAddDropIndex (4.8s) PASSED flashbacktest_test.TestFlashbackAddDropModifyColumn (3.0s) PASSED flashbacktest_test.TestFlashbackAutoID (2.4s) PASSED flashbacktest_test.TestFlashbackBasicRenameDropCreateTable (2.7s) PASSED flashbacktest_test.TestFlashbackCreateDropSchema (2.7s) PASSED flashbacktest_test.TestFlashbackCreateDropTableWithData (2.6s) PASSED flashbacktest_test.TestFlashbackInProcessErrorMsg (2.4s) PASSED flashbacktest_test.TestFlashbackPartitionTable (2.7s) PASSED flashbacktest_test.TestFlashbackSequence (2.7s) PASSED flashbacktest_test.TestFlashbackTmpTable (3.9s) PASSED flashbacktest_test.TestPrepareFlashbackFailed (2.5s) Test cases: finished with 12 passing and 0 failing out of 12 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 [4,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 10s remote-cache, linux-sandbox No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 11s remote-cache, linux-sandbox [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,637 / 4,638] Testing //tests/realtikvtest/addindextest2:addindextest2_test; 11s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest3:addindextest3_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 41s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 41s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 161s remote-cache, linux-sandbox [4,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 41s remote-cache, linux-sandbox [4,573 / 4,574] 1 / 1 tests; Testing //tests/realtikvtest/txntest:txntest_test; 168s remote-cache, linux-sandbox Target //tests/realtikvtest/txntest:txntest_test up-to-date: bazel-bin/tests/realtikvtest/txntest/txntest_test_/txntest_test INFO: Elapsed time: 307.316s, Critical Path: 286.59s INFO: 4571 processes: 4386 remote cache hit, 13 internal, 172 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/txntest:txntest_test PASSED in 168.4s PASSED txntest_test.TestA3Phantom (1.1s) PASSED txntest_test.TestA5AReadSkew (1.7s) PASSED txntest_test.TestA5BWriteSkew (1.8s) PASSED txntest_test.TestAsOfTimestampCompatibility (7.8s) PASSED txntest_test.TestAssertionWhenPessimisticLockLost (0.9s) PASSED txntest_test.TestBasicTxnState (0.9s) PASSED txntest_test.TestBlocked (0.6s) PASSED txntest_test.TestCheckTxnStatusOnOptimisticTxnBreakConsistency (1.9s) PASSED txntest_test.TestCommitting (0.7s) PASSED txntest_test.TestDMLWithAddForeignKey (11.8s) PASSED txntest_test.TestDuplicateErrorMessage (0.9s) PASSED txntest_test.TestEntriesCountAndSize (0.6s) PASSED txntest_test.TestExactStalenessTransaction (0.5s) PASSED txntest_test.TestGetCachedStore (0.0s) PASSED txntest_test.TestInTxnPSProtoPointGet (0.5s) PASSED txntest_test.TestLockKeysInDML (1.8s) PASSED txntest_test.TestMemDBTracker (28.1s) PASSED txntest_test.TestP0DirtyWrite (6.1s) PASSED txntest_test.TestP1DirtyRead (1.1s) PASSED txntest_test.TestP2NonRepeatableRead (1.5s) PASSED txntest_test.TestP3Phantom (1.7s) PASSED txntest_test.TestP4CLostUpdate (0.0s) PASSED txntest_test.TestP4LostUpdate (1.4s) PASSED txntest_test.TestPhantomReadInInnodb (1.2s) PASSED txntest_test.TestPlanCacheWithStaleReadByBinaryProto (1.7s) PASSED txntest_test.TestReadAfterWrite (1.2s) PASSED txntest_test.TestRollbackTxnState (0.6s) PASSED txntest_test.TestRunning (0.7s) PASSED txntest_test.TestSelectAsOf (4.0s) PASSED txntest_test.TestSelectLockForPartitionTable (2.4s) PASSED txntest_test.TestSetTransactionInfoSchema (9.6s) PASSED txntest_test.TestSetTransactionIsolationOneSho (0.5s) PASSED txntest_test.TestSetTransactionReadOnlyAsOf (0.4s) PASSED txntest_test.TestSpecialSQLInStalenessTxn (8.1s) PASSED txntest_test.TestStalePrepare (5.2s) PASSED txntest_test.TestStaleReadAllCombinations (4.6s) 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.1s) 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.0s) 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.0s) 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 (4.7s) PASSED txntest_test.TestStaleReadFutureTime (0.4s) PASSED txntest_test.TestStaleReadKVRequest (3.9s) PASSED txntest_test.TestStaleReadNoBackoff (1.4s) PASSED txntest_test.TestStaleReadNoExtraTSORequest (3.4s) PASSED txntest_test.TestStaleReadPrepare (3.0s) PASSED txntest_test.TestStaleSelect (1.6s) PASSED txntest_test.TestStaleSessionQuery (2.4s) PASSED txntest_test.TestStaleTSO (1.6s) PASSED txntest_test.TestStalenessAndHistoryRead (1.6s) PASSED txntest_test.TestStalenessTransactionSchemaVer (1.0s) PASSED txntest_test.TestStatementErrorInTransaction (0.6s) PASSED txntest_test.TestStmtCtxStaleFlag (2.7s) PASSED txntest_test.TestTimeBoundedStalenessTxn (0.8s) PASSED txntest_test.TestTxnEntrySizeLimit (12.5s) PASSED txntest_test.TestTxnGoString (0.5s) PASSED txntest_test.TestTxnInfoWithPSProtocol (0.7s) PASSED txntest_test.TestTxnInfoWithPreparedStmt (0.6s) PASSED txntest_test.TestTxnInfoWithScalarSubquery (0.7s) PASSED txntest_test.TestTxnScopeAndValidateReadTs (1.6s) PASSED txntest_test.TestValidateReadOnlyInStalenessTransaction (3.6s) PASSED txntest_test.TestWriteConflictMessage (0.7s) 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 [4,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 40s remote-cache, linux-sandbox [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] } [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 41s remote-cache, linux-sandbox [4,637 / 4,638] Testing //tests/realtikvtest/addindextest2:addindextest2_test; 41s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest3:addindextest3_test; 41s remote-cache, linux-sandbox [4,568 / 4,569] 1 / 1 tests; Testing //tests/realtikvtest/addindextest1:addindextest1_test; 51s remote-cache, linux-sandbox Target //tests/realtikvtest/addindextest1:addindextest1_test up-to-date: bazel-bin/tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test INFO: Elapsed time: 145.303s, Critical Path: 126.74s INFO: 4269 processes: 4163 remote cache hit, 3 internal, 103 linux-sandbox. INFO: Build completed successfully, 4269 total actions //tests/realtikvtest/addindextest1:addindextest1_test PASSED in 51.8s PASSED addindextest1_test.TestAddIndexDistBasic (14.5s) PASSED addindextest1_test.TestAddIndexDistCancel (6.2s) PASSED addindextest1_test.TestAddIndexDistCancelWithPartition (7.2s) PASSED addindextest1_test.TestAddIndexDistCleanUpBlock (8.2s) 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 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 ./t/ddl/db_partition.test: ok! 1110 test cases passed, take time 56.497067255 s 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 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 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } ./t/ddl/db_rename.test: ok! 21 test cases passed, take time 4.066453975 s ./t/ddl/db_table.test: ok! 58 test cases passed, take time 0.751608217 s ./t/ddl/ddl_error.test: ok! 14 test cases passed, take time 0.077810024 s ./t/ddl/ddl_tiflash.test: ok! 14 test cases passed, take time 0.046061409 s [4,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 59s remote-cache, linux-sandbox Target //tests/realtikvtest/pessimistictest:pessimistictest_test up-to-date: bazel-bin/tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test INFO: Elapsed time: 155.332s, Critical Path: 136.43s INFO: 4272 processes: 4157 remote cache hit, 3 internal, 112 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/pessimistictest:pessimistictest_test PASSED in 59.6s 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.5s) 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.2s) 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 (5.2s) PASSED pessimistictest_test.TestKillWaitLockTxn (5.1s) PASSED pessimistictest_test.TestLazyUniquenessCheck (1.0s) PASSED pessimistictest_test.TestLazyUniquenessCheckForInsertIgnore (0.4s) 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.4s) 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.4s) PASSED pessimistictest_test.TestPessimisticSerializable (0.4s) PASSED pessimistictest_test.TestPessimisticTxn (1.6s) 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.2s) PASSED pessimistictest_test.TestRCIndexMerge (0.2s) PASSED pessimistictest_test.TestRCPointWriteLockIfExists (8.3s) 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.1s) Test cases: finished with 80 passing and 0 failing out of 80 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] } [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 101s remote-cache, linux-sandbox ./t/ddl/default_as_expression.test: ok! 411 test cases passed, take time 21.933672214 s ./t/ddl/fail_db.test: ok! 12 test cases passed, take time 0.209874762 s [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 101s remote-cache, linux-sandbox ./t/ddl/foreign_key.test: ok! 181 test cases passed, take time 6.645517275 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 101s remote-cache, linux-sandbox FAIL: //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (see /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/pipelineddmltest/pipelineddmltest_test/test_attempts/attempt_1.log) [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 118s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 1s remote-cache, linux-sandbox [4,750 / 4,751] 1 / 1 tests; Testing //tests/realtikvtest/importintotest:importintotest_test; 116s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest:importintotest_test: ==================== Test output for //tests/realtikvtest/importintotest:importintotest_test: === RUN TestImportInto [2025/04/04 10:49:41.599 +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/04 10:49:41.600 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:41.601 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:41.601 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:41.602 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:41.602 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:41.602 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:41.602 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:41.602 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:41.603 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:41.603 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:41.609 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:41.616 +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/04 10:49:41.617 +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/04 10:49:41.618 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=4] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 10:49:41.643 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:41.643 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:41.649 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:41.649 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:41.661 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:41.684 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407868217435202] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:41.707 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:41.750 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1335] ["lease id"=3eaa960069bfef2c] [2025/04/04 10:49:41.753 +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/04 10:49:41.759 +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/04 10:49:41.866 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=106.057089ms] [2025/04/04 10:49:41.866 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:41.867 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:49:41.867 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:41.867 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:41.869 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:41.871 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:41.871 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 161582546944/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:41.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:41.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:41.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:41.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:41.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:41.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:41.871 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:41.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:41.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:41.872 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:41.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:41.872 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:41.872 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [2025/04/04 10:49:41.873 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069bfef31] [ownerID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [op=none] [2025/04/04 10:49:41.873 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:41.874 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [ownerKey=/tidb/ddl/fg/owner/3eaa960069bfef31] [currRev=104] [2025/04/04 10:49:41.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:41.875 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:41.875 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069bfef1f] [ownerID=a555589c-3cce-4ec2-9804-c24eafa13833] [op=none] [2025/04/04 10:49:41.875 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:41.875 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [2025/04/04 10:49:41.875 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [ownerKey=/tidb/br-stream/owner/2231960069bfef1f] [currRev=105] [2025/04/04 10:49:41.876 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069bfef31] [ownerID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [op=none] [2025/04/04 10:49:41.876 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [op=none] [2025/04/04 10:49:41.876 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:41.879 +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/04 10:49:41.895 +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-04 10:49:41.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.895 +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-04 10:49:41.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:49:41.902 +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-04 10:49:41.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.044 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=126.669641ms] [2025/04/04 10:49:42.044 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:42.051 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.051 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:49:42.053 +00:00] [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.602879ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.068 +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-04 10:49:41.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.083 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:49:42.084 +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/04 10:49:42.085 +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/04 10:49:42.089 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Europe/Berlin] [2025/04/04 10:49:42.115 +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-04 10:49:42.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.115 +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-04 10:49:42.051 +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/04 10:49:42.124 +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-04 10:49:42.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.180 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.435837ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.183 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.183 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:49:42.185 +00:00] [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.934925ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.205 +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-04 10:49:42.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.238 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:49:42.239 +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/04 10:49:42.253 +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-04 10:49:42.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.253 +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-04 10:49:42.201 +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/04 10:49:42.259 +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-04 10:49:42.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.280 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.25195ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.283 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:49:42.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=3] ["take time"=9.9117ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.297 +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-04 10:49:42.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.310 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:49:42.311 +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/04 10:49:42.324 +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-04 10:49:42.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.324 +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-04 10:49:42.302 +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/04 10:49:42.331 +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-04 10:49:42.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.350 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.052012ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.354 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.354 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:49:42.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=4] ["take time"=9.028388ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.366 +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-04 10:49:42.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.380 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:49:42.380 +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/04 10:49:42.405 +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-04 10:49:42.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.405 +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-04 10:49:42.351 +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/04 10:49:42.412 +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-04 10:49:42.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.448 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.521562ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.451 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.451 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:49:42.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=5] ["take time"=11.831485ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.468 +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-04 10:49:42.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.490 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:49:42.490 +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/04 10:49:42.505 +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-04 10:49:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.505 +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-04 10:49:42.451 +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/04 10:49:42.511 +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-04 10:49:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.536 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.709533ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.539 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:49:42.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=6] ["take time"=9.826368ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.553 +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-04 10:49:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.568 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:49:42.568 +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/04 10:49:42.584 +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-04 10:49:42.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.584 +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-04 10:49:42.551 +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/04 10:49:42.590 +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-04 10:49:42.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.613 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.62857ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.616 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.616 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:49:42.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=7] ["take time"=9.427363ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.630 +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-04 10:49:42.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.645 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:49:42.645 +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/04 10:49:42.658 +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-04 10:49:42.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.658 +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-04 10:49:42.602 +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/04 10:49:42.664 +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-04 10:49:42.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.692256ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.685 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:49:42.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=8] ["take time"=8.866963ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.696 +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-04 10:49:42.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.708 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:49:42.709 +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/04 10:49:42.724 +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-04 10:49:42.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.724 +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-04 10:49:42.702 +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/04 10:49:42.730 +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-04 10:49:42.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.748 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.928096ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.752 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:49:42.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=9] ["take time"=8.920151ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.764 +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-04 10:49:42.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.777 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:49:42.777 +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/04 10:49:42.792 +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-04 10:49:42.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.792 +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-04 10:49:42.752 +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/04 10:49:42.798 +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-04 10:49:42.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.27228ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.823 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:49:42.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=10] ["take time"=9.163293ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.836 +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-04 10:49:42.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.851 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:49:42.851 +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/04 10:49:42.865 +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-04 10:49:42.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.865 +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-04 10:49:42.852 +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/04 10:49:42.871 +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-04 10:49:42.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.872 +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/04 10:49:42.893 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.312488ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.897 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:49:42.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=11] ["take time"=10.054463ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.911 +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-04 10:49:42.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.925 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:49:42.925 +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/04 10:49:42.927 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:42.942 +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-04 10:49:42.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.942 +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-04 10:49:42.902 +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/04 10:49:42.948 +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-04 10:49:42.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.975 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.19493ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.978 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:42.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:49:42.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=12] ["take time"=10.523096ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.993 +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-04 10:49:42.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.010 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:49:43.010 +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/04 10:49:43.026 +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-04 10:49:43.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.026 +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-04 10:49:43.001 +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/04 10:49:43.032 +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-04 10:49:43.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.781542ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.060 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.060 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:49:43.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=13] ["take time"=10.049869ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.073 +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-04 10:49:43.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:49:43.089 +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/04 10:49:43.105 +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-04 10:49:43.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.105 +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-04 10:49:43.051 +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/04 10:49:43.114 +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-04 10:49:43.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.136 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.33361ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.139 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.139 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:49:43.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=14] ["take time"=9.825881ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.153 +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-04 10:49:43.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.167 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:49:43.167 +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/04 10:49:43.182 +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-04 10:49:43.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.182 +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-04 10:49:43.152 +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/04 10:49:43.188 +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-04 10:49:43.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.209 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.134426ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.212 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.212 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:49:43.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=15] ["take time"=9.46712ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.225 +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-04 10:49:43.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.238 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:49:43.239 +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/04 10:49:43.252 +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-04 10:49:43.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.252 +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-04 10:49:43.202 +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/04 10:49:43.258 +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-04 10:49:43.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.278 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.277575ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.281 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.282 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:49:43.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=16] ["take time"=9.161585ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.294 +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-04 10:49:43.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.307 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:49:43.307 +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/04 10:49:43.321 +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-04 10:49:43.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.321 +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-04 10:49:43.301 +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/04 10:49:43.327 +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-04 10:49:43.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.348 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.319851ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.351 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:49:43.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=17] ["take time"=9.419456ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.365 +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-04 10:49:43.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.378 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:49:43.379 +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/04 10:49:43.393 +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-04 10:49:43.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.393 +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-04 10:49:43.352 +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/04 10:49:43.398 +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-04 10:49:43.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.418 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.233446ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.422 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:49:43.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=18] ["take time"=9.202209ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.434 +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-04 10:49:43.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.448 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:49:43.448 +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/04 10:49:43.466 +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-04 10:49:43.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.466 +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-04 10:49:43.452 +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/04 10:49:43.472 +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-04 10:49:43.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.504 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.275255ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.507 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.507 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:49:43.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=19] ["take time"=10.836458ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.522 +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-04 10:49:43.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.540 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:49:43.540 +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/04 10:49:43.561 +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-04 10:49:43.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.561 +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-04 10:49:43.552 +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/04 10:49:43.567 +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-04 10:49:43.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.587 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.343566ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.591 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.591 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:49:43.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=20] ["take time"=9.768879ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.604 +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-04 10:49:43.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.609 +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/04 10:49:43.618 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:49:43.619 +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/04 10:49:43.634 +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-04 10:49:43.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.633 +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-04 10:49:43.601 +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/04 10:49:43.639 +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-04 10:49:43.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.658 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.774822ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.662 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.662 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:49:43.663 +00:00] [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.983734ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.675 +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-04 10:49:43.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.687 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:49:43.687 +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/04 10:49:43.700 +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-04 10:49:43.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.700 +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-04 10:49:43.652 +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/04 10:49:43.706 +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-04 10:49:43.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.722 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.505934ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.726 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.726 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:49:43.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=22] ["take time"=8.45665ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.738 +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-04 10:49:43.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.749 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:49:43.749 +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/04 10:49:43.765 +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-04 10:49:43.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.765 +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-04 10:49:43.752 +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/04 10:49:43.771 +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-04 10:49:43.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.756917ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.798 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.798 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:49:43.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=23] ["take time"=9.687472ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.812 +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-04 10:49:43.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.826 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:49:43.827 +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/04 10:49:43.840 +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-04 10:49:43.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.840 +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-04 10:49:43.802 +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/04 10:49:43.845 +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-04 10:49:43.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.864 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.119296ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.868 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.868 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:49:43.870 +00:00] [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.184449ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.871 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:43.872 +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/04 10:49:43.881 +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-04 10:49:43.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.894 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:49:43.894 +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/04 10:49:43.909 +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-04 10:49:43.852 +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/04 10:49:43.910 +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-04 10:49:43.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.916 +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-04 10:49:43.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.937 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.249631ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:43.940 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:43.940 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:49:43.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=25] ["take time"=9.338092ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.953 +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-04 10:49:43.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:43.972 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:49:43.972 +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/04 10:49:43.986 +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-04 10:49:43.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:43.986 +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-04 10:49:43.951 +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/04 10:49:43.992 +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-04 10:49:43.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.011 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.815651ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.014 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.014 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:49:44.016 +00:00] [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.467908ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:43.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.027 +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-04 10:49:43.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.040 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:49:44.040 +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/04 10:49:44.053 +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-04 10:49:44.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.053 +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-04 10:49:44.001 +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/04 10:49:44.059 +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-04 10:49:44.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.078 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.126044ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.082 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.082 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:49:44.083 +00:00] [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.29787ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.094 +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-04 10:49:44.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.108 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:49:44.109 +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/04 10:49:44.123 +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-04 10:49:44.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.123 +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-04 10:49:44.102 +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/04 10:49:44.129 +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-04 10:49:44.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.148 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.918243ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.151 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.151 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:49:44.153 +00:00] [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.675438ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.163 +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-04 10:49:44.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.175 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:49:44.176 +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/04 10:49:44.178 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:44.191 +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-04 10:49:44.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.190 +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-04 10:49:44.152 +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/04 10:49:44.196 +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-04 10:49:44.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.409847ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.221 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:49:44.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=29] ["take time"=9.556228ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.235 +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-04 10:49:44.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.248 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:49:44.248 +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/04 10:49:44.263 +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-04 10:49:44.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.263 +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-04 10:49:44.252 +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/04 10:49:44.268 +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-04 10:49:44.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.493755ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.294 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:49:44.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=30] ["take time"=9.735107ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.308 +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-04 10:49:44.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:49:44.322 +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/04 10:49:44.337 +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-04 10:49:44.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.337 +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-04 10:49:44.302 +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/04 10:49:44.343 +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-04 10:49:44.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.366 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.546993ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.369 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:49:44.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=31] ["take time"=9.843837ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.383 +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-04 10:49:44.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.398 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:49:44.398 +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/04 10:49:44.417 +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-04 10:49:44.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.417 +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-04 10:49:44.401 +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/04 10:49:44.424 +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-04 10:49:44.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.63034ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.457 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.457 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:49:44.459 +00:00] [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.533389ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.472 +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-04 10:49:44.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.490 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:49:44.491 +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/04 10:49:44.503 +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-04 10:49:44.451 +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/04 10:49:44.503 +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-04 10:49:44.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.509 +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-04 10:49:44.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.526 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.687029ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.530 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.530 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:49:44.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=33] ["take time"=8.878199ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.541 +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-04 10:49:44.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.552 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:49:44.553 +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/04 10:49:44.570 +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-04 10:49:44.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.570 +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-04 10:49:44.552 +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/04 10:49:44.576 +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-04 10:49:44.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.600 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.369785ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:44.603 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.603 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:49:44.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=34] ["take time"=9.455612ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.616 +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-04 10:49:44.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.632 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:49:44.646 +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-04 10:49:44.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.647 +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-04 10:49:44.602 +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/04 10:49:44.652 +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-04 10:49:44.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.364384ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.677 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.678 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:49:44.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=35] ["take time"=9.777846ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.690 +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-04 10:49:44.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.705 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:49:44.705 +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/04 10:49:44.719 +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-04 10:49:44.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.719 +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-04 10:49:44.702 +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/04 10:49:44.725 +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-04 10:49:44.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=2.072994ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.748 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:49:44.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=36] ["take time"=9.415384ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.761 +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-04 10:49:44.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.773 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:49:44.773 +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/04 10:49:44.788 +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-04 10:49:44.751 +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/04 10:49:44.788 +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-04 10:49:44.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.797 +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-04 10:49:44.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.877676ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.821 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:49:44.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=37] ["take time"=9.32801ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.835 +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-04 10:49:44.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.847 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:49:44.847 +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/04 10:49:44.865 +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-04 10:49:44.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.865 +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-04 10:49:44.851 +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/04 10:49:44.871 +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-04 10:49:44.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.901 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.544856ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.905 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:49:44.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=38] ["take time"=11.078831ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.920 +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-04 10:49:44.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.938 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:49:44.938 +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/04 10:49:44.955 +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-04 10:49:44.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:44.955 +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-04 10:49:44.902 +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/04 10:49:44.961 +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-04 10:49:44.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:44.989 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.346636ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:44.993 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:44.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:49:44.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=39] ["take time"=10.976999ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:44.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.007 +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-04 10:49:44.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.025 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:49:45.025 +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/04 10:49:45.043 +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-04 10:49:45.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.043 +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-04 10:49:45.002 +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/04 10:49:45.050 +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-04 10:49:45.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.080 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.92101ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.083 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:49:45.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=40] ["take time"=10.659738ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.098 +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-04 10:49:45.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.117 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:49:45.117 +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/04 10:49:45.136 +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-04 10:49:45.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.136 +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-04 10:49:45.101 +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/04 10:49:45.143 +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-04 10:49:45.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.174 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.834828ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.177 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.177 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:49:45.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=41] ["take time"=11.092567ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.193 +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-04 10:49:45.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.212 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:49:45.212 +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/04 10:49:45.230 +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-04 10:49:45.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.230 +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-04 10:49:45.202 +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/04 10:49:45.239 +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-04 10:49:45.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.830557ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.273 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:49:45.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=42] ["take time"=11.105987ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.288 +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-04 10:49:45.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.307 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:49:45.307 +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/04 10:49:45.324 +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-04 10:49:45.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.324 +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-04 10:49:45.301 +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/04 10:49:45.331 +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-04 10:49:45.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.359 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.454585ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.362 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.363 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:49:45.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=43] ["take time"=10.595644ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.378 +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-04 10:49:45.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.397 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:49:45.398 +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/04 10:49:45.414 +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-04 10:49:45.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.414 +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-04 10:49:45.402 +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/04 10:49:45.420 +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-04 10:49:45.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.961356ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.450 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:49:45.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=44] ["take time"=10.420897ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.464 +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-04 10:49:45.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.480 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:49:45.480 +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/04 10:49:45.497 +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-04 10:49:45.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.497 +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-04 10:49:45.451 +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/04 10:49:45.503 +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-04 10:49:45.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.530 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.950742ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.533 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.533 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:49:45.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=45] ["take time"=10.450607ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.548 +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-04 10:49:45.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.566 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:49:45.566 +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/04 10:49:45.587 +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-04 10:49:45.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.587 +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-04 10:49:45.552 +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/04 10:49:45.595 +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-04 10:49:45.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.21066ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.632 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.632 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:49:45.634 +00:00] [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.355319ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.649 +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-04 10:49:45.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.672 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:49:45.673 +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/04 10:49:45.690 +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-04 10:49:45.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.690 +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-04 10:49:45.652 +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/04 10:49:45.696 +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-04 10:49:45.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.725 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.942176ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.729 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.729 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:49:45.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=47] ["take time"=10.66182ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.743 +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-04 10:49:45.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.759 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:49:45.759 +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/04 10:49:45.773 +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-04 10:49:45.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.773 +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-04 10:49:45.751 +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/04 10:49:45.779 +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-04 10:49:45.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.799 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.978986ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.803 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.803 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:49:45.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=48] ["take time"=9.237056ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.816 +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-04 10:49:45.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.828 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:49:45.829 +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/04 10:49:45.843 +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-04 10:49:45.802 +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/04 10:49:45.843 +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-04 10:49:45.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.848 +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-04 10:49:45.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.868 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.226906ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.872 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:49:45.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=49] ["take time"=9.374398ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.880 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:45.880 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:45.880 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:45.880 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:45.886 +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-04 10:49:45.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.899 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:49:45.899 +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/04 10:49:45.901 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:45.914 +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-04 10:49:45.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.914 +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-04 10:49:45.902 +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/04 10:49:45.920 +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-04 10:49:45.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.940 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.245911ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:45.943 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:45.943 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:49:45.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=50] ["take time"=8.961553ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.956 +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-04 10:49:45.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:45.970 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:49:45.971 +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/04 10:49:45.983 +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-04 10:49:45.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:45.982 +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-04 10:49:45.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:49:45.988 +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-04 10:49:45.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.001 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=658.142Β΅s] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:46.005 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:46.005 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:49:46.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=51] ["take time"=7.683389ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:45.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.016 +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-04 10:49:45.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.026 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:49:46.026 +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/04 10:49:46.041 +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-04 10:49:46.001 +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/04 10:49:46.041 +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-04 10:49:46.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.047 +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-04 10:49:46.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.067 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.918055ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:46.071 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:46.071 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:49:46.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=52] ["take time"=9.163394ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.083 +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-04 10:49:46.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.095 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:49:46.112 +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-04 10:49:46.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.112 +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-04 10:49:46.051 +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/04 10:49:46.118 +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-04 10:49:46.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.139583ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:46.148 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:46.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:49:46.150 +00:00] [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.926075ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.162 +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-04 10:49:46.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.178 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:49:46.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/04 10:49:46.193 +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-04 10:49:46.152 +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/04 10:49:46.193 +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-04 10:49:46.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.199 +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-04 10:49:46.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.220 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.196677ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:46.223 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:46.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:49:46.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=54] ["take time"=9.226483ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.236 +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-04 10:49:46.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:49:46.249 +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/04 10:49:46.263 +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-04 10:49:46.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.263 +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-04 10:49:46.251 +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/04 10:49:46.269 +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-04 10:49:46.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.481699ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:46.295 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:46.295 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:49:46.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=55] ["take time"=9.145019ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.307 +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-04 10:49:46.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.321 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:49:46.322 +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/04 10:49:46.469 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.594598921s] [2025/04/04 10:49:46.472 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:46.472 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [] [2025/04/04 10:49:46.472 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:46.472 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.472 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:46.472 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:46.472 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=39.525Β΅s] [2025/04/04 10:49:46.472 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=35.062Β΅s] [2025/04/04 10:49:46.472 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=33.215Β΅s] [2025/04/04 10:49:46.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=25.746Β΅s] [2025/04/04 10:49:46.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=25.016Β΅s] [2025/04/04 10:49:46.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=35.754Β΅s] [2025/04/04 10:49:46.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=43.999Β΅s] [2025/04/04 10:49:46.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=26.99Β΅s] [2025/04/04 10:49:46.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=38.921Β΅s] [2025/04/04 10:49:46.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=28.991Β΅s] [2025/04/04 10:49:46.473 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.473 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.474 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:46.474 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:46.483 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] ["take time"=11.327935ms] [2025/04/04 10:49:46.483 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.484 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1335] [2025/04/04 10:49:46.484 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [] [2025/04/04 10:49:46.484 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:46.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:46.484 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:46.484 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [2025/04/04 10:49:46.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:46.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:46.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:46.484 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:46.484 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [2025/04/04 10:49:46.485 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:46.484 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:46.485 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [2025/04/04 10:49:46.484 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:46.485 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:46.485 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:46.486 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:46.486 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:46.486 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=a555589c-3cce-4ec2-9804-c24eafa13833] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:46.486 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:46.486 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:46.486 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:46.486 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:46.486 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:46.490 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.473626ms] [2025/04/04 10:49:46.490 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407868217435202] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:46.500 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:46.545 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1] ["lease id"=6f18960069bff110] [2025/04/04 10:49:46.547 +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/04 10:49:46.667 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.227791ms] [2025/04/04 10:49:46.667 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:46.676 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:46.676 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:46.678 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [lease=3eaa960069bfef31] [2025/04/04 10:49:46.679 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:46.679 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 161582604288/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:46.679 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:46.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:46.680 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:46.680 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [2025/04/04 10:49:46.681 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069bfef31] [ownerID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [op=none] [2025/04/04 10:49:46.681 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.682 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [ownerKey=/tidb/ddl/fg/owner/3eaa960069bfef31] [currRev=284] [2025/04/04 10:49:46.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:46.682 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:46.683 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:46.683 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069bfefa6] [ownerID=5f01f865-1ff2-4516-8bf4-b088346bde99] [op=none] [2025/04/04 10:49:46.683 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [2025/04/04 10:49:46.683 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [ownerKey=/tidb/br-stream/owner/3eaa960069bfefa6] [currRev=285] [2025/04/04 10:49:46.683 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069bfef31] [ownerID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [op=none] [2025/04/04 10:49:46.683 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [op=none] [2025/04/04 10:49:46.683 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:46.691 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:46.692 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:46.694 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f18960069bff119] [ownerID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [op=none] [2025/04/04 10:49:46.695 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.695 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [ownerKey=/tidb/bindinfo/owner/6f18960069bff119] [currRev=286] [2025/04/04 10:49:46.700 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:49:46.704 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:46.705 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:46.711 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:46.718 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:46.718 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:46.718 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:46.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:46.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:46.719 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:46.719 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:46.719 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:46.719 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:46.720 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:46.720 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:46.721 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:46.721 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:46.721 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:46.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:46.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:46.723 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 10:49:46.723 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069bfefac] [ownerID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [op=none] [2025/04/04 10:49:46.723 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.724 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [ownerKey=/tidb/stats/owner/3eaa960069bfefac] [currRev=287] [2025/04/04 10:49:46.726 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d8dd55a4-b471-4ad2-a3ad-55171da5399b] [2025/04/04 10:49:46.726 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [ttl-worker=task-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [originalCount=0] [newCount=4] [2025/04/04 10:49:46.726 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [ttl-worker=task-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [originalCount=0] [newCount=4] [2025/04/04 10:49:46.726 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:49:46.728 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:46.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:46.735 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:46.735 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763786736087691 [2025/04/04 10:49:46.737 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:46.744 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.033149ms] [2025/04/04 10:49:46.744 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:46.744 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:46.749 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743763786751271695 [2025/04/04 10:49:46.773 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] === 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/04 10:49:46.777 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="DROP DATABASE IF EXISTS bad_cases;"] [user=] [2025/04/04 10:49:46.789 +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-04 10:49:46.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.790 +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-04 10:49:46.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE bad_cases;"] [2025/04/04 10:49:46.795 +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-04 10:49:46.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.892 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=81.712503ms] [2025/04/04 10:49:46.892 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 10:49:46.892 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:46.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:49:46.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=56] ["take time"=89.619977ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.909 +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-04 10:49:46.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.920 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:49:46.920 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="CREATE DATABASE bad_cases;"] [user=] [2025/04/04 10:49:46.933 +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-04 10:49:46.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:46.933 +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-04 10:49:46.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [2025/04/04 10:49:46.939 +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-04 10:49:46.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.943 +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/04 10:49:46.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.617426ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:46.963 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 10:49:46.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=57] ["take time"=9.565798ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:46.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.976 +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-04 10:49:46.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:46.986 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 10:49:46.987 +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/04 10:49:47.047 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:47.093 +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/04 10:49:47.117 +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/04 10:49:47.688 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:47.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:47.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:47.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:47.726 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:47.726 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:47.726 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d8dd55a4-b471-4ad2-a3ad-55171da5399b] [watcherID=1c9b1abf-4380-40d5-a54e-b762f8b1b0ce] [2025/04/04 10:49:47.736 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:47.740 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/04 10:49:47.740 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:47.740 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:47.740 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:47.740 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:47.756 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:47.756 +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/04 10:49:47.858 +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/04 10:49:47.859 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:47.860 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 10:49:47.869 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:47.872 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:47.872 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 10:49:47.872 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=49.596Β΅s] [2025/04/04 10:49:47.872 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=155.606Β΅s] [] [2025/04/04 10:49:47.872 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:47.872 +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/04 10:49:47.909 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:49:47.929 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:49:47.930 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:47.930 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 10:49:47.938 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:47.938 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:47.939 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:47.939 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:47.939 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:47.939 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:47.939 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:47.939 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:47.940 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:47.940 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:47.955 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:47.956 +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/04 10:49:47.957 +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/04 10:49:47.957 +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/04 10:49:47.957 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/04 10:49:47.957 +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/04 10:49:47.965 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 10:49:47.965 +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/04 10:49:47.965 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 10:49:47.970 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:0] [engineUUID=ac11689c-038f-539b-891e-1e76c346ec7c] [2025/04/04 10:49:47.974 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:-1] [engineUUID=ad4147a5-8a19-558e-a731-72a1c176fe8f] [2025/04/04 10:49:47.974 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 10:49:47.974 +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/04 10:49:47.974 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=8.93684ms] [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/04 10:49:47.975 +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.199881ms] [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/04 10:49:47.975 +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/04 10:49:47.982 +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/04 10:49:47.988 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 10:49:48.066 +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/04 10:49:48.088 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 10:49:48.091 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:48.091 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:48.091 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:48.091 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:48.091 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:48.091 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:48.091 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:48.091 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.091 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.091 +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/04 10:49:48.091 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.091 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:48.093 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:48.093 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:48.093 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:48.093 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:48.093 +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=136.583338ms] [] [2025/04/04 10:49:48.093 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 10:49:48.164 +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/04 10:49:48.165 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [step=import] [mode=Normal] [2025/04/04 10:49:48.180 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 10:49:48.258 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:48.264 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:48.264 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 10:49:48.291 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:48.332 +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/04 10:49:48.333 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.345172018\n# Parse_time: 0.000483287\n# Compile_time: 0.000555984\n# Rewrite_time: 0.000105394\n# Optimize_time: 0.000083141\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjEuMzRzLCBvcGVuOjY2MW5zLCBjbG9zZTo5MjZucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZToxLjM0cywgb3Blbjo2NjFucywgY2xvc2U6OTI2bnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\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.56s) === NAME TestImportInto === RUN TestImportInto/TestBasicImportInto [2025/04/04 10:49:48.335 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="drop database if exists import_into"] [user=] [2025/04/04 10:49:48.347 +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-04 10:49:48.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.347 +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-04 10:49:48.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 10:49:48.353 +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-04 10:49:48.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.367 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=671.466Β΅s] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:48.371 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 10:49:48.373 +00:00] [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.060913ms] [job="ID:117, Type:create schema, State:done, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.383 +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-04 10:49:48.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.394 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:49:48.394 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=] [sql="create database import_into"] [user=] [2025/04/04 10:49:48.396 +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/04 10:49:48.408 +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-04 10:49:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:49:48.408 +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-04 10:49:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.414 +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-04 10:49:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.419 +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/04 10:49:48.433 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.600317ms] [gotSchemaVersion=59] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:48.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 10:49:48.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=59] ["take time"=6.845156ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.450 +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-04 10:49:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.462 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:49:48.463 +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/04 10:49:48.464 +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/04 10:49:48.482 +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-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/04 10:49:48.482 +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-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.488 +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-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.505 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.229394ms] [gotSchemaVersion=60] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.509 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=60] [2025/04/04 10:49:48.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=60] ["take time"=10.26337ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.522 +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-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.21664ms] [gotSchemaVersion=61] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.541 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=61] [2025/04/04 10:49:48.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=61] ["take time"=9.554366ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.552 +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-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.559 +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/04 10:49:48.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.065796ms] [gotSchemaVersion=62] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.577 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/04 10:49:48.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=62] ["take time"=8.921477ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.590 +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/04 10:49:48.597 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/04 10:49:48.598 +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-04 10:49:48.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.617 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/04 10:49:48.617 +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/04 10:49:48.630 +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-04 10:49:48.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.630 +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-04 10:49:48.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:49:48.636 +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-04 10:49:48.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.641 +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/04 10:49:48.657 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.678334ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:48.661 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/04 10:49:48.663 +00:00] [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"=9.119618ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.674 +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-04 10:49:48.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.679 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:48.686 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 10:49:48.686 +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/04 10:49:48.688 +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/04 10:49:48.689 +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/04 10:49:48.699 +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-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.700 +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-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/04 10:49:48.705 +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-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.721 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=2.1185ms] [gotSchemaVersion=64] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.724 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=64] [2025/04/04 10:49:48.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=64] ["take time"=9.664007ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.737 +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-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.754 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.985434ms] [gotSchemaVersion=65] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=65] [2025/04/04 10:49:48.759 +00:00] [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.694125ms] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.766 +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-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.772 +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/04 10:49:48.785 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.010501ms] [gotSchemaVersion=66] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=66] [2025/04/04 10:49:48.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=66] ["take time"=7.531275ms] [job="ID:123, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.799 +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/04 10:49:48.803 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop table"] [2025/04/04 10:49:48.804 +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-04 10:49:48.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.821 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 10:49:48.821 +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/04 10:49:48.834 +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-04 10:49:48.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.833 +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-04 10:49:48.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:49:48.839 +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-04 10:49:48.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.844 +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/04 10:49:48.859 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.550583ms] [gotSchemaVersion=67] [phyTblIDs="[124]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:48.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=67] [2025/04/04 10:49:48.864 +00:00] [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.203778ms] [job="ID:125, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.875 +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-04 10:49:48.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.886 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 10:49:48.887 +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/04 10:49:48.888 +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/04 10:49:48.900 +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-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:48.900 +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-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:48.905 +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-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.953903ms] [gotSchemaVersion=68] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.923 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=68] [2025/04/04 10:49:48.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=68] ["take time"=8.520703ms] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.934 +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-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.996311ms] [gotSchemaVersion=69] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.953 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=69] [2025/04/04 10:49:48.955 +00:00] [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.425291ms] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.963 +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-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.969 +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/04 10:49:48.982 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.017668ms] [gotSchemaVersion=70] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:48.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=70] [2025/04/04 10:49:48.987 +00:00] [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.636606ms] [job="ID:126, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:48.996 +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/04 10:49:49.001 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop table"] [2025/04/04 10:49:49.002 +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-04 10:49:48.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.019 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 10:49:49.019 +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/04 10:49:49.032 +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-04 10:49:49.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:49.032 +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-04 10:49:49.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:49:49.038 +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-04 10:49:49.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.043 +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/04 10:49:49.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.645016ms] [gotSchemaVersion=71] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:49.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=71] [2025/04/04 10:49:49.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=71] ["take time"=9.467416ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.076 +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-04 10:49:49.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:49:49.089 +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/04 10:49:49.095 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:49.147 +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/04 10:49:49.167 +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/04 10:49:49.182 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:49.182 +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/04 10:49:49.284 +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/04 10:49:49.286 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:49.287 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 10:49:49.295 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:49.298 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:49.298 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:49.299 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=146.044Β΅s] [2025/04/04 10:49:49.299 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=311.819Β΅s] [] [2025/04/04 10:49:49.299 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:49.299 +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/04 10:49:49.339 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:49.360 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:49:49.360 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:49.369 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:49.369 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:49.370 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:49.370 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:49.370 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:49.370 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:49.370 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:49.370 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:49.371 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:49.371 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:49.384 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:49.386 +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/04 10:49:49.386 +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/04 10:49:49.386 +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/04 10:49:49.386 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/04 10:49:49.386 +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/04 10:49:49.391 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 10:49:49.394 +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/04 10:49:49.394 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [2025/04/04 10:49:49.398 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:49.402 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:49.403 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:49.411 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 10:49:49.422 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [2025/04/04 10:49:49.424 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [readDur=934.562Β΅s] [encodeDur=113.761Β΅s] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=299.127Β΅s] [type=file] [takeTime=1.666436ms] [] [2025/04/04 10:49:49.424 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:49.425 +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/6b384080-2f95-4ffb-9bfd-726a5e4aaf85.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000000002] [2025/04/04 10:49:49.439 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [2025/04/04 10:49:49.441 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [readDur=1.066897ms] [encodeDur=195.254Β΅s] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=262.782Β΅s] [type=file] [takeTime=1.765285ms] [] [2025/04/04 10:49:49.441 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 10:49:49.442 +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/de70b25c-57ba-4797-9c4e-65a355f91354.sst] [firstKey=74800000000000007F5F728000000000000008] [lastKey=74800000000000007F5F728000000000000009] [2025/04/04 10:49:49.492 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [2025/04/04 10:49:49.494 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [readDur=886.348Β΅s] [encodeDur=208.259Β΅s] [checksum="{cksum=14730688775140726438,size=82,kvs=2}"] [deliverDur=260.427Β΅s] [type=file] [takeTime=1.540041ms] [] [2025/04/04 10:49:49.495 +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/c05b153c-f478-492b-8bbc-f95d5277a2c5.sst] [firstKey=74800000000000007F5F72800000000000000F] [lastKey=74800000000000007F5F728000000000000010] [2025/04/04 10:49:49.495 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:49.495 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:49.495 +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/04 10:49:49.497 +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.134358ms] [] [2025/04/04 10:49:49.497 +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/04 10:49:49.502 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:49.524 +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/04 10:49:49.524 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:49.526 +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/04 10:49:49.539 +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/04 10:49:49.541 +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.388849ms] [] [2025/04/04 10:49:49.542 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:49.543 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.414221ms] [] [2025/04/04 10:49:49.543 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 10:49:49.543 +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/04 10:49:49.545 +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.936817ms] [] [2025/04/04 10:49:49.545 +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/04 10:49:49.549 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:49.549 +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.623785ms] [] [2025/04/04 10:49:49.549 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:49.550 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=912.94Β΅s] [] [2025/04/04 10:49:49.550 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [takeTime=155.938004ms] [] [2025/04/04 10:49:49.550 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [takeTime=156.140632ms] [] [2025/04/04 10:49:49.589 +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/04 10:49:49.590 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:49.592 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:49.592 +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/04 10:49:49.620 +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/04 10:49:49.622 +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/04 10:49:49.622 +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/04 10:49:49.651 +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/04 10:49:49.657 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 10:49:49.660 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:49.660 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:49.660 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:49.660 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:49.660 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:49.660 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:49.660 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:49.660 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:49.660 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:49.660 +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/04 10:49:49.660 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:49.660 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:49.662 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:49.662 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:49.662 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:49.662 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:49.662 +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=276.336002ms] [] [2025/04/04 10:49:49.664 +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/04 10:49:49.671 +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/04 10:49:49.671 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 10:49:49.671 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 10:49:49.671 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 10:49:49.676 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=5.256601ms] [] [2025/04/04 10:49:49.676 +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/04 10:49:49.676 +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/04 10:49:49.676 +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/04 10:49:49.676 +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/04 10:49:49.678 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=8184885398518078658] [totalKvs=6] [totalBytes=246] [2025/04/04 10:49:49.678 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:49.678 +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/04 10:49:49.679 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=7.754907ms] [] [2025/04/04 10:49:49.679 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=7.894446ms] [] [2025/04/04 10:49:49.679 +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.024312ms] [] [2025/04/04 10:49:49.683 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:49.689 +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/04 10:49:49.689 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 10:49:49.692 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 10:49:49.704 +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=40.759379ms] [] [2025/04/04 10:49:49.705 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 10:49:49.724 +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/04 10:49:49.724 +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/04 10:49:49.782 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.693068904\n# Parse_time: 0.000085372\n# Compile_time: 0.000405389\n# Rewrite_time: 0.000089078\n# Optimize_time: 0.000083141\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi4zbXMsIG9wZW46NjI4bnMsIGNsb3NlOjYxMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi4zbXMsIG9wZW46NjI4bnMsIGNsb3NlOjYxMG5zLCBsb29wczoycP////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/04 10:49:49.785 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:49.790 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:49.790 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 10:49:49.797 +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-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:49.797 +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-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:49.802 +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-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.810 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:49.818 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=2.037685ms] [gotSchemaVersion=72] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:49.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=72] [2025/04/04 10:49:49.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=72] ["take time"=8.874108ms] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.833 +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-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.849 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.979642ms] [gotSchemaVersion=73] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:49.852 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=73] [2025/04/04 10:49:49.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=73] ["take time"=8.262379ms] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.861 +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-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.867 +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/04 10:49:49.879 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=923.744Β΅s] [gotSchemaVersion=74] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:49.882 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=74] [2025/04/04 10:49:49.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=74] ["take time"=7.537409ms] [job="ID:129, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.893 +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/04 10:49:49.897 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop table"] [2025/04/04 10:49:49.898 +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-04 10:49:49.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.914 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 10:49:49.914 +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/04 10:49:49.927 +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-04 10:49:49.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:49:49.927 +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-04 10:49:49.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:49.932 +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-04 10:49:49.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.936 +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/04 10:49:49.951 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.459609ms] [gotSchemaVersion=75] [phyTblIDs="[130]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:49.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=75] [2025/04/04 10:49:49.955 +00:00] [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"=7.842753ms] [job="ID:131, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:49.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.966 +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-04 10:49:49.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:49.976 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 10:49:49.976 +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/04 10:49:49.982 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:50.024 +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/04 10:49:50.043 +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/04 10:49:50.055 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:50.055 +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/04 10:49:50.158 +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/04 10:49:50.159 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:50.160 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 10:49:50.168 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:50.170 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:50.170 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:50.170 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=78.475Β΅s] [2025/04/04 10:49:50.170 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=203.96Β΅s] [] [2025/04/04 10:49:50.170 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:50.171 +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/04 10:49:50.207 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:50.227 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:49:50.227 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:50.235 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:50.235 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:50.235 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:50.235 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:50.236 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:50.236 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:50.236 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:50.236 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:50.236 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:50.236 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:50.248 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:50.250 +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/04 10:49:50.250 +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/04 10:49:50.250 +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/04 10:49:50.250 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/04 10:49:50.250 +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/04 10:49:50.257 +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/04 10:49:50.257 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [2025/04/04 10:49:50.261 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:50.263 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 10:49:50.264 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:50.264 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 10:49:50.285 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 10:49:50.305 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [2025/04/04 10:49:50.306 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [readDur=808.953Β΅s] [encodeDur=187.663Β΅s] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=20.009Β΅s] [type=file] [takeTime=1.26706ms] [] [2025/04/04 10:49:50.307 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 10:49:50.307 +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/0d12fe2b-26c1-43e3-aa78-bef9a03291ec.sst] [firstKey=7480000000000000825F728000000000000001] [lastKey=7480000000000000825F728000000000000002] [2025/04/04 10:49:50.309 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [2025/04/04 10:49:50.311 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [readDur=856.259Β΅s] [encodeDur=186.832Β΅s] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=33.938Β΅s] [type=file] [takeTime=1.270144ms] [] [2025/04/04 10:49:50.311 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 10:49:50.311 +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/1e3262c0-55aa-478f-9734-ec3aca15d800.sst] [firstKey=7480000000000000825F728000000000000003] [lastKey=7480000000000000825F728000000000000004] [2025/04/04 10:49:50.314 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [2025/04/04 10:49:50.316 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [readDur=876.631Β΅s] [encodeDur=593.72Β΅s] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=32.101Β΅s] [type=file] [takeTime=1.689633ms] [] [2025/04/04 10:49:50.316 +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/171632d6-a306-4614-888a-96ccc3a0fd7f.sst] [firstKey=7480000000000000825F728000000000000005] [lastKey=7480000000000000825F728000000000000006] [2025/04/04 10:49:50.317 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:50.317 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:50.317 +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/04 10:49:50.318 +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.527744ms] [] [2025/04/04 10:49:50.318 +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/04 10:49:50.323 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:50.345 +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/04 10:49:50.345 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:50.347 +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/04 10:49:50.358 +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/04 10:49:50.359 +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.967847ms] [] [2025/04/04 10:49:50.359 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:50.361 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.095036ms] [] [2025/04/04 10:49:50.361 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 10:49:50.361 +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/04 10:49:50.362 +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.411927ms] [] [2025/04/04 10:49:50.362 +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/04 10:49:50.366 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:50.366 +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.506686ms] [] [2025/04/04 10:49:50.366 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:50.367 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=763.559Β΅s] [] [2025/04/04 10:49:50.367 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [takeTime=109.50948ms] [] [2025/04/04 10:49:50.367 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [takeTime=109.644021ms] [] [2025/04/04 10:49:50.462 +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/04 10:49:50.463 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:50.464 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:50.464 +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/04 10:49:50.494 +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/04 10:49:50.495 +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/04 10:49:50.495 +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/04 10:49:50.516 +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/04 10:49:50.516 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 10:49:50.519 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:50.519 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:50.519 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:50.519 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:50.519 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:50.519 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:50.519 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:50.519 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:50.519 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:50.519 +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/04 10:49:50.519 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:50.519 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:50.521 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:50.521 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:50.521 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:50.521 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:50.521 +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=271.132797ms] [] [2025/04/04 10:49:50.521 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:49:50.527 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:50.548 +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/04 10:49:50.555 +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/04 10:49:50.555 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 10:49:50.555 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 10:49:50.555 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 10:49:50.555 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=1.756Β΅s] [] [2025/04/04 10:49:50.555 +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/04 10:49:50.555 +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/04 10:49:50.555 +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/04 10:49:50.555 +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/04 10:49:50.557 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=130] [physicalTableID=130] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 10:49:50.557 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:50.557 +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/04 10:49:50.557 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.264268ms] [] [2025/04/04 10:49:50.557 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.38261ms] [] [2025/04/04 10:49:50.557 +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.52222ms] [] [2025/04/04 10:49:50.563 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:50.662 +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/04 10:49:50.662 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 10:49:50.664 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 10:49:50.689 +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=141.667744ms] [] [2025/04/04 10:49:50.689 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 10:49:50.757 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:50.763 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:50.763 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 10:49:50.783 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:50.959 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.982195753\n# Parse_time: 0.000085479\n# Compile_time: 0.000358122\n# Rewrite_time: 0.000079074\n# Optimize_time: 0.000236104\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4MS41bXMsIG9wZW46NjYzbnMsIGNsb3NlOjg1MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4MS41bXMsIG9wZW46NjYzbnMsIGNsb3NlOjg1MG5zLCBsb29wczoycP////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/04 10:49:50.973 +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-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:50.973 +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-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:50.978 +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-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:50.994 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=2.017447ms] [gotSchemaVersion=76] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:50.998 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=76] [2025/04/04 10:49:50.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=76] ["take time"=8.708259ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.009 +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-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.024 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.907748ms] [gotSchemaVersion=77] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:51.027 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=77] [2025/04/04 10:49:51.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=77] ["take time"=8.52325ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.037 +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-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.043 +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/04 10:49:51.057 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.006747ms] [gotSchemaVersion=78] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:51.061 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=78] [2025/04/04 10:49:51.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=78] ["take time"=8.306198ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.072 +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/04 10:49:51.076 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/04 10:49:51.076 +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-04 10:49:50.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.094 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 10:49:51.094 +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/04 10:49:51.108 +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-04 10:49:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:51.108 +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-04 10:49:51.051 +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/04 10:49:51.114 +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-04 10:49:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.119 +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/04 10:49:51.136 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.638146ms] [gotSchemaVersion=79] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:51.139 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=79] [2025/04/04 10:49:51.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=79] ["take time"=8.68043ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.152 +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-04 10:49:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:51.165 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 10:49:51.165 +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/04 10:49:51.171 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:51.218 +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/04 10:49:51.282 +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/04 10:49:51.296 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:51.296 +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/04 10:49:51.399 +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/04 10:49:51.400 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:51.402 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 10:49:51.410 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:51.413 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:51.414 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:51.414 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=75.984Β΅s] [2025/04/04 10:49:51.414 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=173.379Β΅s] [] [2025/04/04 10:49:51.414 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:51.414 +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/04 10:49:51.449 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:51.469 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:49:51.469 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:51.477 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:51.477 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:51.477 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:51.477 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:51.478 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:51.478 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:51.478 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:51.478 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:51.478 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:51.479 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:51.491 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:51.493 +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/04 10:49:51.493 +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/04 10:49:51.493 +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/04 10:49:51.494 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/04 10:49:51.494 +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/04 10:49:51.501 +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/04 10:49:51.501 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [2025/04/04 10:49:51.505 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 10:49:51.506 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:51.509 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:51.510 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:49:51.528 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 10:49:51.655 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [2025/04/04 10:49:51.657 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [readDur=1.308756ms] [encodeDur=252.697Β΅s] [checksum="{cksum=14407722893173523601,size=206,kvs=4}"] [deliverDur=133.497Β΅s] [type=file] [takeTime=2.020681ms] [] [2025/04/04 10:49:51.659 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:49:51.659 +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/da094fad-ec97-4bf6-a519-bb4aced10fe4.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F728000000000000002] [2025/04/04 10:49:51.684 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [2025/04/04 10:49:51.686 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [readDur=1.293949ms] [encodeDur=217.623Β΅s] [checksum="{cksum=15782324127249246501,size=206,kvs=4}"] [deliverDur=33.464Β΅s] [type=file] [takeTime=1.932059ms] [] [2025/04/04 10:49:51.687 +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/d8e224a8-e7d4-469e-bb3d-148e5f2fb320.sst] [firstKey=7480000000000000855F728000000000000003] [lastKey=7480000000000000855F728000000000000004] [2025/04/04 10:49:51.687 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 10:49:51.765 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [2025/04/04 10:49:51.767 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [readDur=1.033737ms] [encodeDur=241.573Β΅s] [checksum="{cksum=12669308623598711748,size=206,kvs=4}"] [deliverDur=29.914Β΅s] [type=file] [takeTime=1.660945ms] [] [2025/04/04 10:49:51.769 +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/5a5f5175-3fc7-4726-b15c-6c893d43d702.sst] [firstKey=7480000000000000855F728000000000000005] [lastKey=7480000000000000855F728000000000000006] [2025/04/04 10:49:51.769 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:51.769 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:51.769 +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/04 10:49:51.771 +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.179246ms] [] [2025/04/04 10:49:51.771 +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/04 10:49:51.776 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:51.798 +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/04 10:49:51.798 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:51.800 +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/04 10:49:51.813 +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/04 10:49:51.815 +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.55585ms] [] [2025/04/04 10:49:51.815 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:51.816 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.359267ms] [] [2025/04/04 10:49:51.816 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 10:49:51.816 +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/04 10:49:51.818 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=396] [count=6] [cost=1.531539ms] [file=/tmp/tidb/import-4000/4/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/3de3dc1e-352d-498a-a1ee-1599e8022ff4.sst] [2025/04/04 10:49:51.818 +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/3de3dc1e-352d-498a-a1ee-1599e8022ff4.sst] [firstKey=7480000000000000855F698000000000000001017465737431000000FC038000000000000001038000000000000001] [lastKey=7480000000000000855F698000000000000001017465737436000000FC038000000000000006038000000000000006] [2025/04/04 10:49:51.821 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=4.127272ms] [] [2025/04/04 10:49:51.821 +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/04 10:49:51.825 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:51.847 +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/04 10:49:51.847 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:51.849 +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/04 10:49:51.861 +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/04 10:49:51.863 +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=41.7593ms] [] [2025/04/04 10:49:51.863 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:51.864 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.201189ms] [] [2025/04/04 10:49:51.864 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [takeTime=362.771456ms] [] [2025/04/04 10:49:51.864 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [takeTime=362.913217ms] [] [2025/04/04 10:49:51.904 +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/04 10:49:51.905 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:51.907 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:51.907 +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/04 10:49:51.941 +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/04 10:49:51.942 +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/04 10:49:51.942 +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/04 10:49:51.967 +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/04 10:49:51.974 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 10:49:51.978 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:51.978 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:51.978 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:51.978 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:51.978 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:51.979 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:51.979 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:51.979 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:51.979 +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/04 10:49:51.979 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:51.979 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:51.979 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:51.981 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:51.981 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:51.981 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:51.981 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:51.981 +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=487.683355ms] [] [2025/04/04 10:49:51.983 +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/04 10:49:51.992 +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/04 10:49:51.992 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 10:49:51.992 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 10:49:51.992 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 10:49:51.992 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=1.912Β΅s] [] [2025/04/04 10:49:51.992 +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/04 10:49:51.992 +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/04 10:49:51.992 +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/04 10:49:51.992 +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/04 10:49:51.992 +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/04 10:49:51.998 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 10:49:51.999 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=1] [checksum=12171121870781005272] [totalKvs=6] [totalBytes=396] [2025/04/04 10:49:52.000 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:52.000 +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/04 10:49:52.000 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=7.875094ms] [] [2025/04/04 10:49:52.000 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=8.027056ms] [] [2025/04/04 10:49:52.000 +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=8.206182ms] [] [2025/04/04 10:49:52.007 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:52.104 +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/04 10:49:52.104 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 10:49:52.106 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 10:49:52.123 +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=140.096228ms] [] [2025/04/04 10:49:52.123 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 10:49:52.199 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:52.200 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.033786926\n# Parse_time: 0.000084278\n# Compile_time: 0.000393641\n# Rewrite_time: 0.000090527\n# Optimize_time: 0.000296902\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDNzLCBvcGVuOjY2MW5zLCBjbG9zZTo4NzhucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDNzLCBvcGVuOjY2MW5zLCBjbG9zZTo4NzhucywgbG9vcHM6MnD///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/04 10:49:52.205 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:52.205 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 10:49:52.217 +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-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:52.217 +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-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:52.223 +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-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.230 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:52.242 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=2.427542ms] [gotSchemaVersion=80] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:52.245 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=80] [2025/04/04 10:49:52.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=80] ["take time"=10.181301ms] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.258 +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-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.275 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=2.483875ms] [gotSchemaVersion=81] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:52.279 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=81] [2025/04/04 10:49:52.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=81] ["take time"=10.09969ms] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.290 +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-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.297 +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/04 10:49:52.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.150039ms] [gotSchemaVersion=82] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:52.317 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=82] [2025/04/04 10:49:52.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=82] ["take time"=8.908092ms] [job="ID:135, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.329 +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/04 10:49:52.334 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="drop table"] [2025/04/04 10:49:52.335 +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-04 10:49:52.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.354 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/04 10:49:52.354 +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/04 10:49:52.368 +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-04 10:49:52.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:52.368 +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-04 10:49:52.352 +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/04 10:49:52.374 +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-04 10:49:52.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.380 +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/04 10:49:52.397 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.864395ms] [gotSchemaVersion=83] [phyTblIDs="[136]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:52.401 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=83] [2025/04/04 10:49:52.403 +00:00] [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.61326ms] [job="ID:137, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:52.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.416 +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-04 10:49:52.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:52.430 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 10:49:52.430 +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/04 10:49:52.436 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:52.490 +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/04 10:49:52.510 +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/04 10:49:52.525 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:52.525 +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/04 10:49:52.628 +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/04 10:49:52.629 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:52.631 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 10:49:52.638 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:52.653 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:52.653 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:52.653 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=65.492Β΅s] [2025/04/04 10:49:52.653 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=194.077Β΅s] [] [2025/04/04 10:49:52.653 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:52.653 +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/04 10:49:52.690 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:52.712 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:49:52.712 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:52.721 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:52.721 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:52.721 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:52.721 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:52.722 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:52.722 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:52.722 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:52.722 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:52.722 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:52.722 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:52.735 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 10:49:52.738 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:52.740 +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/04 10:49:52.740 +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/04 10:49:52.740 +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/04 10:49:52.740 +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/04 10:49:52.740 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/04 10:49:52.751 +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/04 10:49:52.751 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [2025/04/04 10:49:52.756 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:52.757 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 10:49:52.760 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:52.760 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 10:49:52.834 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [2025/04/04 10:49:52.835 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [readDur=1.049828ms] [encodeDur=195.071Β΅s] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=49.044Β΅s] [type=file] [takeTime=1.604282ms] [] [2025/04/04 10:49:52.837 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 10:49:52.837 +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/951542cf-27fa-4e2c-8b6b-392a53ed7d29.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/04 10:49:52.915 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [2025/04/04 10:49:52.917 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [readDur=890.442Β΅s] [encodeDur=197.198Β΅s] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=29.825Β΅s] [type=file] [takeTime=1.382094ms] [] [2025/04/04 10:49:52.918 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 10:49:52.918 +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/c31c1420-a1ae-44f8-a3c7-7f40169de226.sst] [firstKey=7480000000000000885F728000000000000003] [lastKey=7480000000000000885F728000000000000004] [2025/04/04 10:49:52.985 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [2025/04/04 10:49:52.986 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [readDur=792.979Β΅s] [encodeDur=490.325Β΅s] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=42.46Β΅s] [type=file] [takeTime=1.558426ms] [] [2025/04/04 10:49:52.987 +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/8474b6f4-c517-4a44-a811-7e173f8f627c.sst] [firstKey=7480000000000000885F728000000000000005] [lastKey=7480000000000000885F728000000000000006] [2025/04/04 10:49:52.987 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:52.988 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:52.988 +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/04 10:49:52.990 +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.004423ms] [] [2025/04/04 10:49:52.990 +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/04 10:49:52.994 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:53.015 +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/04 10:49:53.016 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:53.017 +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/04 10:49:53.028 +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/04 10:49:53.030 +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.25846ms] [] [2025/04/04 10:49:53.030 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:53.031 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.199866ms] [] [2025/04/04 10:49:53.031 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 10:49:53.031 +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/04 10:49:53.033 +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.499549ms] [] [2025/04/04 10:49:53.033 +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/04 10:49:53.037 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:53.037 +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.71611ms] [] [2025/04/04 10:49:53.037 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:53.038 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=875.528Β΅s] [] [2025/04/04 10:49:53.038 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [takeTime=286.577019ms] [] [2025/04/04 10:49:53.038 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [takeTime=286.754405ms] [] [2025/04/04 10:49:53.132 +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/04 10:49:53.133 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:53.134 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:53.134 +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/04 10:49:53.162 +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/04 10:49:53.163 +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/04 10:49:53.163 +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/04 10:49:53.184 +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/04 10:49:53.184 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 10:49:53.187 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:53.187 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:53.187 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:53.187 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:53.187 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:53.187 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:53.187 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:53.187 +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/04 10:49:53.187 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:53.187 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:53.187 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:53.187 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:53.189 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:53.190 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:53.190 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:53.190 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:53.190 +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=449.300377ms] [] [2025/04/04 10:49:53.190 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:49:53.197 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:53.217 +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/04 10:49:53.225 +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/04 10:49:53.225 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 10:49:53.225 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 10:49:53.225 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 10:49:53.231 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=6.103225ms] [] [2025/04/04 10:49:53.231 +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/04 10:49:53.231 +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/04 10:49:53.231 +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/04 10:49:53.232 +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/04 10:49:53.233 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 10:49:53.234 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:53.234 +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/04 10:49:53.234 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=8.572669ms] [] [2025/04/04 10:49:53.234 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=8.759125ms] [] [2025/04/04 10:49:53.234 +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.944267ms] [] [2025/04/04 10:49:53.246 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:53.332 +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/04 10:49:53.332 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 10:49:53.335 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 10:49:53.349 +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=132.130145ms] [] [2025/04/04 10:49:53.349 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 10:49:53.426 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995370868\n# Parse_time: 0.000091271\n# Compile_time: 0.000464688\n# Rewrite_time: 0.00013999\n# Optimize_time: 0.000490679\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC41bXMsIG9wZW46NzYxbnMsIGNsb3NlOjYzNm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC41bXMsIG9wZW46NzYxbnMsIGNsb3NlOjYzNm5zLCBsb29wczoycP////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/04 10:49:53.427 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:53.433 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:53.433 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 10:49:53.441 +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-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:53.441 +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-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:53.446 +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-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.456 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:53.462 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=2.060692ms] [gotSchemaVersion=84] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:53.466 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=84] [2025/04/04 10:49:53.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=84] ["take time"=9.097768ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.476 +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-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.492 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=2.079855ms] [gotSchemaVersion=85] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:53.496 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=85] [2025/04/04 10:49:53.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=85] ["take time"=9.0367ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.506 +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-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.513 +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/04 10:49:53.527 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.207316ms] [gotSchemaVersion=86] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:53.530 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=86] [2025/04/04 10:49:53.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=86] ["take time"=8.159599ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.542 +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/04 10:49:53.546 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/04 10:49:53.547 +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-04 10:49:53.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.565 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/04 10:49:53.565 +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/04 10:49:53.578 +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-04 10:49:53.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:53.578 +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-04 10:49:53.552 +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/04 10:49:53.584 +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-04 10:49:53.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.588 +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/04 10:49:53.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.764619ms] [gotSchemaVersion=87] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:53.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=87] [2025/04/04 10:49:53.609 +00:00] [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"=8.53668ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:53.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.620 +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-04 10:49:53.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:53.632 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 10:49:53.632 +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/04 10:49:53.638 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:53.690 +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/04 10:49:53.708 +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/04 10:49:53.722 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 10:49:53.722 +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/04 10:49:53.825 +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/04 10:49:53.826 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:53.827 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 10:49:53.835 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:53.838 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:53.838 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:53.838 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=66.624Β΅s] [2025/04/04 10:49:53.838 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=176.523Β΅s] [] [2025/04/04 10:49:53.838 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:53.838 +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/04 10:49:53.880 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:53.901 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:49:53.901 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:53.909 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:53.909 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:53.910 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:53.910 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:53.910 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:53.910 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:53.910 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:53.911 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:53.911 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:53.911 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:53.925 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:53.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/04 10:49:53.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/04 10:49:53.928 +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/04 10:49:53.928 +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/04 10:49:53.928 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/04 10:49:53.930 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 10:49:53.936 +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/04 10:49:53.936 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [2025/04/04 10:49:53.942 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:53.948 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:53.948 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 10:49:53.952 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 10:49:54.014 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [2025/04/04 10:49:54.017 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [readDur=1.148163ms] [encodeDur=254.377Β΅s] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=505.06Β΅s] [type=file] [takeTime=2.458877ms] [] [2025/04/04 10:49:54.018 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 10:49:54.018 +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/14e963b1-dc16-4161-87c6-d6e5f7bd680c.sst] [firstKey=74800000000000008B5F728000000000000001] [lastKey=74800000000000008B5F728000000000000002] [2025/04/04 10:49:54.115 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [2025/04/04 10:49:54.117 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [readDur=1.040823ms] [encodeDur=535.101Β΅s] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=37.949Β΅s] [type=file] [takeTime=1.950069ms] [] [2025/04/04 10:49:54.118 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 10:49:54.118 +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/c0f3f4e5-b7ec-4eed-a78b-206c3b3b8c47.sst] [firstKey=74800000000000008B5F728000000000000003] [lastKey=74800000000000008B5F728000000000000004] [2025/04/04 10:49:54.217 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [2025/04/04 10:49:54.219 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [readDur=1.023161ms] [encodeDur=494.014Β΅s] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=24.401Β΅s] [type=file] [takeTime=1.838292ms] [] [2025/04/04 10:49:54.220 +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/895df166-8df5-4993-a592-da79c7ccafbf.sst] [firstKey=74800000000000008B5F728000000000000005] [lastKey=74800000000000008B5F728000000000000006] [2025/04/04 10:49:54.220 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:54.220 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:54.220 +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/04 10:49:54.223 +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.543224ms] [] [2025/04/04 10:49:54.223 +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/04 10:49:54.227 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:54.249 +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/04 10:49:54.249 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:54.251 +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/04 10:49:54.264 +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/04 10:49:54.266 +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.9576ms] [] [2025/04/04 10:49:54.266 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:54.267 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.302127ms] [] [2025/04/04 10:49:54.267 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 10:49:54.267 +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/04 10:49:54.269 +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.688704ms] [] [2025/04/04 10:49:54.269 +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/04 10:49:54.273 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:54.273 +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.10518ms] [] [2025/04/04 10:49:54.273 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:54.274 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=969.574Β΅s] [] [2025/04/04 10:49:54.275 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [takeTime=338.257131ms] [] [2025/04/04 10:49:54.275 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [takeTime=338.521407ms] [] [2025/04/04 10:49:54.329 +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/04 10:49:54.330 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:54.331 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:54.331 +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/04 10:49:54.362 +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/04 10:49:54.364 +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/04 10:49:54.364 +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/04 10:49:54.398 +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/04 10:49:54.405 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 10:49:54.408 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:54.408 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:54.408 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:54.408 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:54.408 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:54.408 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:54.408 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:54.408 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:54.408 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:54.408 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:54.408 +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/04 10:49:54.408 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:54.410 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:54.410 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:54.410 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:54.410 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:54.410 +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=482.708951ms] [] [2025/04/04 10:49:54.412 +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/04 10:49:54.419 +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/04 10:49:54.419 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 10:49:54.419 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 10:49:54.419 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 10:49:54.426 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=6.6101ms] [] [2025/04/04 10:49:54.426 +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/04 10:49:54.427 +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/04 10:49:54.427 +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/04 10:49:54.427 +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/04 10:49:54.430 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=139] [physicalTableID=139] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 10:49:54.431 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:54.431 +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/04 10:49:54.431 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=11.858894ms] [] [2025/04/04 10:49:54.431 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=12.007763ms] [] [2025/04/04 10:49:54.431 +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=12.233582ms] [] [2025/04/04 10:49:54.440 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:54.529 +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/04 10:49:54.530 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 10:49:54.532 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 10:49:54.551 +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=139.35791ms] [] [2025/04/04 10:49:54.551 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 10:49:54.624 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 10:49:54.625 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.99270609\n# Parse_time: 0.00014206\n# Compile_time: 0.000478085\n# Rewrite_time: 0.000122413\n# Optimize_time: 0.00025469\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS44bXMsIG9wZW46NzA5bnMsIGNsb3NlOjc1OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS44bXMsIG9wZW46NzA5bnMsIGNsb3NlOjc1OW5zLCBsb29wczoycP////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/04 10:49:54.630 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:54.630 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/04 10:49:54.641 +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-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:54.641 +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-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:54.646 +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-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.650 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:54.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=2.112831ms] [gotSchemaVersion=88] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.666 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=88] [2025/04/04 10:49:54.668 +00:00] [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.419493ms] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.677 +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-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.693 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.092368ms] [gotSchemaVersion=89] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.697 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=89] [2025/04/04 10:49:54.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=89] ["take time"=9.024628ms] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.706 +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-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.713 +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/04 10:49:54.726 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.184273ms] [gotSchemaVersion=90] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:54.730 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=90] [2025/04/04 10:49:54.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=90] ["take time"=8.834563ms] [job="ID:141, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.742 +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/04 10:49:54.746 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=141] [jobType="drop table"] [2025/04/04 10:49:54.747 +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-04 10:49:54.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.765 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/04 10:49:54.765 +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/04 10:49:54.779 +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-04 10:49:54.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:54.779 +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-04 10:49:54.752 +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/04 10:49:54.784 +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-04 10:49:54.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.789 +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/04 10:49:54.806 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.852765ms] [gotSchemaVersion=91] [phyTblIDs="[142]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:54.811 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=91] [2025/04/04 10:49:54.813 +00:00] [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.738242ms] [job="ID:143, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:54.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.825 +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-04 10:49:54.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:54.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/04 10:49:54.838 +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/04 10:49:54.843 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:54.892 +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/04 10:49:54.913 +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/04 10:49:54.926 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:54.926 +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/04 10:49:55.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=init] [next-step=import] [2025/04/04 10:49:55.030 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:55.031 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 10:49:55.039 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:55.042 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:55.042 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:55.042 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=86.83Β΅s] [2025/04/04 10:49:55.042 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=221.471Β΅s] [] [2025/04/04 10:49:55.042 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:55.042 +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/04 10:49:55.079 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:55.098 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:49:55.098 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:55.107 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:55.107 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:55.108 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:55.108 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:55.108 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:55.108 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:55.108 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:55.108 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:55.109 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:55.109 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:55.121 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:55.123 +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/04 10:49:55.123 +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/04 10:49:55.123 +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/04 10:49:55.123 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/04 10:49:55.123 +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/04 10:49:55.132 +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/04 10:49:55.132 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [2025/04/04 10:49:55.135 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 10:49:55.136 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:55.139 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:55.139 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 10:49:55.142 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [2025/04/04 10:49:55.144 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [readDur=1.068507ms] [encodeDur=369.052Β΅s] [checksum="{cksum=6438872994288898047,size=96,kvs=2}"] [deliverDur=31.123Β΅s] [type=file] [takeTime=2.283911ms] [] [2025/04/04 10:49:55.145 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 10:49:55.145 +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/3f96c816-6e02-449a-9db8-e44ae3bac839.sst] [firstKey=74800000000000008E5F72017465737431000000FC03800000000000000B] [lastKey=74800000000000008E5F72017465737432000000FC038000000000000016] [2025/04/04 10:49:55.147 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [2025/04/04 10:49:55.149 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [readDur=1.025643ms] [encodeDur=305.25Β΅s] [checksum="{cksum=1050029282737908383,size=96,kvs=2}"] [deliverDur=24.147Β΅s] [type=file] [takeTime=1.649092ms] [] [2025/04/04 10:49:55.150 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 10:49:55.150 +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/7c208fd8-abf1-45b4-b622-ed148897e061.sst] [firstKey=74800000000000008E5F72017465737433000000FC038000000000000021] [lastKey=74800000000000008E5F72017465737434000000FC03800000000000002C] [2025/04/04 10:49:55.163 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 10:49:55.178 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [2025/04/04 10:49:55.180 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [readDur=998.803Β΅s] [encodeDur=183.37Β΅s] [checksum="{cksum=8773259395275999690,size=96,kvs=2}"] [deliverDur=27.339Β΅s] [type=file] [takeTime=1.434018ms] [] [2025/04/04 10:49:55.181 +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/1964b164-0531-4733-86b2-20663429bae9.sst] [firstKey=74800000000000008E5F72017465737435000000FC038000000000000037] [lastKey=74800000000000008E5F72017465737436000000FC038000000000000042] [2025/04/04 10:49:55.181 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:55.181 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:55.181 +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/04 10:49:55.183 +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.741066ms] [] [2025/04/04 10:49:55.183 +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/04 10:49:55.188 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:55.211 +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/04 10:49:55.211 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:55.213 +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/04 10:49:55.224 +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/04 10:49:55.226 +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.170124ms] [] [2025/04/04 10:49:55.226 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:55.227 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.123462ms] [] [2025/04/04 10:49:55.227 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 10:49:55.227 +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/04 10:49:55.229 +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.608566ms] [] [2025/04/04 10:49:55.229 +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/04 10:49:55.233 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:55.233 +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.619358ms] [] [2025/04/04 10:49:55.233 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:55.234 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=889.66Β΅s] [] [2025/04/04 10:49:55.234 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [takeTime=101.982451ms] [] [2025/04/04 10:49:55.234 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [takeTime=102.150766ms] [] [2025/04/04 10:49:55.333 +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/04 10:49:55.335 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:55.337 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:55.337 +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/04 10:49:55.366 +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/04 10:49:55.367 +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/04 10:49:55.368 +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/04 10:49:55.378 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:49:55.378 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 10:49:55.381 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:55.381 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:55.381 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:55.381 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:55.381 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:55.381 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:55.381 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:55.381 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:55.381 +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/04 10:49:55.381 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:55.381 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:55.381 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:55.383 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:55.383 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:55.383 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:55.383 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:55.384 +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=259.977104ms] [] [2025/04/04 10:49:55.384 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 10:49:55.399 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:55.421 +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/04 10:49:55.428 +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/04 10:49:55.428 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 10:49:55.429 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 10:49:55.429 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 10:49:55.429 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.053Β΅s] [] [2025/04/04 10:49:55.429 +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/04 10:49:55.429 +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/04 10:49:55.429 +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/04 10:49:55.429 +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/04 10:49:55.431 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:49:55.431 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=-1] [checksum=3317442229611736234] [totalKvs=6] [totalBytes=288] [2025/04/04 10:49:55.431 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:55.431 +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/04 10:49:55.431 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.769129ms] [] [2025/04/04 10:49:55.431 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.890156ms] [] [2025/04/04 10:49:55.431 +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=3.048668ms] [] [2025/04/04 10:49:55.438 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:55.533 +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/04 10:49:55.533 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 10:49:55.536 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 10:49:55.555 +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=134.715875ms] [] [2025/04/04 10:49:55.555 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 10:49:55.629 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:55.635 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:55.635 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 10:49:55.660 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:55.831 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.992498902\n# Parse_time: 0.000092219\n# Compile_time: 0.000354348\n# Rewrite_time: 0.000078722\n# Optimize_time: 0.000284056\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS44bXMsIG9wZW46NjI3bnMsIGNsb3NlOjYzNm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS44bXMsIG9wZW46NjI3bnMsIGNsb3NlOjYzNm5zLCBsb29wczoycP////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/04 10:49:55.853 +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-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:55.853 +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-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:55.858 +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-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.876 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=2.391978ms] [gotSchemaVersion=92] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:55.880 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=92] [2025/04/04 10:49:55.882 +00:00] [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"=10.212648ms] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.892 +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-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.908 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=2.364947ms] [gotSchemaVersion=93] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:55.912 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=93] [2025/04/04 10:49:55.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=93] ["take time"=9.840147ms] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.925 +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-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.932 +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/04 10:49:55.946 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.101601ms] [gotSchemaVersion=94] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:55.950 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=94] [2025/04/04 10:49:55.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=94] ["take time"=8.452596ms] [job="ID:144, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.962 +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/04 10:49:55.970 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=144] [jobType="drop table"] [2025/04/04 10:49:55.971 +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-04 10:49:55.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:55.991 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/04 10:49:55.992 +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/04 10:49:56.005 +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-04 10:49:55.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:56.005 +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-04 10:49:55.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:49:56.011 +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-04 10:49:55.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.016 +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/04 10:49:56.033 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.616288ms] [gotSchemaVersion=95] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:56.037 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=95] [2025/04/04 10:49:56.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=95] ["take time"=9.056985ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:55.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.050 +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-04 10:49:55.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:56.061 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 10:49:56.061 +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/04 10:49:56.067 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:56.111 +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/04 10:49:56.132 +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/04 10:49:56.146 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/04 10:49:56.146 +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/04 10:49:56.248 +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/04 10:49:56.249 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:56.251 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/04 10:49:56.258 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:56.261 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:56.261 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:56.261 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=84.405Β΅s] [2025/04/04 10:49:56.261 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=179.532Β΅s] [] [2025/04/04 10:49:56.261 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:56.261 +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/04 10:49:56.300 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:56.322 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 10:49:56.323 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:56.332 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:56.333 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:56.333 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:56.333 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:56.333 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:56.333 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:56.333 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:56.334 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:56.334 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:56.334 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:56.350 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:56.351 +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/04 10:49:56.351 +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/04 10:49:56.352 +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/04 10:49:56.352 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=8] [disk-quota=348.5GiB] [2025/04/04 10:49:56.352 +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/04 10:49:56.354 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/04 10:49:56.370 +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/04 10:49:56.370 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [2025/04/04 10:49:56.374 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:56.375 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/04 10:49:56.395 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:56.395 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 10:49:56.407 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [2025/04/04 10:49:56.410 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [readDur=878.114Β΅s] [encodeDur=580.73Β΅s] [checksum="{cksum=13837959720985630831,size=82,kvs=2}"] [deliverDur=245.794Β΅s] [type=file] [takeTime=2.020899ms] [] [2025/04/04 10:49:56.410 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 10:49:56.410 +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/0e487ee9-6791-42aa-bb92-7c2ea2c67239.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000002] [2025/04/04 10:49:56.423 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [2025/04/04 10:49:56.425 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [readDur=906.286Β΅s] [encodeDur=607.94Β΅s] [checksum="{cksum=7610901642014463118,size=82,kvs=2}"] [deliverDur=234.411Β΅s] [type=file] [takeTime=1.976244ms] [] [2025/04/04 10:49:56.426 +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/9a7fbf2d-248e-4d76-88a0-c7691f22cd80.sst] [firstKey=7480000000000000915F728000000000000008] [lastKey=7480000000000000915F728000000000000009] [2025/04/04 10:49:56.426 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 10:49:56.448 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [2025/04/04 10:49:56.451 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [readDur=1.031054ms] [encodeDur=630.121Β΅s] [checksum="{cksum=9673548632033812539,size=82,kvs=2}"] [deliverDur=294.535Β΅s] [type=file] [takeTime=2.269105ms] [] [2025/04/04 10:49:56.451 +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/ad5758b9-d7a1-4376-ab64-a598fd2b0ffe.sst] [firstKey=7480000000000000915F72800000000000000F] [lastKey=7480000000000000915F728000000000000010] [2025/04/04 10:49:56.452 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:49:56.452 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:49:56.452 +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/04 10:49:56.454 +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.434944ms] [] [2025/04/04 10:49:56.454 +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/04 10:49:56.459 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:56.481 +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/04 10:49:56.481 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:56.483 +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/04 10:49:56.495 +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/04 10:49:56.497 +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.946866ms] [] [2025/04/04 10:49:56.497 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:56.499 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.257261ms] [] [2025/04/04 10:49:56.499 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 10:49:56.499 +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/04 10:49:56.500 +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.48278ms] [] [2025/04/04 10:49:56.500 +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/04 10:49:56.504 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:56.504 +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.759586ms] [] [2025/04/04 10:49:56.504 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:56.505 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.027749ms] [] [2025/04/04 10:49:56.506 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [takeTime=135.65635ms] [] [2025/04/04 10:49:56.506 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [takeTime=135.81091ms] [] [2025/04/04 10:49:56.557 +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/04 10:49:56.558 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:56.560 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:56.560 +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/04 10:49:56.593 +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/04 10:49:56.594 +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/04 10:49:56.594 +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/04 10:49:56.621 +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/04 10:49:56.628 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 10:49:56.632 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:56.632 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:56.632 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:56.632 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:56.632 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:56.632 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:56.632 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:56.632 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:56.632 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:56.632 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:56.632 +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/04 10:49:56.632 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:56.636 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:56.636 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:56.636 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:56.636 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:56.636 +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=284.198917ms] [] [2025/04/04 10:49:56.637 +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/04 10:49:56.646 +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/04 10:49:56.647 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 10:49:56.647 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 10:49:56.647 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 10:49:56.653 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=6.727132ms] [] [2025/04/04 10:49:56.654 +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/04 10:49:56.654 +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/04 10:49:56.654 +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/04 10:49:56.654 +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/04 10:49:56.656 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=3434641841828523226] [totalKvs=6] [totalBytes=246] [2025/04/04 10:49:56.656 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:56.657 +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/04 10:49:56.657 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=9.895719ms] [] [2025/04/04 10:49:56.657 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=10.066914ms] [] [2025/04/04 10:49:56.658 +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=11.83542ms] [] [2025/04/04 10:49:56.672 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:56.754 +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/04 10:49:56.754 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/04 10:49:56.757 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/04 10:49:56.787 +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=149.010815ms] [] [2025/04/04 10:49:56.787 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/04 10:49:56.848 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/04 10:49:56.854 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:56.854 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/04 10:49:56.876 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:57.048 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.986660669\n# Parse_time: 0.000140509\n# Compile_time: 0.000379883\n# Rewrite_time: 0.000079055\n# Optimize_time: 0.000306066\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS45bXMsIG9wZW46NjY3bnMsIGNsb3NlOjgyMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS45bXMsIG9wZW46NjY3bnMsIGNsb3NlOjgyMW5zLCBsb29wczoycP////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/04 10:49:57.064 +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-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:57.064 +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-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:57.069 +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-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.086 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=2.137059ms] [gotSchemaVersion=96] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:57.089 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=96] [2025/04/04 10:49:57.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=96] ["take time"=9.788496ms] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.101 +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-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=1.947825ms] [gotSchemaVersion=97] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:57.120 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=97] [2025/04/04 10:49:57.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=97] ["take time"=8.706608ms] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.130 +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-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.136 +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/04 10:49:57.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.046488ms] [gotSchemaVersion=98] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:57.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=98] [2025/04/04 10:49:57.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=98] ["take time"=7.871222ms] [job="ID:147, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.164 +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/04 10:49:57.168 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=147] [jobType="drop table"] [2025/04/04 10:49:57.169 +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-04 10:49:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=147] [2025/04/04 10:49:57.186 +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/04 10:49:57.198 +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-04 10:49:57.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:57.198 +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-04 10:49:57.152 +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/04 10:49:57.203 +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-04 10:49:57.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.208 +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/04 10:49:57.224 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.643769ms] [gotSchemaVersion=99] [phyTblIDs="[148]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:57.227 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=99] [2025/04/04 10:49:57.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=99] ["take time"=8.287102ms] [job="ID:149, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:57.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.240 +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-04 10:49:57.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:57.252 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/04 10:49:57.253 +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/04 10:49:57.258 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:57.303 +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/04 10:49:57.322 +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/04 10:49:57.335 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=9] [2025/04/04 10:49:57.335 +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/04 10:49:57.437 +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/04 10:49:57.439 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:57.440 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [2025/04/04 10:49:57.448 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:57.450 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:57.450 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:57.450 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=79.032Β΅s] [2025/04/04 10:49:57.450 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=169.154Β΅s] [] [2025/04/04 10:49:57.450 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:57.450 +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/04 10:49:57.487 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=9] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:57.507 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/04 10:49:57.507 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:57.515 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:57.515 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:57.515 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:57.515 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:57.516 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:57.516 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:57.516 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:57.516 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:57.516 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:57.516 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:57.528 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:57.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/04 10:49:57.535 +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/04 10:49:57.535 +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/04 10:49:57.535 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=9] [disk-quota=348.5GiB] [2025/04/04 10:49:57.535 +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/04 10:49:57.542 +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/04 10:49:57.542 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [2025/04/04 10:49:57.546 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=9] [mode=Import] [2025/04/04 10:49:57.547 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:57.550 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:57.550 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 10:49:57.564 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [2025/04/04 10:49:57.567 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [readDur=973.152Β΅s] [encodeDur=610.019Β΅s] [checksum="{cksum=11510279650924602162,size=82,kvs=2}"] [deliverDur=208.214Β΅s] [type=file] [takeTime=2.084334ms] [] [2025/04/04 10:49:57.567 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 10:49:57.567 +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/9c53d252-cb26-4478-86ee-d33612904528.sst] [firstKey=7480000000000000945F728000000000000001] [lastKey=7480000000000000945F728000000000000002] [2025/04/04 10:49:57.571 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=9] [2025/04/04 10:49:57.580 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [2025/04/04 10:49:57.582 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [readDur=878.25Β΅s] [encodeDur=614.635Β΅s] [checksum="{cksum=16401860098335995135,size=82,kvs=2}"] [deliverDur=243.003Β΅s] [type=file] [takeTime=1.961044ms] [] [2025/04/04 10:49:57.583 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 10:49:57.583 +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/a281abf3-afc6-4009-873a-fd533f62554d.sst] [firstKey=7480000000000000945F728000000000000006] [lastKey=7480000000000000945F728000000000000007] [2025/04/04 10:49:57.679 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [2025/04/04 10:49:57.680 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [readDur=842.803Β΅s] [encodeDur=265.717Β΅s] [checksum="{cksum=17104710824714968226,size=82,kvs=2}"] [deliverDur=251.603Β΅s] [type=file] [takeTime=1.612774ms] [] [2025/04/04 10:49:57.681 +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/76f00e32-5570-40d3-9c62-88a53c10374c.sst] [firstKey=7480000000000000945F72800000000000000B] [lastKey=7480000000000000945F72800000000000000C] [2025/04/04 10:49:57.681 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 10:49:57.681 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 10:49:57.681 +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/04 10:49:57.683 +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.062126ms] [] [2025/04/04 10:49:57.683 +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/04 10:49:57.688 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:57.709 +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/04 10:49:57.709 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:57.711 +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/04 10:49:57.723 +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/04 10:49:57.725 +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.560566ms] [] [2025/04/04 10:49:57.725 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:57.726 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.189297ms] [] [2025/04/04 10:49:57.726 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 10:49:57.726 +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/04 10:49:57.728 +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.47545ms] [] [2025/04/04 10:49:57.728 +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/04 10:49:57.732 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:57.732 +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.673238ms] [] [2025/04/04 10:49:57.732 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:57.733 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=824.089Β΅s] [] [2025/04/04 10:49:57.733 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [takeTime=190.37827ms] [] [2025/04/04 10:49:57.734 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [takeTime=191.391002ms] [] [2025/04/04 10:49:57.843 +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/04 10:49:57.845 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:57.846 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:57.846 +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/04 10:49:57.880 +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/04 10:49:57.882 +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/04 10:49:57.882 +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/04 10:49:57.901 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:49:57.901 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/04 10:49:57.904 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:57.904 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:57.904 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:57.904 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:57.904 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:57.904 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:57.904 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:57.904 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:57.904 +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/04 10:49:57.904 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:57.904 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:57.904 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:57.906 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:57.906 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:57.906 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:57.906 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:57.906 +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=371.391829ms] [] [2025/04/04 10:49:57.906 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=9] [type=ImportInto] [2025/04/04 10:49:57.918 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=9] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:57.937 +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/04 10:49:57.944 +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/04 10:49:57.944 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 10:49:57.944 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 10:49:57.944 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 10:49:57.950 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=5.882589ms] [] [2025/04/04 10:49:57.950 +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/04 10:49:57.951 +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/04 10:49:57.951 +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/04 10:49:57.951 +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/04 10:49:57.952 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=148] [physicalTableID=148] [indexID=-1] [checksum=10467356601048550255] [totalKvs=6] [totalBytes=246] [2025/04/04 10:49:57.953 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:57.953 +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/04 10:49:57.953 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=8.376692ms] [] [2025/04/04 10:49:57.953 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=8.507792ms] [] [2025/04/04 10:49:57.953 +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.623434ms] [] [2025/04/04 10:49:57.978 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:58.042 +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/04 10:49:58.042 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=9] [step=post-process] [state=running] [] [2025/04/04 10:49:58.045 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=9] [2025/04/04 10:49:58.070 +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=133.064032ms] [] [2025/04/04 10:49:58.070 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=9] [type=ImportInto] [2025/04/04 10:49:58.138 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=9] [2025/04/04 10:49:58.144 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:58.144 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=9] [2025/04/04 10:49:58.166 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:58.239 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.985934281\n# Parse_time: 0.000121759\n# Compile_time: 0.000379365\n# Rewrite_time: 0.000075424\n# Optimize_time: 0.000245569\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS4ybXMsIG9wZW46NjA1bnMsIGNsb3NlOjcxMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS4ybXMsIG9wZW46NjA1bnMsIGNsb3NlOjcxMG5zLCBsb29wczoycP////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/04 10:49:58.252 +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-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:58.252 +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-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:58.257 +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-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.272 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.142661ms] [gotSchemaVersion=100] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:58.275 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=100] [2025/04/04 10:49:58.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=100] ["take time"=8.555125ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.285 +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-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.301 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.267424ms] [gotSchemaVersion=101] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:58.304 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=101] [2025/04/04 10:49:58.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=101] ["take time"=9.076003ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.314 +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-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.320 +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/04 10:49:58.335 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=943.092Β΅s] [gotSchemaVersion=102] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:58.338 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=102] [2025/04/04 10:49:58.340 +00:00] [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.940875ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.349 +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/04 10:49:58.354 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/04 10:49:58.355 +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-04 10:49:58.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.373 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 10:49:58.374 +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/04 10:49:58.388 +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-04 10:49:58.351 +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/04 10:49:58.388 +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-04 10:49:58.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:58.393 +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-04 10:49:58.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.398 +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/04 10:49:58.414 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.603713ms] [gotSchemaVersion=103] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:58.417 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=103] [2025/04/04 10:49:58.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=103] ["take time"=8.11075ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:58.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.429 +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-04 10:49:58.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:58.440 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 10:49:58.440 +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/04 10:49:58.447 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:58.492 +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/04 10:49:58.511 +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/04 10:49:58.524 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=10] [2025/04/04 10:49:58.524 +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/04 10:49:58.626 +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/04 10:49:58.628 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:58.629 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [2025/04/04 10:49:58.637 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:58.640 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:58.640 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:58.640 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=108.986Β΅s] [2025/04/04 10:49:58.640 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=238.712Β΅s] [] [2025/04/04 10:49:58.640 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:58.640 +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/04 10:49:58.681 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=10] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:58.682 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:58.683 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:49:58.683 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:49:58.700 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/04 10:49:58.701 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:58.708 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:58.708 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:58.709 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:58.709 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:58.709 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:58.709 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:58.709 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:58.709 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:58.710 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:58.710 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:58.722 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:58.723 +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/04 10:49:58.723 +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/04 10:49:58.723 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=10] [disk-quota=348.5GiB] [2025/04/04 10:49:58.723 +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/04 10:49:58.724 +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/04 10:49:58.731 +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/04 10:49:58.732 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [2025/04/04 10:49:58.734 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=10] [mode=Import] [2025/04/04 10:49:58.736 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:58.739 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:58.740 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 10:49:58.753 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=10] [2025/04/04 10:49:58.821 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [2025/04/04 10:49:58.824 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [readDur=871.194Β΅s] [encodeDur=249.995Β΅s] [checksum="{cksum=2180128874604033942,size=96,kvs=2}"] [deliverDur=1.328175ms] [type=file] [takeTime=2.763789ms] [] [2025/04/04 10:49:58.825 +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/a417bfe0-179b-463b-bd40-a0ece39e5ef1.sst] [firstKey=7480000000000000975F72800000000000000B] [lastKey=7480000000000000975F728000000000000016] [2025/04/04 10:49:58.825 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 10:49:58.889 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [2025/04/04 10:49:58.890 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [readDur=883.476Β΅s] [encodeDur=242.309Β΅s] [checksum="{cksum=17114733561715978064,size=96,kvs=2}"] [deliverDur=30.074Β΅s] [type=file] [takeTime=1.457598ms] [] [2025/04/04 10:49:58.891 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 10:49:58.891 +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/e8a60f32-6390-4dae-9fca-64dcff56a2f7.sst] [firstKey=7480000000000000975F728000000000000021] [lastKey=7480000000000000975F72800000000000002C] [2025/04/04 10:49:58.936 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [2025/04/04 10:49:58.939 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [readDur=1.125815ms] [encodeDur=547.238Β΅s] [checksum="{cksum=126932759714365300,size=96,kvs=2}"] [deliverDur=27.007Β΅s] [type=file] [takeTime=1.965082ms] [] [2025/04/04 10:49:58.940 +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/fb4a0cf9-53b7-4762-9083-d74ed480690d.sst] [firstKey=7480000000000000975F728000000000000037] [lastKey=7480000000000000975F728000000000000042] [2025/04/04 10:49:58.940 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 10:49:58.940 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 10:49:58.940 +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/04 10:49:58.942 +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.267018ms] [] [2025/04/04 10:49:58.942 +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/04 10:49:58.947 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:49:58.969 +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/04 10:49:58.969 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:49:58.970 +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/04 10:49:58.982 +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/04 10:49:58.984 +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.219778ms] [] [2025/04/04 10:49:58.984 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:58.985 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.269229ms] [] [2025/04/04 10:49:58.985 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 10:49:58.985 +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/04 10:49:58.987 +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.622382ms] [] [2025/04/04 10:49:58.987 +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/04 10:49:58.990 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:58.990 +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.627378ms] [] [2025/04/04 10:49:58.990 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:58.991 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=808.282Β΅s] [] [2025/04/04 10:49:58.991 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [takeTime=259.879544ms] [] [2025/04/04 10:49:58.992 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [takeTime=260.028187ms] [] [2025/04/04 10:49:59.031 +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/04 10:49:59.033 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:59.034 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [2025/04/04 10:49:59.034 +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/04 10:49:59.065 +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/04 10:49:59.066 +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/04 10:49:59.066 +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/04 10:49:59.091 +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/04 10:49:59.097 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/04 10:49:59.100 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:59.100 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:59.100 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:59.100 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:59.100 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:59.100 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:59.100 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:59.100 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:59.101 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:59.100 +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/04 10:49:59.101 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:59.101 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:59.103 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:49:59.103 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:59.103 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:59.103 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:59.103 +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=379.507198ms] [] [2025/04/04 10:49:59.105 +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/04 10:49:59.112 +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/04 10:49:59.112 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 10:49:59.112 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 10:49:59.112 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 10:49:59.118 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=5.874313ms] [] [2025/04/04 10:49:59.118 +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/04 10:49:59.118 +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/04 10:49:59.118 +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/04 10:49:59.118 +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/04 10:49:59.120 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=151] [physicalTableID=151] [indexID=-1] [checksum=17437960271832508338] [totalKvs=6] [totalBytes=288] [2025/04/04 10:49:59.121 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:49:59.121 +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/04 10:49:59.121 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=8.4585ms] [] [2025/04/04 10:49:59.121 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=8.61339ms] [] [2025/04/04 10:49:59.121 +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.777596ms] [] [2025/04/04 10:49:59.131 +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/04 10:49:59.131 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=10] [step=post-process] [state=running] [] [2025/04/04 10:49:59.134 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=10] [2025/04/04 10:49:59.135 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:49:59.167 +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=62.034613ms] [] [2025/04/04 10:49:59.167 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=10] [type=ImportInto] [2025/04/04 10:49:59.227 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=10] [2025/04/04 10:49:59.233 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:49:59.233 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=10] [2025/04/04 10:49:59.255 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:49:59.474 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.033223755\n# Parse_time: 0.000227065\n# Compile_time: 0.000422251\n# Rewrite_time: 0.000082533\n# Optimize_time: 0.00024045\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDNzLCBvcGVuOjY3Nm5zLCBjbG9zZTo1MjhucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDNzLCBvcGVuOjY3Nm5zLCBjbG9zZTo1MjhucywgbG9vcHM6MnD///8JAzQBeP///////////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/04 10:49:59.492 +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-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:59.492 +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-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:49:59.497 +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-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.515 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=2.274956ms] [gotSchemaVersion=104] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:59.519 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=104] [2025/04/04 10:49:59.521 +00:00] [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.941939ms] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.532 +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-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=2.230513ms] [gotSchemaVersion=105] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:59.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=105] [2025/04/04 10:49:59.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=105] ["take time"=9.158582ms] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.563 +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-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.569 +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/04 10:49:59.583 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.039153ms] [gotSchemaVersion=106] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:59.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=106] [2025/04/04 10:49:59.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=106] ["take time"=8.087079ms] [job="ID:153, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.598 +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/04 10:49:59.602 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop table"] [2025/04/04 10:49:59.603 +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-04 10:49:59.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.623 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/04 10:49:59.623 +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/04 10:49:59.637 +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-04 10:49:59.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:59.637 +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-04 10:49:59.602 +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/04 10:49:59.643 +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-04 10:49:59.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.648 +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/04 10:49:59.665 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.739486ms] [gotSchemaVersion=107] [phyTblIDs="[154]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:59.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=107] [2025/04/04 10:49:59.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=107] ["take time"=9.694976ms] [job="ID:155, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:59.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.682 +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-04 10:49:59.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:59.694 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 10:49:59.694 +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/04 10:49:59.702 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:59.749 +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/04 10:49:59.769 +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/04 10:49:59.783 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=11] [2025/04/04 10:49:59.783 +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/04 10:49:59.885 +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/04 10:49:59.887 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:49:59.888 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [2025/04/04 10:49:59.896 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:59.899 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:49:59.899 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:49:59.900 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=89.826Β΅s] [2025/04/04 10:49:59.900 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=240.102Β΅s] [] [2025/04/04 10:49:59.900 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:49:59.900 +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/04 10:49:59.939 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=11] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:49:59.959 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/04 10:49:59.959 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:49:59.967 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:49:59.967 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:49:59.967 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:59.967 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:49:59.967 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:59.967 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:59.967 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:59.968 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:59.968 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:59.968 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:59.980 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:49:59.981 +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/04 10:49:59.981 +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/04 10:49:59.982 +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/04 10:49:59.982 +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/04 10:49:59.982 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=11] [disk-quota=348.5GiB] [2025/04/04 10:49:59.989 +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/04 10:49:59.989 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [2025/04/04 10:49:59.992 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=11] [mode=Import] [2025/04/04 10:49:59.993 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:49:59.997 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:49:59.997 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 10:50:00.012 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=11] [2025/04/04 10:50:00.021 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [2025/04/04 10:50:00.023 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [readDur=957.749Β΅s] [encodeDur=581.199Β΅s] [checksum="{cksum=9096151903818431098,size=104,kvs=2}"] [deliverDur=24.975Β΅s] [type=file] [takeTime=1.878525ms] [] [2025/04/04 10:50:00.024 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 10:50:00.024 +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/c329ab00-3a69-400e-a3b3-fb012bc226f0.sst] [firstKey=74800000000000009A5F728840000000000001] [lastKey=74800000000000009A5F72F8A0000000000002] [2025/04/04 10:50:00.066 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [2025/04/04 10:50:00.068 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [readDur=897.582Β΅s] [encodeDur=621.985Β΅s] [checksum="{cksum=1540599946714846010,size=104,kvs=2}"] [deliverDur=28.698Β΅s] [type=file] [takeTime=1.824168ms] [] [2025/04/04 10:50:00.069 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 10:50:00.069 +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/53b346e3-3cba-4bf2-9405-1faeb10f5cb7.sst] [firstKey=74800000000000009A5F728780000000000007] [lastKey=74800000000000009A5F72D700000000000006] [2025/04/04 10:50:00.131 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [2025/04/04 10:50:00.133 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [readDur=860.004Β΅s] [encodeDur=368.881Β΅s] [checksum="{cksum=7135556550049781423,size=104,kvs=2}"] [deliverDur=22.193Β΅s] [type=file] [takeTime=1.512008ms] [] [2025/04/04 10:50:00.133 +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/ef8ae0cc-d3f8-4679-b831-fe91391c2bd4.sst] [firstKey=74800000000000009A5F72A60000000000000B] [lastKey=74800000000000009A5F72DA6000000000000C] [2025/04/04 10:50:00.134 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 10:50:00.134 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 10:50:00.134 +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/04 10:50:00.136 +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.650155ms] [] [2025/04/04 10:50:00.136 +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/04 10:50:00.141 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:00.163 +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/04 10:50:00.163 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:00.165 +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/04 10:50:00.176 +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/04 10:50:00.178 +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.601537ms] [] [2025/04/04 10:50:00.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/04 10:50:00.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.076774ms] [] [2025/04/04 10:50:00.179 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 10:50:00.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/04 10:50:00.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.463599ms] [] [2025/04/04 10:50:00.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/04 10:50:00.185 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:00.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.749938ms] [] [2025/04/04 10:50:00.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/04 10:50:00.186 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=857.672Β΅s] [] [2025/04/04 10:50:00.186 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [takeTime=196.351797ms] [] [2025/04/04 10:50:00.186 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [takeTime=196.4957ms] [] [2025/04/04 10:50:00.290 +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/04 10:50:00.291 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:00.293 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:00.293 +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/04 10:50:00.322 +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/04 10:50:00.324 +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/04 10:50:00.324 +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/04 10:50:00.330 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:50:00.330 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/04 10:50:00.333 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:00.333 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:00.333 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:00.333 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:00.333 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:00.333 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:00.333 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:00.333 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:00.333 +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/04 10:50:00.333 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:00.333 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:00.333 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:00.335 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:00.335 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:00.335 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:00.335 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:00.335 +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=353.822866ms] [] [2025/04/04 10:50:00.336 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=11] [type=ImportInto] [2025/04/04 10:50:00.357 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=11] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:00.378 +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/04 10:50:00.385 +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/04 10:50:00.385 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 10:50:00.385 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 10:50:00.385 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 10:50:00.391 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=5.713027ms] [] [2025/04/04 10:50:00.391 +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/04 10:50:00.391 +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/04 10:50:00.391 +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/04 10:50:00.391 +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/04 10:50:00.393 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=154] [physicalTableID=154] [indexID=-1] [checksum=602317331038109679] [totalKvs=6] [totalBytes=312] [2025/04/04 10:50:00.393 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:00.393 +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/04 10:50:00.393 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=8.236021ms] [] [2025/04/04 10:50:00.393 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=8.361399ms] [] [2025/04/04 10:50:00.393 +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.525685ms] [] [2025/04/04 10:50:00.419 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:00.491 +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/04 10:50:00.491 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=11] [step=post-process] [state=running] [] [2025/04/04 10:50:00.494 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=11] [2025/04/04 10:50:00.515 +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=136.927806ms] [] [2025/04/04 10:50:00.515 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=11] [type=ImportInto] [2025/04/04 10:50:00.586 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=11] [2025/04/04 10:50:00.591 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:00.592 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=11] [2025/04/04 10:50:00.613 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:00.686 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.991180892\n# Parse_time: 0.000294645\n# Compile_time: 0.001264622\n# Rewrite_time: 0.000299304\n# Optimize_time: 0.000288888\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC45bXMsIG9wZW46NjE3bnMsIGNsb3NlOjc5OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC45bXMsIG9wZW46NjE3bnMsIGNsb3NlOjc5OG5zLCBsb29wczoycP////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/04 10:50:00.700 +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-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:50:00.700 +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-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:00.706 +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-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.723 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=2.267614ms] [gotSchemaVersion=108] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:00.726 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=108] [2025/04/04 10:50:00.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=108] ["take time"=9.355552ms] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.737 +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-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.754 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=2.324677ms] [gotSchemaVersion=109] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:00.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=109] [2025/04/04 10:50:00.759 +00:00] [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.073389ms] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.767 +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-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.774 +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/04 10:50:00.788 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.119637ms] [gotSchemaVersion=110] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:00.791 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=110] [2025/04/04 10:50:00.793 +00:00] [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.430993ms] [job="ID:156, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.803 +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/04 10:50:00.807 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=156] [jobType="drop table"] [2025/04/04 10:50:00.808 +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-04 10:50:00.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.825 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=156] [2025/04/04 10:50:00.826 +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/04 10:50:00.840 +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-04 10:50:00.802 +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/04 10:50:00.840 +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-04 10:50:00.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:00.847 +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-04 10:50:00.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.852 +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/04 10:50:00.868 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.739788ms] [gotSchemaVersion=111] [phyTblIDs="[157]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:00.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=111] [2025/04/04 10:50:00.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=111] ["take time"=8.490069ms] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:00.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.884 +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-04 10:50:00.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:00.895 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 10:50:00.896 +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/04 10:50:00.902 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:00.947 +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/04 10:50:00.966 +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/04 10:50:00.981 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=12] [2025/04/04 10:50:00.981 +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/04 10:50:01.083 +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/04 10:50:01.085 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:01.086 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [2025/04/04 10:50:01.094 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:01.097 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:01.097 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:50:01.097 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=83.372Β΅s] [2025/04/04 10:50:01.097 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=180.567Β΅s] [] [2025/04/04 10:50:01.097 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:01.097 +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/04 10:50:01.128 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=12] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:01.149 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/04 10:50:01.149 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:01.157 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:01.157 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:01.158 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:01.158 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:01.158 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:01.158 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:01.158 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:01.158 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:01.158 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:01.158 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:01.170 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:01.172 +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/04 10:50:01.172 +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/04 10:50:01.172 +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/04 10:50:01.172 +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/04 10:50:01.172 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=12] [disk-quota=348.5GiB] [2025/04/04 10:50:01.180 +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/04 10:50:01.180 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [2025/04/04 10:50:01.183 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:01.187 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:01.187 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 10:50:01.192 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=12] [mode=Import] [2025/04/04 10:50:01.213 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=12] [2025/04/04 10:50:01.233 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [2025/04/04 10:50:01.234 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [readDur=804.732Β΅s] [encodeDur=248.997Β΅s] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=246.005Β΅s] [type=file] [takeTime=1.557271ms] [] [2025/04/04 10:50:01.235 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 10:50:01.235 +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/57a78f4f-2366-4c92-b70d-a0a6a1a532e6.sst] [firstKey=74800000000000009D5F728000000000000001] [lastKey=74800000000000009D5F728000000000000002] [2025/04/04 10:50:01.258 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [2025/04/04 10:50:01.259 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [readDur=893.764Β΅s] [encodeDur=250.816Β΅s] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=20.869Β΅s] [type=file] [takeTime=1.414274ms] [] [2025/04/04 10:50:01.260 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 10:50:01.260 +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/fbafb113-b7e5-428b-8eb1-b39dbc7c3827.sst] [firstKey=74800000000000009D5F728000000000000006] [lastKey=74800000000000009D5F728000000000000007] [2025/04/04 10:50:01.284 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [2025/04/04 10:50:01.285 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [readDur=883.027Β΅s] [encodeDur=606.552Β΅s] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=26.129Β΅s] [type=file] [takeTime=1.743293ms] [] [2025/04/04 10:50:01.286 +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/9878fe3a-4da4-41df-9ee5-96e0b08c5e75.sst] [firstKey=74800000000000009D5F72800000000000000B] [lastKey=74800000000000009D5F72800000000000000C] [2025/04/04 10:50:01.286 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 10:50:01.286 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 10:50:01.286 +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/04 10:50:01.288 +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.874378ms] [] [2025/04/04 10:50:01.288 +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/04 10:50:01.293 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:01.315 +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/04 10:50:01.315 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:01.317 +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/04 10:50:01.328 +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/04 10:50:01.329 +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.740796ms] [] [2025/04/04 10:50:01.329 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:01.330 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.01299ms] [] [2025/04/04 10:50:01.330 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 10:50:01.330 +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/04 10:50:01.332 +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.495121ms] [] [2025/04/04 10:50:01.332 +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/04 10:50:01.335 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:01.335 +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.488279ms] [] [2025/04/04 10:50:01.335 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:01.336 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=889.472Β΅s] [] [2025/04/04 10:50:01.337 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [takeTime=156.761413ms] [] [2025/04/04 10:50:01.337 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [takeTime=156.904019ms] [] [2025/04/04 10:50:01.388 +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/04 10:50:01.389 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:01.390 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:01.390 +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/04 10:50:01.419 +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/04 10:50:01.421 +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/04 10:50:01.421 +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/04 10:50:01.454 +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/04 10:50:01.460 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/04 10:50:01.463 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:01.463 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:01.463 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:01.463 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:01.463 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:01.463 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:01.463 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:01.463 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:01.463 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:01.463 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:01.463 +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/04 10:50:01.463 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:01.465 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:01.465 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:01.465 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:01.465 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:01.465 +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=293.032526ms] [] [2025/04/04 10:50:01.467 +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/04 10:50:01.473 +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/04 10:50:01.473 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 10:50:01.474 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 10:50:01.474 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 10:50:01.479 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=5.042883ms] [] [2025/04/04 10:50:01.479 +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/04 10:50:01.479 +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/04 10:50:01.479 +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/04 10:50:01.479 +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/04 10:50:01.480 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=157] [physicalTableID=157] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/04 10:50:01.481 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:01.481 +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/04 10:50:01.481 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=7.291423ms] [] [2025/04/04 10:50:01.481 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=7.413346ms] [] [2025/04/04 10:50:01.481 +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=7.547522ms] [] [2025/04/04 10:50:01.497 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:01.588 +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/04 10:50:01.588 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=12] [step=post-process] [state=running] [] [2025/04/04 10:50:01.591 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=12] [2025/04/04 10:50:01.614 +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=147.612806ms] [] [2025/04/04 10:50:01.614 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=12] [type=ImportInto] [2025/04/04 10:50:01.683 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=12] [2025/04/04 10:50:01.690 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:01.690 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=12] [2025/04/04 10:50:01.710 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:01.882 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.98573233\n# Parse_time: 0.000106667\n# Compile_time: 0.000391511\n# Rewrite_time: 0.00008836\n# Optimize_time: 0.000583169\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NW1zLCBvcGVuOjYxNm5zLCBjbG9zZTo2NjFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk4NW1zLCBvcGVuOjYxNm5zLCBjbG9zZTo2NjFucywgbG9vcHM6MnD///8JAzQBeP///////////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/04 10:50:01.896 +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-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:01.896 +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-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:50:01.901 +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-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.916 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=2.161095ms] [gotSchemaVersion=112] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:01.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=112] [2025/04/04 10:50:01.922 +00:00] [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.987254ms] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.931 +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-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.947 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.270837ms] [gotSchemaVersion=113] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:01.951 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=113] [2025/04/04 10:50:01.953 +00:00] [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.467685ms] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.961 +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-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.968 +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/04 10:50:01.982 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.109567ms] [gotSchemaVersion=114] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:01.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=114] [2025/04/04 10:50:01.987 +00:00] [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.375498ms] [job="ID:159, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:01.996 +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/04 10:50:02.005 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=159] [jobType="drop table"] [2025/04/04 10:50:02.006 +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-04 10:50:01.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.024 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/04 10:50:02.024 +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/04 10:50:02.038 +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-04 10:50:02.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:02.038 +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-04 10:50:02.002 +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/04 10:50:02.044 +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-04 10:50:02.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.050 +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/04 10:50:02.066 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.784557ms] [gotSchemaVersion=115] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:02.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=115] [2025/04/04 10:50:02.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=115] ["take time"=8.528964ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.083 +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-04 10:50:02.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.096 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/04 10:50:02.097 +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/04 10:50:02.102 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:02.152 +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/04 10:50:02.173 +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/04 10:50:02.187 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=13] [2025/04/04 10:50:02.187 +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/04 10:50:02.289 +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/04 10:50:02.291 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:02.292 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [2025/04/04 10:50:02.300 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:02.302 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:02.302 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:50:02.302 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=100.845Β΅s] [2025/04/04 10:50:02.303 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=221.115Β΅s] [] [2025/04/04 10:50:02.303 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:02.303 +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/04 10:50:02.338 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=13] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:02.358 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/04 10:50:02.358 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:02.366 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:02.366 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:02.366 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:02.366 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:02.366 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:02.366 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:02.367 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:02.367 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:02.367 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:02.367 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:02.379 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:02.380 +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/04 10:50:02.380 +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/04 10:50:02.381 +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/04 10:50:02.381 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=13] [disk-quota=348.5GiB] [2025/04/04 10:50:02.381 +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/04 10:50:02.388 +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/04 10:50:02.388 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [2025/04/04 10:50:02.392 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:02.395 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:02.395 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 10:50:02.395 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=13] [mode=Import] [2025/04/04 10:50:02.415 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=13] [2025/04/04 10:50:02.419 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [2025/04/04 10:50:02.420 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [readDur=822.193Β΅s] [encodeDur=543.126Β΅s] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=26.668Β΅s] [type=file] [takeTime=1.71527ms] [] [2025/04/04 10:50:02.421 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 10:50:02.421 +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/4e66d169-19ea-4f14-b4cb-0c785fb83564.sst] [firstKey=7480000000000000A05F728400000000000001] [lastKey=7480000000000000A05F728400000000000002] [2025/04/04 10:50:02.469 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [2025/04/04 10:50:02.470 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [readDur=810.015Β΅s] [encodeDur=547.403Β΅s] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=23.812Β΅s] [type=file] [takeTime=1.560389ms] [] [2025/04/04 10:50:02.471 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 10:50:02.471 +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/683185d9-55a5-4a5d-be10-2c84e525ef2d.sst] [firstKey=7480000000000000A05F728000000000000006] [lastKey=7480000000000000A05F728000000000000007] [2025/04/04 10:50:02.526 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [2025/04/04 10:50:02.528 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [readDur=849.527Β΅s] [encodeDur=506.619Β΅s] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=22.647Β΅s] [type=file] [takeTime=1.570642ms] [] [2025/04/04 10:50:02.529 +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/50c432af-0e21-492a-acaf-1f1c3283721d.sst] [firstKey=7480000000000000A05F728C0000000000000B] [lastKey=7480000000000000A05F728C0000000000000C] [2025/04/04 10:50:02.529 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 10:50:02.529 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 10:50:02.529 +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/04 10:50:02.531 +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.130639ms] [] [2025/04/04 10:50:02.531 +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/04 10:50:02.537 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:02.559 +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/04 10:50:02.559 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:02.561 +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/04 10:50:02.572 +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/04 10:50:02.574 +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.08737ms] [] [2025/04/04 10:50:02.574 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:02.575 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.111604ms] [] [2025/04/04 10:50:02.576 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 10:50:02.576 +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/04 10:50:02.577 +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.385873ms] [] [2025/04/04 10:50:02.577 +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/04 10:50:02.581 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:02.581 +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.579196ms] [] [2025/04/04 10:50:02.581 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:02.582 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=783.948Β΅s] [] [2025/04/04 10:50:02.582 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [takeTime=193.49985ms] [] [2025/04/04 10:50:02.582 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [takeTime=193.64616ms] [] [2025/04/04 10:50:02.593 +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/04 10:50:02.595 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:02.596 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:02.596 +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/04 10:50:02.624 +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/04 10:50:02.625 +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/04 10:50:02.625 +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/04 10:50:02.645 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:02.651 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/04 10:50:02.653 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:02.653 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:02.653 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:02.653 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:02.653 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:02.653 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:02.653 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:02.653 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:02.653 +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/04 10:50:02.653 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:02.653 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:02.653 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:02.656 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:02.656 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:02.656 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:02.656 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:02.656 +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=275.266215ms] [] [2025/04/04 10:50:02.657 +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/04 10:50:02.664 +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/04 10:50:02.665 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 10:50:02.665 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 10:50:02.665 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 10:50:02.670 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=5.48212ms] [] [2025/04/04 10:50:02.670 +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/04 10:50:02.670 +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/04 10:50:02.670 +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/04 10:50:02.670 +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/04 10:50:02.672 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=160] [physicalTableID=160] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/04 10:50:02.672 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:02.672 +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/04 10:50:02.672 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=7.792501ms] [] [2025/04/04 10:50:02.673 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=7.915317ms] [] [2025/04/04 10:50:02.673 +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=8.036545ms] [] [2025/04/04 10:50:02.687 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:02.694 +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/04 10:50:02.694 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=13] [step=post-process] [state=running] [] [2025/04/04 10:50:02.697 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=13] [2025/04/04 10:50:02.721 +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=63.587333ms] [] [2025/04/04 10:50:02.721 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=13] [type=ImportInto] [2025/04/04 10:50:02.789 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=13] [2025/04/04 10:50:02.789 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.692103627\n# Parse_time: 0.000104619\n# Compile_time: 0.000385408\n# Rewrite_time: 0.00009329\n# Optimize_time: 0.000243208\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MS40bXMsIG9wZW46NzE5bnMsIGNsb3NlOjY0N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MS40bXMsIG9wZW46NzE5bnMsIGNsb3NlOjY0N25zLCBsb29wczoycP////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/04 10:50:02.795 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:02.795 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=13] [2025/04/04 10:50:02.804 +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-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:02.804 +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-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:50:02.810 +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-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.816 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:02.827 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.294679ms] [gotSchemaVersion=116] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:02.831 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=116] [2025/04/04 10:50:02.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=116] ["take time"=9.797599ms] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.844 +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-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=2.33334ms] [gotSchemaVersion=117] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:02.866 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=117] [2025/04/04 10:50:02.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=117] ["take time"=9.860209ms] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.878 +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-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.884 +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/04 10:50:02.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.153852ms] [gotSchemaVersion=118] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:02.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=118] [2025/04/04 10:50:02.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=118] ["take time"=8.59348ms] [job="ID:162, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.914 +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/04 10:50:02.918 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=162] [jobType="drop table"] [2025/04/04 10:50:02.919 +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-04 10:50:02.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.936 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/04 10:50:02.936 +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/04 10:50:02.950 +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-04 10:50:02.902 +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/04 10:50:02.950 +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-04 10:50:02.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:02.955 +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-04 10:50:02.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.960 +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/04 10:50:02.976 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.754395ms] [gotSchemaVersion=119] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:02.979 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=119] [2025/04/04 10:50:02.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=119] ["take time"=8.454656ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:02.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:02.992 +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-04 10:50:02.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:03.004 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/04 10:50:03.004 +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/04 10:50:03.009 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:03.053 +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/04 10:50:03.072 +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/04 10:50:03.085 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=14] [2025/04/04 10:50:03.085 +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/04 10:50:03.187 +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/04 10:50:03.189 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:03.191 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [2025/04/04 10:50:03.199 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:03.201 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:03.201 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:50:03.201 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=101.325Β΅s] [2025/04/04 10:50:03.202 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=250.094Β΅s] [] [2025/04/04 10:50:03.202 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:03.202 +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/04 10:50:03.237 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=14] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:03.256 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/04 10:50:03.257 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:03.264 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:03.264 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:03.264 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:03.264 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:03.264 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:03.264 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:03.264 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:03.265 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:03.265 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:03.265 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:03.276 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:03.278 +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/04 10:50:03.278 +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/04 10:50:03.278 +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/04 10:50:03.278 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=14] [disk-quota=348.5GiB] [2025/04/04 10:50:03.278 +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/04 10:50:03.285 +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/04 10:50:03.285 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [2025/04/04 10:50:03.289 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:03.292 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:03.292 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 10:50:03.294 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=14] [mode=Import] [2025/04/04 10:50:03.312 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=14] [2025/04/04 10:50:03.316 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [2025/04/04 10:50:03.318 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [readDur=816.981Β΅s] [encodeDur=241.037Β΅s] [checksum="{cksum=16213359102171664855,size=82,kvs=2}"] [deliverDur=149.791Β΅s] [type=file] [takeTime=1.420705ms] [] [2025/04/04 10:50:03.318 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 10:50:03.318 +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/568c7149-5a86-4f31-aaa0-a447757ac72f.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A65F728000000000000002] [2025/04/04 10:50:03.341 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [2025/04/04 10:50:03.343 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [readDur=796.915Β΅s] [encodeDur=526.182Β΅s] [checksum="{cksum=14751810491585428438,size=82,kvs=2}"] [deliverDur=22.493Β΅s] [type=file] [takeTime=1.524726ms] [] [2025/04/04 10:50:03.344 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 10:50:03.344 +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/15c9e792-5253-4a3d-a97b-99758e81a74c.sst] [firstKey=7480000000000000A75F728000000000000008] [lastKey=7480000000000000A85F728000000000000009] [2025/04/04 10:50:03.367 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [2025/04/04 10:50:03.368 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [readDur=814.251Β΅s] [encodeDur=419.099Β΅s] [checksum="{cksum=11041058475576731475,size=82,kvs=2}"] [deliverDur=20.308Β΅s] [type=file] [takeTime=1.43601ms] [] [2025/04/04 10:50:03.369 +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/830db4af-ddbc-4d67-9464-6757667e9843.sst] [firstKey=7480000000000000A45F72800000000000000F] [lastKey=7480000000000000A55F728000000000000010] [2025/04/04 10:50:03.369 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 10:50:03.369 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 10:50:03.369 +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/04 10:50:03.372 +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.436368ms] [] [2025/04/04 10:50:03.372 +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/04 10:50:03.376 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:03.398 +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/04 10:50:03.399 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:03.401 +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/04 10:50:03.412 +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/04 10:50:03.414 +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.651675ms] [] [2025/04/04 10:50:03.414 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:03.415 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.212342ms] [] [2025/04/04 10:50:03.415 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 10:50:03.415 +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/04 10:50:03.417 +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.374471ms] [] [2025/04/04 10:50:03.417 +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/04 10:50:03.420 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:03.420 +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.621858ms] [] [2025/04/04 10:50:03.420 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:03.421 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=814.314Β΅s] [] [2025/04/04 10:50:03.421 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [takeTime=136.132154ms] [] [2025/04/04 10:50:03.421 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [takeTime=136.261757ms] [] [2025/04/04 10:50:03.492 +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/04 10:50:03.493 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:03.495 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:03.495 +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/04 10:50:03.522 +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/04 10:50:03.524 +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/04 10:50:03.524 +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/04 10:50:03.553 +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/04 10:50:03.559 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/04 10:50:03.562 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:03.562 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:03.562 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:03.562 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:03.562 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:03.562 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:03.562 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:03.562 +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/04 10:50:03.562 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:03.562 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:03.562 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:03.562 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:03.564 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:03.564 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:03.565 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:03.565 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:03.565 +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=286.24941ms] [] [2025/04/04 10:50:03.566 +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/04 10:50:03.573 +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/04 10:50:03.573 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 10:50:03.573 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 10:50:03.573 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 10:50:03.578 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=5.178545ms] [] [2025/04/04 10:50:03.578 +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/04 10:50:03.578 +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/04 10:50:03.578 +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/04 10:50:03.579 +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/04 10:50:03.580 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=163] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:50:03.582 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=164] [indexID=-1] [checksum=14049448901168824011] [totalKvs=1] [totalBytes=41] [2025/04/04 10:50:03.582 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=165] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/04 10:50:03.582 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=166] [indexID=-1] [checksum=2371675647220738361] [totalKvs=1] [totalBytes=41] [2025/04/04 10:50:03.582 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=167] [indexID=-1] [checksum=1988465643996300784] [totalKvs=1] [totalBytes=41] [2025/04/04 10:50:03.583 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=168] [indexID=-1] [checksum=15501538953154248230] [totalKvs=1] [totalBytes=41] [2025/04/04 10:50:03.583 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:03.583 +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/04 10:50:03.583 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=10.211885ms] [] [2025/04/04 10:50:03.583 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=10.330344ms] [] [2025/04/04 10:50:03.584 +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=11.418986ms] [] [2025/04/04 10:50:03.592 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:03.691 +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/04 10:50:03.691 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=14] [step=post-process] [state=running] [] [2025/04/04 10:50:03.694 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=14] [2025/04/04 10:50:03.716 +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=149.561383ms] [] [2025/04/04 10:50:03.716 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=14] [type=ImportInto] [2025/04/04 10:50:03.787 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=14] [2025/04/04 10:50:03.792 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:03.792 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=14] [2025/04/04 10:50:03.813 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:03.988 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.983654932\n# Parse_time: 0.000101339\n# Compile_time: 0.000351325\n# Rewrite_time: 0.000070547\n# Optimize_time: 0.00031694\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4M21zLCBvcGVuOjYwMG5zLCBjbG9zZTo3ODRucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk4M21zLCBvcGVuOjYwMG5zLCBjbG9zZTo3ODRucywgbG9vcHM6MnD///8JAzQBeP///////////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/04 10:50:04.003 +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-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:04.003 +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-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:50:04.008 +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-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.024 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=2.477608ms] [gotSchemaVersion=120] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:04.027 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=120] [2025/04/04 10:50:04.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=120] ["take time"=9.290527ms] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.038 +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-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.054 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=2.419229ms] [gotSchemaVersion=121] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:04.057 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=121] [2025/04/04 10:50:04.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=121] ["take time"=8.973249ms] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.066 +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-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.073 +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/04 10:50:04.087 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.049937ms] [gotSchemaVersion=122] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:04.090 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=122] [2025/04/04 10:50:04.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=122] ["take time"=7.69257ms] [job="ID:170, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.101 +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/04 10:50:04.107 +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/04 10:50:04.112 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=170] [jobType="drop table"] [2025/04/04 10:50:04.112 +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-04 10:50:03.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.130 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 10:50:04.130 +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/04 10:50:04.143 +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-04 10:50:04.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:04.143 +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-04 10:50:04.101 +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/04 10:50:04.149 +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-04 10:50:04.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.154 +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/04 10:50:04.171 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=1.872667ms] [gotSchemaVersion=123] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:04.175 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=123] [2025/04/04 10:50:04.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=123] ["take time"=8.671047ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:04.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.188 +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-04 10:50:04.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:04.200 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/04 10:50:04.201 +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/04 10:50:04.207 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:04.252 +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/04 10:50:04.272 +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/04 10:50:04.286 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=15] [2025/04/04 10:50:04.286 +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/04 10:50:04.389 +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/04 10:50:04.391 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:04.393 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [2025/04/04 10:50:04.401 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:04.403 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:04.403 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 10:50:04.403 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=73.069Β΅s] [2025/04/04 10:50:04.403 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=168.505Β΅s] [] [2025/04/04 10:50:04.403 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:04.403 +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/04 10:50:04.438 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=15] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:04.457 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/04 10:50:04.458 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:04.465 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:04.465 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:04.466 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:04.466 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:04.466 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:04.466 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:04.466 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:04.466 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:04.467 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:04.467 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:04.478 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:04.480 +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/04 10:50:04.480 +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/04 10:50:04.480 +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/04 10:50:04.480 +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/04 10:50:04.480 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=15] [disk-quota=348.5GiB] [2025/04/04 10:50:04.487 +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/04 10:50:04.487 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [2025/04/04 10:50:04.491 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:04.494 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:04.494 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 10:50:04.495 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=15] [mode=Import] [2025/04/04 10:50:04.520 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [2025/04/04 10:50:04.521 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=15] [2025/04/04 10:50:04.521 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [readDur=850.2Β΅s] [encodeDur=377.996Β΅s] [checksum="{cksum=1662318414680892248,size=176,kvs=4}"] [deliverDur=48.646Β΅s] [type=file] [takeTime=1.547298ms] [] [2025/04/04 10:50:04.523 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 10:50:04.523 +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/44e7abe7-0943-4d07-9794-32287c197dd5.sst] [firstKey=7480000000000000AD5F728000000000000001] [lastKey=7480000000000000AE5F728000000000000002] [2025/04/04 10:50:04.549 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [2025/04/04 10:50:04.550 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [readDur=858.699Β΅s] [encodeDur=504.98Β΅s] [checksum="{cksum=4412110495057608976,size=176,kvs=4}"] [deliverDur=54.619Β΅s] [type=file] [takeTime=1.66548ms] [] [2025/04/04 10:50:04.552 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 10:50:04.552 +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/f59fc74b-4800-4c49-b324-89e6cd34217b.sst] [firstKey=7480000000000000AF5F728000000000000008] [lastKey=7480000000000000B05F728000000000000009] [2025/04/04 10:50:04.576 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [2025/04/04 10:50:04.578 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [readDur=866.404Β΅s] [encodeDur=311.242Β΅s] [checksum="{cksum=7701721142981934355,size=176,kvs=4}"] [deliverDur=33.071Β΅s] [type=file] [takeTime=1.401009ms] [] [2025/04/04 10:50:04.579 +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/5aa48d18-0a35-49ec-a2dd-46ca2c57257f.sst] [firstKey=7480000000000000AC5F72800000000000000F] [lastKey=7480000000000000AD5F728000000000000010] [2025/04/04 10:50:04.579 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 10:50:04.579 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 10:50:04.579 +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/04 10:50:04.582 +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.667115ms] [] [2025/04/04 10:50:04.582 +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/04 10:50:04.587 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:04.609 +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/04 10:50:04.609 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:04.611 +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/04 10:50:04.623 +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/04 10:50:04.625 +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.54634ms] [] [2025/04/04 10:50:04.625 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:04.626 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.089482ms] [] [2025/04/04 10:50:04.626 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 10:50:04.626 +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/04 10:50:04.627 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=282] [count=6] [cost=1.103846ms] [file=/tmp/tidb/import-4000/15/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/dedb21dc-e345-407a-8564-49ad17587a8d.sst] [2025/04/04 10:50:04.627 +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/dedb21dc-e345-407a-8564-49ad17587a8d.sst] [firstKey=7480000000000000AB5F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000000AB5F698000000000000001038000000000000006038000000000000010] [2025/04/04 10:50:04.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=3.295367ms] [] [2025/04/04 10:50:04.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/04 10:50:04.633 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:04.656 +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/04 10:50:04.656 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:04.657 +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/04 10:50:04.668 +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/04 10:50:04.670 +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=40.60131ms] [] [2025/04/04 10:50:04.670 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:04.671 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.08832ms] [] [2025/04/04 10:50:04.671 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [takeTime=184.339035ms] [] [2025/04/04 10:50:04.671 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [takeTime=184.490843ms] [] [2025/04/04 10:50:04.694 +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/04 10:50:04.695 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:04.697 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:04.697 +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/04 10:50:04.727 +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/04 10:50:04.729 +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/04 10:50:04.729 +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/04 10:50:04.752 +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/04 10:50:04.758 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/04 10:50:04.762 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:04.762 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:04.762 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:04.762 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:04.762 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:04.762 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:04.762 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:04.762 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:04.762 +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/04 10:50:04.762 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:04.762 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:04.762 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:04.764 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:04.764 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:04.764 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:04.764 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:04.764 +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=284.194951ms] [] [2025/04/04 10:50:04.766 +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/04 10:50:04.774 +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/04 10:50:04.774 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 10:50:04.774 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 10:50:04.774 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 10:50:04.780 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=5.51575ms] [] [2025/04/04 10:50:04.780 +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/04 10:50:04.780 +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/04 10:50:04.780 +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/04 10:50:04.780 +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/04 10:50:04.780 +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/04 10:50:04.786 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:50:04.786 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:50:04.786 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=-1] [checksum=4237504610754446731] [totalKvs=1] [totalBytes=41] [2025/04/04 10:50:04.786 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/04 10:50:04.786 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:50:04.787 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=1] [checksum=10880652011295013388] [totalKvs=6] [totalBytes=282] [2025/04/04 10:50:04.787 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=-1] [checksum=15627185901153243769] [totalKvs=1] [totalBytes=41] [2025/04/04 10:50:04.787 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:50:04.787 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=-1] [checksum=16406466517589687984] [totalKvs=1] [totalBytes=41] [2025/04/04 10:50:04.787 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=-1] [checksum=5593806493376572771] [totalKvs=1] [totalBytes=41] [2025/04/04 10:50:04.787 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:50:04.787 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 10:50:04.788 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:04.788 +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/04 10:50:04.788 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=13.701177ms] [] [2025/04/04 10:50:04.788 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=13.837273ms] [] [2025/04/04 10:50:04.788 +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=13.963189ms] [] [2025/04/04 10:50:04.806 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:04.893 +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/04 10:50:04.893 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=15] [step=post-process] [state=running] [] [2025/04/04 10:50:04.896 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=15] [2025/04/04 10:50:04.923 +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=156.28034ms] [] [2025/04/04 10:50:04.923 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=15] [type=ImportInto] [2025/04/04 10:50:04.989 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=15] [2025/04/04 10:50:04.994 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:04.994 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=15] [2025/04/04 10:50:05.017 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:05.188 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.98741398\n# Parse_time: 0.000117856\n# Compile_time: 0.000400007\n# Rewrite_time: 0.000078704\n# Optimize_time: 0.000310704\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni42bXMsIG9wZW46NjQ4bnMsIGNsb3NlOjYwN25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni42bXMsIG9wZW46NjQ4bnMsIGNsb3NlOjYwN25zLCBsb29wczoycP////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 (16.86s) === NAME TestImportInto === RUN TestImportInto/TestCancelJob [2025/04/04 10:50:05.196 +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/04 10:50:05.207 +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-04 10:50:05.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:05.207 +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-04 10:50:05.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_cancel_job"] [2025/04/04 10:50:05.212 +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-04 10:50:05.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.225 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=605.886Β΅s] [gotSchemaVersion=124] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:05.229 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=124] [2025/04/04 10:50:05.231 +00:00] [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.479257ms] [job="ID:179, Type:create schema, State:done, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:05.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.241 +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-04 10:50:05.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.251 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/04 10:50:05.251 +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/04 10:50:05.263 +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-04 10:50:05.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:05.263 +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-04 10:50:05.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 10:50:05.268 +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-04 10:50:05.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.273 +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/04 10:50:05.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.349267ms] [gotSchemaVersion=125] [phyTblIDs="[180]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:05.289 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=125] [2025/04/04 10:50:05.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=125] ["take time"=8.146966ms] [job="ID:181, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:05.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.301 +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-04 10:50:05.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.311 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 10:50:05.312 +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/04 10:50:05.325 +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-04 10:50:05.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:05.325 +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-04 10:50:05.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 10:50:05.331 +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-04 10:50:05.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.335 +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/04 10:50:05.349 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.545083ms] [gotSchemaVersion=126] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:05.353 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=126] [2025/04/04 10:50: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=126] ["take time"=8.879963ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:05.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.366 +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-04 10:50:05.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:05.376 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 10:50:05.377 +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/04 10:50:05.441 +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/04 10:50:05.491 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job1@localhost"] [user=] [2025/04/04 10:50:05.547 +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/04 10:50:05.609 +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/04 10:50:05.651 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job2@localhost"] [user=] [2025/04/04 10:50:05.699 +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/04 10:50:05.702 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:50:05.702 +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/04 10:50:05.708 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:05.759 +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/04 10:50:05.777 +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/04 10:50:05.790 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=16] [2025/04/04 10:50:05.791 +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/04 10:50:05.893 +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/04 10:50:05.893 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:05.894 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [2025/04/04 10:50:05.902 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:05.903 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=16] [action="\"cancel\""] [2025/04/04 10:50:05.904 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:50:05.904 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 10:50:05.904 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=45.659Β΅s] [2025/04/04 10:50:05.904 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=134.191Β΅s] [] [2025/04/04 10:50:05.904 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:05.904 +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/04 10:50:05.920 +00:00] [WARN] [session.go:810] [sql] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=457117219134111748, conflictStartTS=457117219134111745, conflictCommitTS=457117219134111749, key={tableID=82, tableName=mysql.tidb_global_task, indexID=1, indexValues={pending, 16, }}, originalKey=7480000000000000525f6980000000000000010170656e64696e6700fe038000000000000010, primary={tableID=82, tableName=mysql.tidb_global_task, indexID=1, indexValues={pending, 16, }}, originalPrimaryKey=7480000000000000525f6980000000000000010170656e64696e6700fe038000000000000010, reason=Optimistic [try again later]"] [txn="Txn{state=invalid}"] [2025/04/04 10:50:05.921 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=126] [retryCnt=0] [queryNum=0] [sql=begin] [2025/04/04 10:50:05.924 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=126] [retryCnt=0] [queryNum=1] [sql=" update mysql.tidb_global_task set state = 'running', step = 1, start_time = CURRENT_TIMESTAMP(), state_update_time = CURRENT_TIMESTAMP(), meta = _binary'{\\\"JobID\\\":16,\\\"Plan\\\":{\\\"DBName\\\":\\\"test_cancel_job\\\",\\\"DBID\\\":178,\\\"TableInfo\\\":{\\\"id\\\":180,\\\"name\\\":{\\\"O\\\":\\\"t1\\\",\\\"L\\\":\\\"t1\\\"},\\\"charset\\\":\\\"utf8mb4\\\",\\\"collate\\\":\\\"utf8mb4_bin\\\",\\\"cols\\\":[{\\\"id\\\":1,\\\"name\\\":{\\\"O\\\":\\\"i\\\",\\\"L\\\":\\\"i\\\"},\\\"offset\\\":0,\\\"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\\\":{\\\"Tp\\\":3,\\\"Flag\\\":4099,\\\"Flen\\\":11,\\\"Decimal\\\":0,\\\"Charset\\\":\\\"binary\\\",\\\"Collate\\\":\\\"binary\\\",\\\"Elems\\\":null,\\\"ElemsIsBinaryLit\\\":null,\\\"Array\\\":false},\\\"state\\\":5,\\\"comment\\\":\\\"\\\",\\\"hidden\\\":false,\\\"change_state_info\\\":null,\\\"version\\\":2}],\\\"index_info\\\":null,\\\"constraint_info\\\":null,\\\"fk_info\\\":null,\\\"state\\\":5,\\\"pk_is_handle\\\":true,\\\"is_common_handle\\\":false,\\\"common_handle_version\\\":0,\\\"comment(len:4436)"] [2025/04/04 10:50:05.925 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=126] [retryCnt=0] [queryNum=2] [sql="insert into mysql.tidb_background_subtask(step, task_key, exec_id, meta, state, type, concurrency, ordinal, create_time, checkpoint, summary) values (1, 16, ':4000', _binary'{\\\"ExternalPath\\\":\\\"\\\",\\\"ID\\\":0,\\\"Chunks\\\":[{\\\"Path\\\":\\\"t.csv\\\",\\\"FileSize\\\":3,\\\"Offset\\\":0,\\\"EndOffset\\\":3,\\\"PrevRowIDMax\\\":0,\\\"RowIDMax\\\":3,\\\"Type\\\":4,\\\"Compression\\\":0,\\\"Timestamp\\\":1743763805}],\\\"Checksum\\\":null,\\\"Result\\\":{\\\"LoadedRowCnt\\\":0},\\\"MaxIDs\\\":null,\\\"SortedDataMeta\\\":null,\\\"SortedIndexMetas\\\":null}', 'pending', 2, 26, 1, CURRENT_TIMESTAMP(), '{}', '{}')"] [2025/04/04 10:50:05.926 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=126] [retryCnt=0] [queryNum=3] [sql=commit] [2025/04/04 10:50:05.926 +00:00] [WARN] [session.go:1135] ["transaction association"] ["retrying txnStartTS"=457117219134111752] ["original txnStartTS"=457117219134111748] [2025/04/04 10:50:05.992 +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/04 10:50:05.994 +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/04 10:50:06.098 +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/04 10:50:06.099 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=16] [step=init] [mode=Normal] [2025/04/04 10:50:06.193 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=16] [2025/04/04 10:50:06.199 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:06.199 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=16] [2025/04/04 10:50:06.218 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:06.227 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=16] [action="\"cancel\""] [takeTime=323.171496ms] [] [2025/04/04 10:50:06.227 +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.325969017\n# Parse_time: 0.000060441\n# Compile_time: 0.000315865\n# Rewrite_time: 0.000002335\n# Optimize_time: 0.000640925\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/04 10:50:06.743 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:50:06.743 +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/04 10:50:06.746 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:50:06.746 +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/04 10:50:06.749 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:50:06.749 +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/04 10:50:06.755 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:06.805 +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/04 10:50:06.824 +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/04 10:50:06.838 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=17] [2025/04/04 10:50:06.838 +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/04 10:50:06.941 +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/04 10:50:06.942 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:06.942 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [2025/04/04 10:50:06.950 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:06.953 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:50:06.953 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 10:50:06.953 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=54.801Β΅s] [2025/04/04 10:50:06.953 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=146.241Β΅s] [] [2025/04/04 10:50:06.953 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:06.953 +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/04 10:50:06.988 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=17] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:07.008 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/04 10:50:07.008 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:07.016 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:07.016 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:07.017 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:07.017 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:07.017 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:07.017 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:07.017 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:07.017 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:07.018 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:07.018 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:07.030 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:07.032 +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/04 10:50:07.032 +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/04 10:50:07.032 +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/04 10:50:07.032 +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/04 10:50:07.032 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=17] [disk-quota=348.5GiB] [2025/04/04 10:50:07.040 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=import] [2025/04/04 10:50:07.040 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=31] [2025/04/04 10:50:07.044 +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/04 10:50:07.046 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=17] [mode=Import] [2025/04/04 10:50:07.047 +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/04 10:50:07.047 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=182] [2025/04/04 10:50:07.066 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=17] [2025/04/04 10:50:07.107 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=182] [key=t.csv:0] [2025/04/04 10:50:07.109 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=182] [key=t.csv:0] [readDur=914.105Β΅s] [encodeDur=495.592Β΅s] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=153.107Β΅s] [type=file] [takeTime=1.927463ms] [] [2025/04/04 10:50:07.110 +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/e9d881e3-87e2-44bf-87e3-6e27d383bde9.sst] [firstKey=7480000000000000B65F728000000000000001] [lastKey=7480000000000000B65F728000000000000002] [2025/04/04 10:50:07.110 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 10:50:07.110 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 10:50:07.111 +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/04 10:50:07.113 +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.170186ms] [] [2025/04/04 10:50:07.113 +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/04 10:50:07.117 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:07.139 +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/04 10:50:07.139 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:07.141 +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/04 10:50:07.152 +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/04 10:50:07.155 +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=41.668533ms] [] [2025/04/04 10:50:07.155 +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/04 10:50:07.156 +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.102867ms] [] [2025/04/04 10:50:07.156 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 10:50:07.156 +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/04 10:50:07.158 +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.795799ms] [] [2025/04/04 10:50:07.158 +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/04 10:50:07.162 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 10:50:07.162 +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.835559ms] [] [2025/04/04 10:50:07.162 +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/04 10:50:07.163 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [takeTime=964.184Β΅s] [] [2025/04/04 10:50:07.163 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=31] [takeTime=122.970257ms] [] [2025/04/04 10:50:07.163 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=import] [takeTime=123.127584ms] [] [2025/04/04 10:50:07.247 +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/04 10:50:07.248 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:07.249 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:07.249 +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/04 10:50:07.282 +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/04 10:50:07.283 +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/04 10:50:07.283 +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/04 10:50:07.314 +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/04 10:50:07.321 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/04 10:50:07.324 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:07.324 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:07.324 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:07.324 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:07.324 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:07.324 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:07.324 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:07.324 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:07.324 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:07.324 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:07.324 +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/04 10:50:07.324 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:07.326 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:07.326 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:07.326 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:07.326 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:07.327 +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=294.589069ms] [] [2025/04/04 10:50:07.327 +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/04 10:50:07.337 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=post-process] [2025/04/04 10:50:07.337 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [2025/04/04 10:50:07.340 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=17] [action="\"cancel\""] [2025/04/04 10:50:07.440 +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/04 10:50:07.442 +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/04 10:50:07.457 +00:00] [INFO] [manager.go:235] [onCanceledTasks] [server-id=:4000] [task-id=17] [2025/04/04 10:50:07.546 +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/04 10:50:07.547 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [step=post-process] [mode=Normal] [2025/04/04 10:50:07.553 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=17] [2025/04/04 10:50:07.641 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=17] [2025/04/04 10:50:07.647 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:07.647 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=17] [2025/04/04 10:50:07.717 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=17] [action="\"cancel\""] [takeTime=377.628749ms] [] [2025/04/04 10:50:07.718 +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.380506305\n# Parse_time: 0.000253394\n# Compile_time: 0.000250687\n# Rewrite_time: 0.000001593\n# Optimize_time: 0.000036471\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/04 10:50:07.725 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:07.846 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [2025/04/04 10:50:07.846 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [2025/04/04 10:50:07.846 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [takeTime=18.873Β΅s] [] [2025/04/04 10:50:07.846 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 10:50:07.847 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:50:07.847 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [weight=30] [2025/04/04 10:50:07.847 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [concurrency=15] [2025/04/04 10:50:07.847 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:07.847 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:07.847 +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/04 10:50:07.850 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:50:07.850 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:50:07.850 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [takeTime=3.713821ms] [] [2025/04/04 10:50:07.850 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=32] [takeTime=513.168759ms] [] [2025/04/04 10:50:07.850 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=post-process] [takeTime=513.285898ms] [] [2025/04/04 10:50:07.852 +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/04 10:50:07.854 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:50:07.854 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](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/04 10:50:07.855 +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:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](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/04 10:50:07.855 +00:00] [ERROR] [task_executor.go:685] ["failed to finish subtask"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [takes=5.013586ms] [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/04 10:50:07.855 +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/04 10:50:07.868 +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.444963ms] [] [2025/04/04 10:50:07.868 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=17] [type=ImportInto] [2025/04/04 10:50:08.768 +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-04 10:50:08.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t2"] [2025/04/04 10:50:08.768 +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-04 10:50:08.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:08.773 +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-04 10:50:08.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.781 +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/04 10:50:08.796 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.467353ms] [gotSchemaVersion=127] [phyTblIDs="[182,184]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:08.799 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=185] [version=127] [2025/04/04 10:50:08.801 +00:00] [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.507724ms] [job="ID:185, Type:truncate table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.813 +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/04 10:50:08.818 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=185] [jobType="truncate table"] [2025/04/04 10:50:08.819 +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-04 10:50:08.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.836 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=185] [2025/04/04 10:50:08.837 +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/04 10:50:08.843 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:08.892 +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/04 10:50:08.911 +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/04 10:50:08.926 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=18] [2025/04/04 10:50:08.926 +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/04 10:50:09.029 +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/04 10:50:09.030 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:09.030 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [2025/04/04 10:50:09.034 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=18] [action="\"cancel\""] [2025/04/04 10:50:09.549 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:09.551 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:50:09.551 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 10:50:09.551 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=53.398Β΅s] [2025/04/04 10:50:09.551 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=176.969Β΅s] [] [2025/04/04 10:50:09.552 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:09.552 +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/04 10:50:09.568 +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/04 10:50:09.569 +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/04 10:50:09.634 +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/04 10:50:09.636 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=18] [step=init] [mode=Normal] [2025/04/04 10:50:09.659 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=18] [action="\"cancel\""] [takeTime=624.895379ms] [] [2025/04/04 10:50:09.659 +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.628424571\n# Parse_time: 0.000349543\n# Compile_time: 0.00038801\n# Rewrite_time: 0.000002092\n# Optimize_time: 0.000075407\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.48s) === NAME TestImportInto === RUN TestImportInto/TestChecksumNotMatch [2025/04/04 10:50:09.672 +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/04 10:50:09.685 +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-04 10:50:09.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:09.685 +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-04 10:50:09.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:50:09.689 +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-04 10:50:09.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.704 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=704.798Β΅s] [gotSchemaVersion=128] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:09.707 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/04 10:50:09.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=128] ["take time"=8.312896ms] [job="ID:187, Type:create schema, State:done, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.720 +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-04 10:50:09.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.728 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=18] [2025/04/04 10:50:09.730 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 10:50:09.730 +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/04 10:50:09.733 +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/04 10:50:09.735 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:09.735 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=18] [2025/04/04 10:50:09.747 +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-04 10:50:09.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:50:09.747 +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-04 10:50:09.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:09.753 +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-04 10:50:09.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.754 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:09.758 +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/04 10:50:09.774 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.626619ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:09.778 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/04 10:50:09.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=129] ["take time"=9.064501ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.792 +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-04 10:50:09.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.804 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/04 10:50:09.804 +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/04 10:50:09.810 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:09.856 +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/04 10:50:09.875 +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/04 10:50:09.890 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=19] [2025/04/04 10:50:09.890 +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/04 10:50:09.992 +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/04 10:50:09.994 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:09.995 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [2025/04/04 10:50:10.003 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:10.005 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:10.006 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:50:10.006 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=63.457Β΅s] [2025/04/04 10:50:10.006 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=176.605Β΅s] [] [2025/04/04 10:50:10.006 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 10:50:10.006 +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/04 10:50:10.038 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=19] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:10.058 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/04 10:50:10.058 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:10.065 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:10.065 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:10.066 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:10.066 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:10.066 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:10.066 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:10.066 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:10.066 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:10.066 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:10.067 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:10.078 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:10.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/04 10:50:10.080 +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/04 10:50:10.080 +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/04 10:50:10.080 +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/04 10:50:10.080 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=19] [disk-quota=348.5GiB] [2025/04/04 10:50:10.088 +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/04 10:50:10.088 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [2025/04/04 10:50:10.091 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:10.095 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:10.095 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/04 10:50:10.098 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=19] [mode=Import] [2025/04/04 10:50:10.122 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=19] [2025/04/04 10:50:10.169 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [2025/04/04 10:50:10.171 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [readDur=1.005427ms] [encodeDur=787.011Β΅s] [checksum="{cksum=9995179725697843932,size=111,kvs=3}"] [deliverDur=354.005Β΅s] [type=file] [takeTime=2.453062ms] [] [2025/04/04 10:50:10.172 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000002] [2025/04/04 10:50:10.172 +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/a817e732-1148-47bb-89e6-69012715a0b6.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000002] [2025/04/04 10:50:10.172 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 10:50:10.173 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 10:50:10.173 +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/04 10:50:10.175 +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.974856ms] [] [2025/04/04 10:50:10.175 +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/04 10:50:10.179 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:10.201 +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/04 10:50:10.201 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:10.202 +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/04 10:50:10.213 +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/04 10:50:10.215 +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.190228ms] [] [2025/04/04 10:50:10.215 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:10.216 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.045673ms] [] [2025/04/04 10:50:10.216 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 10:50:10.216 +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/04 10:50:10.218 +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.473524ms] [] [2025/04/04 10:50:10.218 +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/04 10:50:10.221 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:10.221 +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.491772ms] [] [2025/04/04 10:50:10.221 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:10.222 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=758.049Β΅s] [] [2025/04/04 10:50:10.222 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [takeTime=134.081305ms] [] [2025/04/04 10:50:10.222 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [takeTime=134.247744ms] [] [2025/04/04 10:50:10.244 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=import] [2025/04/04 10:50:10.244 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=34] [2025/04/04 10:50:10.248 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:50:10.251 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:10.251 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/04 10:50:10.303 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [2025/04/04 10:50:10.305 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [readDur=1.255648ms] [encodeDur=413.37Β΅s] [checksum="{cksum=10482263666873131380,size=111,kvs=3}"] [deliverDur=23.123Β΅s] [type=file] [takeTime=1.950024ms] [] [2025/04/04 10:50:10.305 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000004] [2025/04/04 10:50:10.306 +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/d8968dd5-8b2b-4793-ab9a-1f2488d47b3c.sst] [firstKey=7480000000000000BC5F728000000000000004] [lastKey=7480000000000000BC5F728000000000000006] [2025/04/04 10:50:10.306 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 10:50:10.306 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 10:50:10.306 +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/04 10:50:10.308 +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.892834ms] [] [2025/04/04 10:50:10.308 +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/04 10:50:10.312 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:10.334 +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/04 10:50:10.335 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:10.336 +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/04 10:50:10.347 +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/04 10:50:10.349 +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=40.311558ms] [] [2025/04/04 10:50:10.349 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:50:10.350 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=993.921Β΅s] [] [2025/04/04 10:50:10.350 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 10:50:10.350 +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/04 10:50:10.351 +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.367508ms] [] [2025/04/04 10:50:10.351 +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/04 10:50:10.355 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:10.355 +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.503536ms] [] [2025/04/04 10:50:10.355 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:10.356 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=843.357Β΅s] [] [2025/04/04 10:50:10.356 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=34] [takeTime=111.708568ms] [] [2025/04/04 10:50:10.356 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=import] [takeTime=112.131205ms] [] [2025/04/04 10:50:10.396 +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/04 10:50:10.398 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:10.399 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:10.399 +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/04 10:50:10.428 +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/04 10:50:10.430 +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/04 10:50:10.430 +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/04 10:50:10.456 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:10.462 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/04 10:50:10.466 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:10.466 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:10.466 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:10.466 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:10.466 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:10.466 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:10.466 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:10.467 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:10.466 +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/04 10:50:10.467 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:10.467 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:10.467 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:10.469 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:10.469 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:10.469 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:10.469 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:10.469 +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=388.583631ms] [] [2025/04/04 10:50:10.470 +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/04 10:50:10.481 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=post-process] [2025/04/04 10:50:10.481 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [2025/04/04 10:50:10.481 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [2025/04/04 10:50:10.481 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [2025/04/04 10:50:10.481 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [takeTime=2.368Β΅s] [] [2025/04/04 10:50:10.481 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 10:50:10.481 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 10:50:10.481 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [weight=30] [2025/04/04 10:50:10.481 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [concurrency=15] [2025/04/04 10:50:10.483 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/04 10:50:10.484 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:10.484 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [takeTime=2.443587ms] [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/04 10:50:10.484 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=35] [takeTime=2.732623ms] [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/04 10:50:10.484 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=post-process] [takeTime=2.962471ms] [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/04 10:50:10.484 +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/04 10:50:10.491 +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/04 10:50:10.500 +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/04 10:50:10.501 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:10.521 +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=51.227782ms] [] [2025/04/04 10:50:10.521 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=19] [type=ImportInto] [2025/04/04 10:50:10.596 +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/04 10:50:10.598 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [step=post-process] [mode=Normal] [2025/04/04 10:50:10.603 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=19] [2025/04/04 10:50:10.682 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:50:10.692 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=19] [2025/04/04 10:50:10.697 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:10.697 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=19] [2025/04/04 10:50:10.718 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:10.790 +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/04 10:50:10.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: 0.986300995\n# Parse_time: 0.000147363\n# Compile_time: 0.000536631\n# Rewrite_time: 0.000172928\n# Optimize_time: 0.000038111\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjk4NS40bXMsIG9wZW46NjU5bnMsIGNsb3NlOjczMW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo5ODUuNG1zLCBvcGVuOjY1OW5zLCBjbG9zZTo3MzFucywgbG9vcHM6MXD///8JAzQBeP///////////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/04 10:50:10.805 +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-04 10:50:10.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:10.805 +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-04 10:50:10.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/04 10:50:10.810 +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-04 10:50:10.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:10.817 +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/04 10:50:10.832 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=1.511261ms] [gotSchemaVersion=130] [phyTblIDs="[188,190]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:10.835 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=130] [2025/04/04 10:50:10.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=130] ["take time"=8.544088ms] [job="ID:191, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:10.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:10.847 +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/04 10:50:10.852 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="truncate table"] [2025/04/04 10:50:10.852 +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-04 10:50:10.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:10.869 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/04 10:50:10.869 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=130] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/04 10:50:10.875 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:10.919 +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/04 10:50:10.939 +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/04 10:50:10.953 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=20] [2025/04/04 10:50:10.953 +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/04 10:50:11.055 +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/04 10:50:11.056 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:11.058 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [2025/04/04 10:50:11.065 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:11.068 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:11.068 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:50:11.068 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=63.244Β΅s] [2025/04/04 10:50:11.068 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=162.362Β΅s] [] [2025/04/04 10:50:11.068 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 10:50:11.068 +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/04 10:50:11.108 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=20] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:11.127 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/04 10:50:11.128 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:11.135 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:11.135 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:11.135 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:11.136 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:11.136 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:11.136 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:11.136 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:11.136 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:11.136 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:11.136 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:11.148 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:11.149 +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/04 10:50:11.149 +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/04 10:50:11.149 +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/04 10:50:11.150 +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/04 10:50:11.150 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=20] [disk-quota=348.5GiB] [2025/04/04 10:50:11.157 +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/04 10:50:11.157 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [2025/04/04 10:50:11.160 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:11.162 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=20] [mode=Import] [2025/04/04 10:50:11.164 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:11.164 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/04 10:50:11.180 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=20] [2025/04/04 10:50:11.226 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [2025/04/04 10:50:11.227 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [readDur=862.105Β΅s] [encodeDur=262.871Β΅s] [checksum="{cksum=10356916929083451793,size=111,kvs=3}"] [deliverDur=25.87Β΅s] [type=file] [takeTime=1.455554ms] [] [2025/04/04 10:50:11.228 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000002] [2025/04/04 10:50:11.228 +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/f591daf9-0727-46af-a24c-61fef0e980d0.sst] [firstKey=7480000000000000BE5F728000000000000001] [lastKey=7480000000000000BE5F728000000000000002] [2025/04/04 10:50:11.228 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 10:50:11.228 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 10:50:11.228 +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/04 10:50:11.230 +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.013746ms] [] [2025/04/04 10:50:11.231 +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/04 10:50:11.235 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:11.257 +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/04 10:50:11.257 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:11.258 +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/04 10:50:11.269 +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/04 10:50:11.271 +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.635403ms] [] [2025/04/04 10:50:11.271 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:11.272 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=993.97Β΅s] [] [2025/04/04 10:50:11.272 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 10:50:11.272 +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/04 10:50:11.274 +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.579082ms] [] [2025/04/04 10:50:11.274 +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/04 10:50:11.278 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:11.278 +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.678734ms] [] [2025/04/04 10:50:11.278 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:11.279 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=863.512Β΅s] [] [2025/04/04 10:50:11.279 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [takeTime=122.220539ms] [] [2025/04/04 10:50:11.279 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [takeTime=122.646807ms] [] [2025/04/04 10:50:11.302 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=import] [2025/04/04 10:50:11.302 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=37] [2025/04/04 10:50:11.306 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:50:11.309 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:11.309 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/04 10:50:11.374 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [2025/04/04 10:50:11.376 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [readDur=834.289Β΅s] [encodeDur=855.602Β΅s] [checksum="{cksum=10697545922510015033,size=111,kvs=3}"] [deliverDur=24.044Β΅s] [type=file] [takeTime=1.95629ms] [] [2025/04/04 10:50:11.376 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000004] [2025/04/04 10:50:11.377 +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/5383723d-c878-4441-bf2e-6f60feb55deb.sst] [firstKey=7480000000000000BE5F728000000000000004] [lastKey=7480000000000000BE5F728000000000000006] [2025/04/04 10:50:11.377 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 10:50:11.377 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 10:50:11.377 +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/04 10:50:11.379 +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.809128ms] [] [2025/04/04 10:50:11.379 +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/04 10:50:11.383 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:11.406 +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/04 10:50:11.406 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:11.407 +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/04 10:50:11.418 +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/04 10:50:11.420 +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=40.837775ms] [] [2025/04/04 10:50:11.420 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:50:11.421 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.025352ms] [] [2025/04/04 10:50:11.421 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 10:50:11.421 +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/04 10:50:11.423 +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.513528ms] [] [2025/04/04 10:50:11.423 +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/04 10:50:11.427 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:11.427 +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.754278ms] [] [2025/04/04 10:50:11.427 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:11.428 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=1.025715ms] [] [2025/04/04 10:50:11.428 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=37] [takeTime=125.734289ms] [] [2025/04/04 10:50:11.428 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=import] [takeTime=125.919167ms] [] [2025/04/04 10:50:11.460 +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/04 10:50:11.462 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:11.463 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:11.463 +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/04 10:50:11.493 +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/04 10:50:11.494 +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/04 10:50:11.494 +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/04 10:50:11.533 +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/04 10:50:11.539 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/04 10:50:11.544 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:11.544 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:11.544 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:11.544 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:11.544 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:11.544 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:11.544 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:11.544 +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/04 10:50:11.544 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:11.544 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:11.544 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:11.544 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:11.546 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:11.547 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:11.547 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:11.547 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:11.547 +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=397.061269ms] [] [2025/04/04 10:50:11.548 +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/04 10:50:11.556 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=post-process] [2025/04/04 10:50:11.556 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=38] [2025/04/04 10:50:11.556 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=38] [2025/04/04 10:50:11.556 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=38] [2025/04/04 10:50:11.556 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=38] [takeTime=2.319Β΅s] [] [2025/04/04 10:50:11.556 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=38] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 10:50:11.556 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=38] [takeTime=135.861Β΅s] [] [2025/04/04 10:50:11.556 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=38] [takeTime=266.963Β΅s] [] [2025/04/04 10:50:11.556 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=post-process] [takeTime=400.705Β΅s] [] [2025/04/04 10:50:11.660 +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/04 10:50:11.660 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=20] [step=post-process] [state=running] [] [2025/04/04 10:50:11.663 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=20] [2025/04/04 10:50:11.692 +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=143.135985ms] [] [2025/04/04 10:50:11.692 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=20] [type=ImportInto] [2025/04/04 10:50:11.755 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=20] [2025/04/04 10:50:11.761 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:11.761 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=20] [2025/04/04 10:50:11.783 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:11.855 +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.985482607\n# Parse_time: 0.000146702\n# Compile_time: 0.000518923\n# Rewrite_time: 0.000184337\n# Optimize_time: 0.000243624\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC42bXMsIG9wZW46NjU3bnMsIGNsb3NlOjEuMDjCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4NC42bXMsIG9wZW46NjU3bnMsIGNsb3NlOjEuMDjCtXMsIGxvb3BzOjJw//////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'off', __max_engine_size=_UTF8MB4'1';"] [2025/04/04 10:50:11.870 +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-04 10:50:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/04 10:50:11.870 +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-04 10:50:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:11.875 +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-04 10:50:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:11.882 +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/04 10:50:11.897 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=1.488676ms] [gotSchemaVersion=131] [phyTblIDs="[190,192]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:11.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=131] [2025/04/04 10:50:11.903 +00:00] [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.466932ms] [job="ID:193, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:11.913 +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/04 10:50:11.918 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=193] [jobType="truncate table"] [2025/04/04 10:50:11.918 +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-04 10:50:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:11.935 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/04 10:50:11.935 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=131] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/04 10:50:11.941 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:11.986 +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/04 10:50:12.004 +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/04 10:50:12.017 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=21] [2025/04/04 10:50:12.017 +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/04 10:50:12.120 +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/04 10:50:12.121 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:12.122 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [2025/04/04 10:50:12.130 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:12.132 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:12.132 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 10:50:12.132 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=56.779Β΅s] [2025/04/04 10:50:12.132 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=153.282Β΅s] [] [2025/04/04 10:50:12.132 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 10:50:12.132 +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/04 10:50:12.170 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=21] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:12.189 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/04 10:50:12.190 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:12.197 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:12.198 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:12.198 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:12.198 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:12.198 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:12.198 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:12.198 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:12.198 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:12.199 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:12.199 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:12.211 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:12.212 +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/04 10:50:12.212 +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/04 10:50:12.213 +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/04 10:50:12.213 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=21] [disk-quota=348.5GiB] [2025/04/04 10:50:12.213 +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/04 10:50:12.221 +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/04 10:50:12.221 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [2025/04/04 10:50:12.224 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:12.225 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=21] [mode=Import] [2025/04/04 10:50:12.228 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:12.229 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/04 10:50:12.246 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=21] [2025/04/04 10:50:12.253 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [2025/04/04 10:50:12.254 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [readDur=860.192Β΅s] [encodeDur=241.058Β΅s] [checksum="{cksum=5586236619367349866,size=111,kvs=3}"] [deliverDur=21.848Β΅s] [type=file] [takeTime=1.382949ms] [] [2025/04/04 10:50:12.255 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000002] [2025/04/04 10:50:12.255 +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/9a328df0-ab86-484f-8efd-8f588e245968.sst] [firstKey=7480000000000000C05F728000000000000001] [lastKey=7480000000000000C05F728000000000000002] [2025/04/04 10:50:12.255 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 10:50:12.255 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 10:50:12.255 +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/04 10:50:12.257 +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.001401ms] [] [2025/04/04 10:50:12.258 +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/04 10:50:12.262 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:12.284 +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/04 10:50:12.284 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:12.286 +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/04 10:50:12.296 +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/04 10:50:12.298 +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.252871ms] [] [2025/04/04 10:50:12.298 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:12.299 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=999.311Β΅s] [] [2025/04/04 10:50:12.299 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 10:50:12.299 +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/04 10:50:12.301 +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.742303ms] [] [2025/04/04 10:50:12.301 +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/04 10:50:12.304 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:12.305 +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.626864ms] [] [2025/04/04 10:50:12.305 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:12.305 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=845.814Β΅s] [] [2025/04/04 10:50:12.306 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [takeTime=84.852113ms] [] [2025/04/04 10:50:12.306 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=85.036416ms] [] [2025/04/04 10:50:12.328 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [2025/04/04 10:50:12.328 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=40] [2025/04/04 10:50:12.332 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:50:12.335 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:12.335 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/04 10:50:12.396 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [2025/04/04 10:50:12.398 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [readDur=914.528Β΅s] [encodeDur=677.977Β΅s] [checksum="{cksum=6217277421343186370,size=111,kvs=3}"] [deliverDur=25.267Β΅s] [type=file] [takeTime=1.825201ms] [] [2025/04/04 10:50:12.398 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000004] [2025/04/04 10:50:12.399 +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/93524ce7-0760-4faa-9515-39d3cb9e827f.sst] [firstKey=7480000000000000C05F728000000000000004] [lastKey=7480000000000000C05F728000000000000006] [2025/04/04 10:50:12.399 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 10:50:12.399 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 10:50:12.399 +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/04 10:50:12.401 +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.813583ms] [] [2025/04/04 10:50:12.401 +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/04 10:50:12.405 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:12.428 +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/04 10:50:12.428 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:12.429 +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/04 10:50:12.442 +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/04 10:50:12.443 +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=42.434759ms] [] [2025/04/04 10:50:12.443 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 10:50:12.445 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.140969ms] [] [2025/04/04 10:50:12.445 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 10:50:12.445 +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/04 10:50:12.446 +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.484907ms] [] [2025/04/04 10:50:12.446 +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/04 10:50:12.450 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:12.450 +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.743099ms] [] [2025/04/04 10:50:12.450 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 10:50:12.451 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=853.183Β΅s] [] [2025/04/04 10:50:12.451 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=40] [takeTime=122.815506ms] [] [2025/04/04 10:50:12.451 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [takeTime=122.963754ms] [] [2025/04/04 10:50:12.525 +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/04 10:50:12.527 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:12.528 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:12.528 +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/04 10:50:12.557 +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/04 10:50:12.559 +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/04 10:50:12.559 +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/04 10:50:12.589 +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/04 10:50:12.596 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/04 10:50:12.600 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:12.600 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:12.600 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:12.600 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:12.600 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:12.600 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:12.600 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:12.600 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:12.600 +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/04 10:50:12.600 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:12.600 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:12.600 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:12.602 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:12.602 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:12.602 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:12.602 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:12.602 +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=389.325483ms] [] [2025/04/04 10:50:12.603 +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/04 10:50:12.610 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=post-process] [2025/04/04 10:50:12.610 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [2025/04/04 10:50:12.610 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [2025/04/04 10:50:12.610 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [2025/04/04 10:50:12.611 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [takeTime=2.556Β΅s] [] [2025/04/04 10:50:12.611 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 10:50:12.611 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 10:50:12.611 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [weight=30] [2025/04/04 10:50:12.611 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [concurrency=15] [2025/04/04 10:50:12.614 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=192] [physicalTableID=192] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/04 10:50:12.614 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:12.614 +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=41] [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/04 10:50:12.614 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [takeTime=3.678787ms] [] [2025/04/04 10:50:12.614 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=41] [takeTime=3.803537ms] [] [2025/04/04 10:50:12.614 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=post-process] [takeTime=3.949756ms] [] [2025/04/04 10:50:12.624 +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/04 10:50:12.624 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=21] [step=post-process] [state=running] [] [2025/04/04 10:50:12.626 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:12.627 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=21] [2025/04/04 10:50:12.640 +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=37.088132ms] [] [2025/04/04 10:50:12.641 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=21] [type=ImportInto] [2025/04/04 10:50:12.720 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=21] [2025/04/04 10:50:12.726 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:12.726 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=21] [2025/04/04 10:50:12.749 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:12.922 +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.986320434\n# Parse_time: 0.000169146\n# Compile_time: 0.000511857\n# Rewrite_time: 0.000177832\n# Optimize_time: 0.000277603\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS4zbXMsIG9wZW46NzEwbnMsIGNsb3NlOjc0OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS4zbXMsIG9wZW46NzEwbnMsIGNsb3NlOjc0OG5zLCBsb29wczoycP////8FAzQBeP///////////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.25s) === NAME TestImportInto === RUN TestImportInto/TestColumnsAndUserVars [2025/04/04 10:50:12.938 +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-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:12.938 +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-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 10:50:12.943 +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-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:12.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=154.807Β΅s] [gotSchemaVersion=132] [phyTblIDs="[192]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:12.964 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=132] [2025/04/04 10:50:12.966 +00:00] [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.544273ms] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:12.976 +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-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:12.989 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=145.369Β΅s] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:12.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=133] [2025/04/04 10:50:12.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=133] ["take time"=8.393363ms] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.004 +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-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.010 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:13.021 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=130.05Β΅s] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:13.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=134] [2025/04/04 10:50:13.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=134] ["take time"=7.625484ms] [job="ID:194, Type:drop schema, State:done, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.035 +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/04 10:50:13.040 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop schema"] [2025/04/04 10:50:13.042 +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-04 10:50:12.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.059 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=194] [2025/04/04 10:50:13.059 +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/04 10:50:13.070 +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-04 10:50:13.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 10:50:13.070 +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-04 10:50:13.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:13.076 +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-04 10:50:13.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.088 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=631.054Β΅s] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:13.092 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=196] [version=135] [2025/04/04 10:50:13.093 +00:00] [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.428885ms] [job="ID:196, Type:create schema, State:done, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:13.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.103 +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-04 10:50:13.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.113 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=196] [2025/04/04 10:50:13.113 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=135] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 10:50:13.126 +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-04 10:50:13.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:13.126 +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-04 10:50:13.101 +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/04 10:50:13.131 +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-04 10:50:13.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.135 +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/04 10:50:13.151 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.667338ms] [gotSchemaVersion=136] [phyTblIDs="[197]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:13.154 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=198] [version=136] [2025/04/04 10:50:13.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=136] ["take time"=8.581852ms] [job="ID:198, Type:create table, State:done, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:13.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.166 +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-04 10:50:13.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.177 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=198] [2025/04/04 10:50:13.178 +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/04 10:50:13.184 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:13.233 +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/04 10:50:13.255 +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/04 10:50:13.269 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=22] [2025/04/04 10:50:13.269 +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/04 10:50:13.371 +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/04 10:50:13.373 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:13.374 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [2025/04/04 10:50:13.382 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:13.384 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=cols_and_vars] [2025/04/04 10:50:13.384 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=cols_and_vars] [before=536870912000] [after=81] [2025/04/04 10:50:13.384 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=cols_and_vars] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=81] [cost=53.429Β΅s] [2025/04/04 10:50:13.384 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=cols_and_vars] [takeTime=137.439Β΅s] [] [2025/04/04 10:50:13.385 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:13.385 +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/04 10:50:13.418 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=22] [type=ImportInto] [concurrency=2] [remaining-slots=50] [2025/04/04 10:50:13.437 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/04 10:50:13.438 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:13.445 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:13.445 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:13.446 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:13.446 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:13.446 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:13.446 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:13.446 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:13.446 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:13.446 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:13.447 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:13.459 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:13.461 +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/04 10:50:13.462 +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/04 10:50:13.462 +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/04 10:50:13.462 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=cols_and_vars] [import-id=22] [disk-quota=348.5GiB] [2025/04/04 10:50:13.462 +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/04 10:50:13.470 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=import] [2025/04/04 10:50:13.470 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=42] [2025/04/04 10:50:13.474 +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/04 10:50:13.478 +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/04 10:50:13.478 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/04 10:50:13.478 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/04 10:50:13.479 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=22] [mode=Import] [2025/04/04 10:50:13.501 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=22] [2025/04/04 10:50:13.536 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [2025/04/04 10:50:13.538 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [readDur=1.098465ms] [encodeDur=404.961Β΅s] [checksum="{cksum=1567370847529678985,size=189,kvs=5}"] [deliverDur=267.929Β΅s] [type=file] [takeTime=2.092143ms] [] [2025/04/04 10:50:13.539 +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/eb89aea4-1c05-4f8c-9953-169a6953750b.sst] [firstKey=7480000000000000C55F728000000000000001] [lastKey=7480000000000000C55F728000000000000005] [2025/04/04 10:50:13.540 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [2025/04/04 10:50:13.542 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [readDur=975.916Β΅s] [encodeDur=287.706Β΅s] [checksum="{cksum=15251348621166951835,size=152,kvs=4}"] [deliverDur=233.125Β΅s] [type=file] [takeTime=1.710759ms] [] [2025/04/04 10:50:13.542 +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/a5e21f01-d5ff-4861-b743-ac6084b554dd.sst] [firstKey=7480000000000000C55F728000000000000010] [lastKey=7480000000000000C55F728000000000000013] [2025/04/04 10:50:13.542 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 10:50:13.542 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 10:50:13.542 +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/04 10:50:13.544 +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.00343ms] [] [2025/04/04 10:50:13.545 +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/04 10:50:13.549 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:13.571 +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/04 10:50:13.571 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:13.573 +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/04 10:50:13.601 +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/04 10:50:13.603 +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=58.044236ms] [] [2025/04/04 10:50:13.603 +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/04 10:50:13.604 +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.112488ms] [] [2025/04/04 10:50:13.604 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 10:50:13.604 +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/04 10:50:13.605 +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.449736ms] [] [2025/04/04 10:50:13.606 +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/04 10:50:13.609 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 10:50:13.609 +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.535109ms] [] [2025/04/04 10:50:13.609 +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/04 10:50:13.610 +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=942.739Β΅s] [] [2025/04/04 10:50:13.610 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=42] [takeTime=140.349045ms] [] [2025/04/04 10:50:13.611 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=import] [takeTime=141.414382ms] [] [2025/04/04 10:50:13.676 +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/04 10:50:13.677 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:13.678 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:13.678 +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/04 10:50:13.707 +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/04 10:50:13.708 +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/04 10:50:13.708 +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/04 10:50:13.729 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:13.737 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/04 10:50:13.739 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:13.739 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:13.740 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:13.740 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:13.740 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:13.740 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:13.740 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:13.740 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:13.740 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:13.740 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:13.740 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:13.740 +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/04 10:50:13.742 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:13.742 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:13.742 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:13.742 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:13.742 +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=280.294389ms] [] [2025/04/04 10:50:13.743 +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/04 10:50:13.751 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=post-process] [2025/04/04 10:50:13.751 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [2025/04/04 10:50:13.751 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [2025/04/04 10:50:13.751 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [2025/04/04 10:50:13.757 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [takeTime=5.276552ms] [] [2025/04/04 10:50:13.757 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [groupId=-1] [size=341] [kvs=9] [checksum=14296615166471800082] [2025/04/04 10:50:13.757 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [checksum="{cksum=14296615166471800082,size=341,kvs=9}"] [2025/04/04 10:50:13.757 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [weight=30] [2025/04/04 10:50:13.757 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [concurrency=15] [2025/04/04 10:50:13.759 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=197] [physicalTableID=197] [indexID=-1] [checksum=14296615166471800082] [totalKvs=9] [totalBytes=341] [2025/04/04 10:50:13.759 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:13.759 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [local="{cksum=14296615166471800082,size=341,kvs=9}"] [2025/04/04 10:50:13.759 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [takeTime=7.590919ms] [] [2025/04/04 10:50:13.759 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=43] [takeTime=7.716167ms] [] [2025/04/04 10:50:13.759 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=post-process] [takeTime=7.844736ms] [] [2025/04/04 10:50:13.775 +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/04 10:50:13.776 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=22] [step=post-process] [state=running] [] [2025/04/04 10:50:13.776 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:13.778 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=22] [2025/04/04 10:50:13.802 +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=58.25506ms] [] [2025/04/04 10:50:13.802 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=22] [type=ImportInto] [2025/04/04 10:50:13.870 +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.691457983\n# Parse_time: 0.000174143\n# Compile_time: 0.00052875\n# Rewrite_time: 0.000177016\n# Optimize_time: 0.000275034\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC41bXMsIG9wZW46OTYwbnMsIGNsb3NlOjgwNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC41bXMsIG9wZW46OTYwbnMsIGNsb3NlOjgwNG5zLCBsb29wczoycP////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;"] [2025/04/04 10:50:13.871 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=22] [2025/04/04 10:50:13.877 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:13.877 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=22] --- PASS: TestImportInto/TestColumnsAndUserVars (0.96s) === NAME TestImportInto === RUN TestImportInto/TestDeliverBytesRows [2025/04/04 10:50:13.896 +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-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:50:13.896 +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-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:13.896 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:13.901 +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-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.916 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=143.689Β΅s] [gotSchemaVersion=137] [phyTblIDs="[197]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:13.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=137] [2025/04/04 10:50:13.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=137] ["take time"=7.203634ms] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.931 +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-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.943 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=127.544Β΅s] [gotSchemaVersion=138] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:13.946 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=138] [2025/04/04 10:50:13.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=138] ["take time"=6.815731ms] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.956 +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-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.961 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:13.971 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=139.296Β΅s] [gotSchemaVersion=139] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:13.974 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=139] [2025/04/04 10:50:13.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=139] ["take time"=7.265911ms] [job="ID:199, Type:drop schema, State:done, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:13.984 +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/04 10:50:13.989 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="drop schema"] [2025/04/04 10:50:13.990 +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-04 10:50:13.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.006 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/04 10:50:14.006 +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/04 10:50:14.018 +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-04 10:50:14.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:14.018 +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-04 10:50:14.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:50:14.023 +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-04 10:50:14.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.037 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=735.129Β΅s] [gotSchemaVersion=140] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:14.040 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=140] [2025/04/04 10:50:14.042 +00:00] [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.850816ms] [job="ID:201, Type:create schema, State:done, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:14.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.052 +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-04 10:50:14.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.061 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/04 10:50:14.061 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 10:50:14.063 +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/04 10:50:14.076 +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-04 10:50:14.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:14.076 +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-04 10:50:14.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:50:14.081 +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-04 10:50:14.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.085 +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/04 10:50:14.100 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.603472ms] [gotSchemaVersion=141] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:14.103 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=141] [2025/04/04 10:50:14.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=141] ["take time"=8.295486ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:14.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.116 +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-04 10:50:14.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.126 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/04 10:50:14.127 +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/04 10:50:14.133 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:14.178 +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/04 10:50:14.198 +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/04 10:50:14.213 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=23] [2025/04/04 10:50:14.214 +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/04 10:50:14.316 +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/04 10:50:14.318 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:14.319 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [2025/04/04 10:50:14.328 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:14.330 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:14.330 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/04 10:50:14.331 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=52.69Β΅s] [2025/04/04 10:50:14.331 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=149.957Β΅s] [] [2025/04/04 10:50:14.331 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:14.331 +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/04 10:50:14.369 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=23] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:14.389 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/04 10:50:14.389 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:14.397 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:14.398 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:14.398 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:14.398 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:14.398 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:14.398 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:14.398 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:14.399 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:14.399 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:14.399 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:14.411 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:14.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/04 10:50:14.413 +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/04 10:50:14.413 +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/04 10:50:14.413 +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/04 10:50:14.413 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=23] [disk-quota=348.5GiB] [2025/04/04 10:50:14.421 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [2025/04/04 10:50:14.421 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=44] [2025/04/04 10:50:14.424 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=23] [mode=Import] [2025/04/04 10:50:14.425 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:14.429 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:14.430 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=202] [2025/04/04 10:50:14.445 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [2025/04/04 10:50:14.447 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [readDur=1.083746ms] [encodeDur=470.194Β΅s] [checksum="{cksum=17348221547970957058,size=369,kvs=9}"] [deliverDur=325.015Β΅s] [type=file] [takeTime=2.294788ms] [] [2025/04/04 10:50:14.448 +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/f159e5cf-2981-4303-b6e4-b0571a199061.sst] [firstKey=7480000000000000CA5F728000000000000001] [lastKey=7480000000000000CA5F728000000000000009] [2025/04/04 10:50:14.448 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 10:50:14.448 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 10:50:14.448 +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/04 10:50:14.449 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=23] [2025/04/04 10:50:14.450 +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.457454ms] [] [2025/04/04 10:50:14.451 +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/04 10:50:14.455 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:14.477 +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/04 10:50:14.478 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:14.480 +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/04 10:50:14.493 +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/04 10:50:14.495 +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=44.357699ms] [] [2025/04/04 10:50:14.495 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:14.497 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.746651ms] [] [2025/04/04 10:50:14.497 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 10:50:14.497 +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/04 10:50:14.499 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=2.248905ms] [] [2025/04/04 10:50:14.499 +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/04 10:50:14.504 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:14.504 +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=4.155992ms] [] [2025/04/04 10:50:14.504 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:14.505 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=959.394Β΅s] [] [2025/04/04 10:50:14.505 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=44] [takeTime=83.810063ms] [] [2025/04/04 10:50:14.505 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [takeTime=84.014714ms] [] [2025/04/04 10:50:14.521 +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/04 10:50:14.522 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:14.524 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:14.524 +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/04 10:50:14.557 +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/04 10:50:14.558 +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/04 10:50:14.558 +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/04 10:50:14.595 +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/04 10:50:14.603 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/04 10:50:14.606 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:14.606 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:14.606 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:14.606 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:14.606 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:14.606 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:14.606 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:14.606 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:14.606 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:14.606 +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/04 10:50:14.606 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:14.606 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:14.608 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:14.609 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:14.609 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:14.609 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:14.609 +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=195.174139ms] [] [2025/04/04 10:50:14.610 +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/04 10:50:14.619 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=post-process] [2025/04/04 10:50:14.619 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [2025/04/04 10:50:14.619 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [2025/04/04 10:50:14.619 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [2025/04/04 10:50:14.626 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [takeTime=6.553218ms] [] [2025/04/04 10:50:14.626 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [groupId=-1] [size=369] [kvs=9] [checksum=17348221547970957058] [2025/04/04 10:50:14.626 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [checksum="{cksum=17348221547970957058,size=369,kvs=9}"] [2025/04/04 10:50:14.626 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [weight=30] [2025/04/04 10:50:14.626 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [concurrency=15] [2025/04/04 10:50:14.628 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=202] [physicalTableID=202] [indexID=-1] [checksum=17348221547970957058] [totalKvs=9] [totalBytes=369] [2025/04/04 10:50:14.628 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:14.628 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [local="{cksum=17348221547970957058,size=369,kvs=9}"] [2025/04/04 10:50:14.629 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [takeTime=9.603189ms] [] [2025/04/04 10:50:14.629 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=45] [takeTime=9.813904ms] [] [2025/04/04 10:50:14.629 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=post-process] [takeTime=9.962432ms] [] [2025/04/04 10:50:14.653 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:14.720 +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/04 10:50:14.720 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=23] [step=post-process] [state=running] [] [2025/04/04 10:50:14.723 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=23] [2025/04/04 10:50:14.752 +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=141.840653ms] [] [2025/04/04 10:50:14.752 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=23] [type=ImportInto] [2025/04/04 10:50:14.815 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=23] [2025/04/04 10:50:14.817 +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.689084891\n# Parse_time: 0.00010617\n# Compile_time: 0.000414867\n# Rewrite_time: 0.000122736\n# Optimize_time: 0.00078063\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OC4zbXMsIG9wZW46NjAzbnMsIGNsb3NlOjkwNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OC4zbXMsIG9wZW46NjAzbnMsIGNsb3NlOjkwNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:14.822 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:14.822 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=23] [2025/04/04 10:50:14.833 +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-04 10:50:14.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:14.833 +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-04 10:50:14.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:50:14.838 +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-04 10:50:14.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.843 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:14.846 +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/04 10:50:14.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.625437ms] [gotSchemaVersion=142] [phyTblIDs="[202,204]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:14.865 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=142] [2025/04/04 10:50:14.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=142] ["take time"=8.633008ms] [job="ID:205, Type:truncate table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:14.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.878 +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/04 10:50:14.882 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=205] [jobType="truncate table"] [2025/04/04 10:50:14.883 +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-04 10:50:14.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:14.899 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/04 10:50:14.900 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:50:14.905 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:14.957 +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/04 10:50:14.977 +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/04 10:50:14.993 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=24] [2025/04/04 10:50:14.993 +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/04 10:50:15.096 +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/04 10:50:15.097 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:15.098 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [2025/04/04 10:50:15.106 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:15.109 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:15.109 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/04 10:50:15.109 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=52.187Β΅s] [2025/04/04 10:50:15.109 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=148.373Β΅s] [] [2025/04/04 10:50:15.109 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:15.109 +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/04 10:50:15.137 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=24] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:15.157 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/04 10:50:15.157 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:15.165 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:15.165 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:15.165 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:15.165 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:15.165 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:15.165 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:15.165 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:15.166 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:15.166 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:15.166 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:15.178 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:15.180 +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/04 10:50:15.180 +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/04 10:50:15.180 +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/04 10:50:15.180 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=24] [disk-quota=348.5GiB] [2025/04/04 10:50:15.180 +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/04 10:50:15.187 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=import] [2025/04/04 10:50:15.187 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=46] [2025/04/04 10:50:15.191 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:15.194 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:15.194 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=204] [2025/04/04 10:50:15.201 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=24] [mode=Import] [2025/04/04 10:50:15.207 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [2025/04/04 10:50:15.210 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [readDur=961.081Β΅s] [encodeDur=634.675Β΅s] [checksum="{cksum=12886775366575955058,size=369,kvs=9}"] [deliverDur=291.657Β΅s] [type=file] [takeTime=2.701773ms] [] [2025/04/04 10:50:15.211 +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/b1a99319-06cf-42c5-a84f-38d2b62570d5.sst] [firstKey=7480000000000000CC5F728000000000000001] [lastKey=7480000000000000CC5F728000000000000009] [2025/04/04 10:50:15.211 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 10:50:15.211 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 10:50:15.211 +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/04 10:50:15.213 +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.580937ms] [] [2025/04/04 10:50:15.214 +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/04 10:50:15.218 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:15.222 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=24] [2025/04/04 10:50:15.241 +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/04 10:50:15.241 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:15.243 +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/04 10:50:15.255 +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/04 10:50:15.257 +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=43.636228ms] [] [2025/04/04 10:50:15.257 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:15.258 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.13199ms] [] [2025/04/04 10:50:15.259 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 10:50:15.259 +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/04 10:50:15.260 +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.77795ms] [] [2025/04/04 10:50:15.260 +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/04 10:50:15.264 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:15.264 +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.837572ms] [] [2025/04/04 10:50:15.264 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:15.266 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.042103ms] [] [2025/04/04 10:50:15.266 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=46] [takeTime=78.337452ms] [] [2025/04/04 10:50:15.266 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=import] [takeTime=78.483931ms] [] [2025/04/04 10:50:15.300 +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/04 10:50:15.301 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:15.302 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:15.302 +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/04 10:50:15.331 +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/04 10:50:15.333 +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/04 10:50:15.333 +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/04 10:50:15.367 +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/04 10:50:15.374 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/04 10:50:15.376 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:15.376 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:15.376 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:15.376 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:15.376 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:15.376 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:15.376 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:15.377 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:15.376 +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/04 10:50:15.377 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:15.377 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:15.377 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:15.379 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:15.379 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:15.379 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:15.379 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:15.379 +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=198.803087ms] [] [2025/04/04 10:50:15.380 +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/04 10:50:15.388 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=post-process] [2025/04/04 10:50:15.388 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [2025/04/04 10:50:15.388 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [2025/04/04 10:50:15.388 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [2025/04/04 10:50:15.393 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [takeTime=5.541595ms] [] [2025/04/04 10:50:15.394 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [groupId=-1] [size=369] [kvs=9] [checksum=12886775366575955058] [2025/04/04 10:50:15.394 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [checksum="{cksum=12886775366575955058,size=369,kvs=9}"] [2025/04/04 10:50:15.394 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [weight=30] [2025/04/04 10:50:15.394 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [concurrency=15] [2025/04/04 10:50:15.395 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=204] [physicalTableID=204] [indexID=-1] [checksum=12886775366575955058] [totalKvs=9] [totalBytes=369] [2025/04/04 10:50:15.396 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:15.396 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [local="{cksum=12886775366575955058,size=369,kvs=9}"] [2025/04/04 10:50:15.396 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [takeTime=8.084207ms] [] [2025/04/04 10:50:15.396 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=47] [takeTime=8.225594ms] [] [2025/04/04 10:50:15.396 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=post-process] [takeTime=8.354315ms] [] [2025/04/04 10:50:15.417 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:15.501 +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/04 10:50:15.501 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=24] [step=post-process] [state=running] [] [2025/04/04 10:50:15.504 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=24] [2025/04/04 10:50:15.521 +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=140.409559ms] [] [2025/04/04 10:50:15.521 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=24] [type=ImportInto] [2025/04/04 10:50:15.593 +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.69245325\n# Parse_time: 0.000067705\n# Compile_time: 0.000422612\n# Rewrite_time: 0.000126849\n# Optimize_time: 0.000274449\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MS43bXMsIG9wZW46NjIwbnMsIGNsb3NlOjgzMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MS43bXMsIG9wZW46NjIwbnMsIGNsb3NlOjgzMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:15.595 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=24] --- PASS: TestImportInto/TestDeliverBytesRows (1.71s) === NAME TestImportInto === RUN TestImportInto/TestDetachedLoadParquet [2025/04/04 10:50:15.597 +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/04 10:50:15.600 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:15.600 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=24] [2025/04/04 10:50:15.609 +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-04 10:50:15.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:15.609 +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-04 10:50:15.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 10:50:15.614 +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-04 10:50:15.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.621 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:15.630 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=623.327Β΅s] [gotSchemaVersion=143] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:15.633 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=143] [2025/04/04 10:50:15.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=143] ["take time"=7.996759ms] [job="ID:207, Type:create schema, State:done, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.646 +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-04 10:50:15.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.655 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/04 10:50:15.655 +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/04 10:50:15.671 +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-04 10:50:15.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:15.671 +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-04 10:50:15.651 +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/04 10:50:15.676 +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-04 10:50:15.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.682 +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/04 10:50:15.703 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=2.224856ms] [gotSchemaVersion=144] [phyTblIDs="[208]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:15.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=209] [version=144] [2025/04/04 10:50:15.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=144] ["take time"=9.525444ms] [job="ID:209, Type:create table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.720 +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-04 10:50:15.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=209] [2025/04/04 10:50:15.734 +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/04 10:50:15.778 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestDetachedLoadParquet3648299583/001/test.parquet\",\"format\":\"parquet\"}"] [dist-task-enabled=true] [2025/04/04 10:50:15.778 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:15.778 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/04 10:50:15.778 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=487.428Β΅s] [2025/04/04 10:50:15.778 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=596.22Β΅s] [] [2025/04/04 10:50:15.801 +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/04 10:50:15.815 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=25] [2025/04/04 10:50:15.815 +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/04 10:50:15.917 +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/04 10:50:15.920 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:15.922 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [2025/04/04 10:50:15.930 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:15.930 +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/04 10:50:15.968 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=25] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:50:15.988 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/04 10:50:15.995 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:15.995 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:15.995 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:15.995 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:15.996 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:15.996 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:15.996 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:15.996 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:15.996 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:15.996 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:16.008 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:16.010 +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/04 10:50:16.010 +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/04 10:50:16.010 +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/04 10:50:16.010 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=25] [disk-quota=348.5GiB] [2025/04/04 10:50:16.010 +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/04 10:50:16.017 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=import] [2025/04/04 10:50:16.017 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=48] [2025/04/04 10:50:16.021 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:50:16.024 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=25] [mode=Import] [2025/04/04 10:50:16.024 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:16.025 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=208] [2025/04/04 10:50:16.036 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [2025/04/04 10:50:16.039 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [readDur=1.522227ms] [encodeDur=780.838Β΅s] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=256.181Β΅s] [type=file] [takeTime=2.888353ms] [] [2025/04/04 10:50:16.040 +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/5dfb9075-b307-40bf-8cfa-454c3054c455.sst] [firstKey=7480000000000000D05F728000000000000001] [lastKey=7480000000000000D05F728000000000000006] [2025/04/04 10:50:16.040 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 10:50:16.040 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 10:50:16.040 +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/04 10:50:16.042 +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.874431ms] [] [2025/04/04 10:50:16.042 +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/04 10:50:16.043 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=25] [2025/04/04 10:50:16.046 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:16.067 +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/04 10:50:16.067 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:16.069 +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/04 10:50:16.080 +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/04 10:50:16.082 +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.726728ms] [] [2025/04/04 10:50:16.082 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:50:16.083 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=957.94Β΅s] [] [2025/04/04 10:50:16.083 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 10:50:16.083 +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/04 10:50:16.084 +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.56533ms] [] [2025/04/04 10:50:16.084 +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/04 10:50:16.088 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:16.088 +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.624044ms] [] [2025/04/04 10:50:16.088 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:16.089 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=840.588Β΅s] [] [2025/04/04 10:50:16.089 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=48] [takeTime=72.05134ms] [] [2025/04/04 10:50:16.089 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=import] [takeTime=72.187733ms] [] [2025/04/04 10:50:16.122 +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/04 10:50:16.125 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:16.127 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:16.127 +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/04 10:50:16.158 +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/04 10:50:16.161 +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/04 10:50:16.161 +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/04 10:50:16.188 +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/04 10:50:16.194 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/04 10:50:16.197 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:16.197 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:16.197 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:16.197 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:16.197 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:16.197 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:16.197 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:16.197 +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/04 10:50:16.197 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:16.197 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:16.197 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:16.197 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:16.199 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:16.199 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:16.199 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:16.199 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:16.199 +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=189.574479ms] [] [2025/04/04 10:50:16.202 +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/04 10:50:16.209 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=49] [step=post-process] [2025/04/04 10:50:16.209 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [2025/04/04 10:50:16.209 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [2025/04/04 10:50:16.209 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [2025/04/04 10:50:16.214 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [takeTime=5.060539ms] [] [2025/04/04 10:50:16.214 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [groupId=-1] [size=726] [kvs=6] [checksum=13966026291112241924] [2025/04/04 10:50:16.214 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/04 10:50:16.214 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [weight=30] [2025/04/04 10:50:16.214 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [concurrency=15] [2025/04/04 10:50:16.216 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=208] [physicalTableID=208] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/04 10:50:16.216 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:16.216 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [local="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/04 10:50:16.216 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [takeTime=7.382621ms] [] [2025/04/04 10:50:16.216 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=49] [takeTime=7.507875ms] [] [2025/04/04 10:50:16.216 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=49] [step=post-process] [takeTime=7.639059ms] [] [2025/04/04 10:50:16.236 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:16.323 +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/04 10:50:16.323 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=25] [step=post-process] [state=running] [] [2025/04/04 10:50:16.327 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=25] [2025/04/04 10:50:16.359 +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=157.421196ms] [] [2025/04/04 10:50:16.360 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=25] [type=ImportInto] [2025/04/04 10:50:16.417 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=25] [2025/04/04 10:50:16.420 +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.684793244\n# Parse_time: 0.000096346\n# Compile_time: 0.000495483\n# Rewrite_time: 0.000167337\n# Optimize_time: 0.000236568\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My45bXMsIG9wZW46Nzc3bnMsIGNsb3NlOjYwMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4My45bXMsIG9wZW46Nzc3bnMsIGNsb3NlOjYwMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\nuse load_csv;\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestDetachedLoadParquet3648299583/001/test.parquet' FORMAT 'parquet';"] [2025/04/04 10:50:16.423 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:16.424 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=25] [2025/04/04 10:50:16.437 +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-04 10:50:16.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:16.437 +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-04 10:50:16.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/04 10:50:16.443 +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-04 10:50:16.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:16.451 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:16.453 +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/04 10:50:16.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=2.151405ms] [gotSchemaVersion=145] [phyTblIDs="[208,210]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:16.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=145] [2025/04/04 10:50:16.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=145] ["take time"=9.498236ms] [job="ID:211, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:16.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:16.491 +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/04 10:50:16.496 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="truncate table"] [2025/04/04 10:50:16.497 +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-04 10:50:16.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:16.518 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/04 10:50:16.518 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=145] [cur_db=load_csv] [sql="TRUNCATE TABLE t;"] [user=root@%] [2025/04/04 10:50:16.525 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:16.575 +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/04 10:50:16.599 +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/04 10:50:16.614 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=26] [2025/04/04 10:50:16.614 +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/04 10:50:16.717 +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/04 10:50:16.719 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:16.722 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [2025/04/04 10:50:16.733 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:16.736 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:16.736 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/04 10:50:16.740 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=3.988411ms] [2025/04/04 10:50:16.740 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=4.128428ms] [] [2025/04/04 10:50:16.740 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:16.740 +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/04 10:50:16.781 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=26] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:16.803 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/04 10:50:16.803 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:16.812 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:16.812 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:16.813 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:16.813 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:16.813 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:16.813 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:16.813 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:16.813 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:16.814 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:16.814 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:16.824 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=26] [mode=Import] [2025/04/04 10:50:16.826 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:16.827 +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/04 10:50:16.828 +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/04 10:50:16.828 +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/04 10:50:16.828 +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/04 10:50:16.828 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=26] [disk-quota=348.5GiB] [2025/04/04 10:50:16.839 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=50] [step=import] [2025/04/04 10:50:16.839 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=50] [2025/04/04 10:50:16.843 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:50:16.843 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=26] [2025/04/04 10:50:16.846 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:16.846 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=210] [2025/04/04 10:50:16.859 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=210] [key=p:0] [2025/04/04 10:50:16.862 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=210] [key=p:0] [readDur=1.646799ms] [encodeDur=623.085Β΅s] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=328.381Β΅s] [type=file] [takeTime=2.963597ms] [] [2025/04/04 10:50:16.863 +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/ccb731b8-e0c7-4b6a-8b33-b16f9e524e12.sst] [firstKey=7480000000000000D25F728000000000000001] [lastKey=7480000000000000D25F728000000000000006] [2025/04/04 10:50:16.863 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 10:50:16.863 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 10:50:16.863 +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/04 10:50:16.866 +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.091088ms] [] [2025/04/04 10:50:16.866 +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/04 10:50:16.870 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:16.892 +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/04 10:50:16.892 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:16.894 +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/04 10:50:16.907 +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/04 10:50:16.909 +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.332503ms] [] [2025/04/04 10:50:16.909 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:50:16.910 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.064262ms] [] [2025/04/04 10:50:16.910 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 10:50:16.910 +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/04 10:50:16.912 +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.602711ms] [] [2025/04/04 10:50:16.912 +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/04 10:50:16.916 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:16.916 +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.659897ms] [] [2025/04/04 10:50:16.916 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:16.917 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=910.857Β΅s] [] [2025/04/04 10:50:16.917 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=50] [takeTime=77.694261ms] [] [2025/04/04 10:50:16.917 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=50] [step=import] [takeTime=77.865511ms] [] [2025/04/04 10:50:17.021 +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/04 10:50:17.024 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:17.026 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:17.026 +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/04 10:50:17.057 +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/04 10:50:17.060 +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/04 10:50:17.060 +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/04 10:50:17.065 +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/04 10:50:17.065 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/04 10:50:17.068 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:17.068 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:17.068 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:17.068 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:17.068 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:17.068 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:17.068 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:17.068 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:17.068 +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/04 10:50:17.069 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:17.069 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:17.069 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:17.071 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:17.071 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:17.071 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:17.071 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:17.071 +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=243.212442ms] [] [2025/04/04 10:50:17.071 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=26] [type=ImportInto] [2025/04/04 10:50:17.098 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=26] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:17.120 +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/04 10:50:17.127 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=51] [step=post-process] [2025/04/04 10:50:17.127 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [2025/04/04 10:50:17.127 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [2025/04/04 10:50:17.127 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [2025/04/04 10:50:17.133 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [takeTime=5.128367ms] [] [2025/04/04 10:50:17.133 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [groupId=-1] [size=726] [kvs=6] [checksum=13966026291112241924] [2025/04/04 10:50:17.133 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/04 10:50:17.133 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [weight=30] [2025/04/04 10:50:17.133 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [concurrency=15] [2025/04/04 10:50:17.135 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=210] [physicalTableID=210] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/04 10:50:17.135 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:17.135 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [local="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/04 10:50:17.135 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [takeTime=7.69131ms] [] [2025/04/04 10:50:17.135 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=51] [takeTime=7.835287ms] [] [2025/04/04 10:50:17.135 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=51] [step=post-process] [takeTime=7.957042ms] [] [2025/04/04 10:50:17.156 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:17.220 +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/04 10:50:17.221 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=26] [step=post-process] [state=running] [] [2025/04/04 10:50:17.225 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=26] [2025/04/04 10:50:17.251 +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=131.213173ms] [] [2025/04/04 10:50:17.251 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=26] [type=ImportInto] [2025/04/04 10:50:17.316 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=26] [2025/04/04 10:50:17.322 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:17.322 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=26] [2025/04/04 10:50:17.347 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:17.625 +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-04 10:50:17.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/04 10:50:17.625 +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-04 10:50:17.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:17.630 +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-04 10:50:17.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.638 +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/04 10:50:17.659 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=2.156653ms] [gotSchemaVersion=146] [phyTblIDs="[210,212]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:17.663 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=146] [2025/04/04 10:50:17.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=146] ["take time"=9.12225ms] [job="ID:213, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:17.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.675 +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/04 10:50:17.679 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="truncate table"] [2025/04/04 10:50:17.680 +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-04 10:50:17.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.699 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/04 10:50:17.699 +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.10s) === NAME TestImportInto === RUN TestImportInto/TestDiskQuota [2025/04/04 10:50:17.701 +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/04 10:50:17.712 +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-04 10:50:17.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:17.712 +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-04 10:50:17.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_disk_quota;"] [2025/04/04 10:50:17.717 +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-04 10:50:17.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=890.19Β΅s] [gotSchemaVersion=147] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:17.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=147] [2025/04/04 10:50:17.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=147] ["take time"=8.079258ms] [job="ID:215, Type:create schema, State:done, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:17.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.746 +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-04 10:50:17.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.755 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/04 10:50:17.756 +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/04 10:50:17.768 +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-04 10:50:17.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [2025/04/04 10:50:17.768 +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-04 10:50:17.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:17.773 +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-04 10:50:17.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.778 +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/04 10:50:17.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.624226ms] [gotSchemaVersion=148] [phyTblIDs="[216]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:17.796 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=148] [2025/04/04 10:50:17.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=148] ["take time"=8.500745ms] [job="ID:217, Type:create table, State:done, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:17.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.808 +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-04 10:50:17.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:17.819 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/04 10:50:17.820 +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/04 10:50:17.856 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:17.901 +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/04 10:50:17.919 +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/04 10:50:17.933 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=27] [2025/04/04 10:50:17.933 +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/04 10:50:18.036 +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/04 10:50:18.037 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:18.038 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [2025/04/04 10:50:18.045 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:18.048 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:18.048 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97780] [2025/04/04 10:50:18.048 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=97780] [cost=43.255Β΅s] [2025/04/04 10:50:18.048 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=144.065Β΅s] [] [2025/04/04 10:50:18.048 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:18.048 +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/04 10:50:18.078 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=27] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:18.098 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/04 10:50:18.098 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:18.106 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:18.106 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:18.107 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:18.107 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:18.107 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:18.107 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:18.107 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:18.107 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:18.108 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:18.108 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:18.120 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:18.121 +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/04 10:50:18.122 +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/04 10:50:18.122 +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/04 10:50:18.122 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=27] [disk-quota=1B] [2025/04/04 10:50:18.130 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=52] [step=import] [2025/04/04 10:50:18.130 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=52] [2025/04/04 10:50:18.133 +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/04 10:50:18.137 +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/04 10:50:18.137 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=216] [2025/04/04 10:50:18.141 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=27] [mode=Import] [2025/04/04 10:50:18.151 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [2025/04/04 10:50:18.161 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=27] [2025/04/04 10:50:18.222 +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/04 10:50:18.228 +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/8b55be8e-1211-403b-8969-ec0a28066cee.sst] [firstKey=7480000000000000D85F728000000000000001] [lastKey=7480000000000000D85F728000000000000B00] [2025/04/04 10:50:18.230 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:50:18.235 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:18.257 +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/04 10:50:18.257 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:18.259 +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/04 10:50:18.280 +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/04 10:50:18.283 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=52.179109ms] [] [2025/04/04 10:50:18.289 +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/04 10:50:18.291 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 10:50:18.295 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:50:18.295 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.827914ms] [] [2025/04/04 10:50:18.299 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:50:18.302 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 10:50:18.303 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=3.572476ms] [] [2025/04/04 10:50:18.308 +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/04 10:50:18.314 +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/e7b1fef6-fc2c-45ef-8a03-1778c89fb659.sst] [firstKey=7480000000000000D85F728000000000000B01] [lastKey=7480000000000000D85F7280000000000015F9] [2025/04/04 10:50:18.316 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:50:18.320 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:18.343 +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/04 10:50:18.343 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:18.345 +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/04 10:50:18.366 +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/04 10:50:18.368 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=52.043186ms] [] [2025/04/04 10:50:18.374 +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/04 10:50:18.380 +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/473541fc-1a70-4c92-b642-b81e2a7be91d.sst] [firstKey=7480000000000000D85F7280000000000015FA] [lastKey=7480000000000000D85F7280000000000020F2] [2025/04/04 10:50:18.382 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 10:50:18.386 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:50:18.386 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.762586ms] [] [2025/04/04 10:50:18.390 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:50:18.394 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:18.417 +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/04 10:50:18.417 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:18.419 +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/04 10:50:18.441 +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/04 10:50:18.443 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=52.869595ms] [] [2025/04/04 10:50:18.449 +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/04 10:50:18.452 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [readDur=55.043154ms] [encodeDur=178.169221ms] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [deliverDur=25.172643ms] [type=file] [takeTime=300.690499ms] [] [2025/04/04 10:50:18.453 +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/b29dd1a3-e815-4d6a-b284-96630f5afc78.sst] [firstKey=7480000000000000D85F7280000000000020F3] [lastKey=7480000000000000D85F728000000000002710] [2025/04/04 10:50:18.453 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 10:50:18.453 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 10:50:18.453 +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/04 10:50:18.455 +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.266886ms] [] [2025/04/04 10:50:18.455 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 10:50:18.455 +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/04 10:50:18.459 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:18.481 +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/04 10:50:18.481 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:18.483 +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/04 10:50:18.502 +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/04 10:50:18.504 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=48.559455ms] [] [2025/04/04 10:50:18.504 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:18.526 +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/04 10:50:18.526 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:18.528 +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/04 10:50:18.554 +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/04 10:50:18.556 +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=100.482825ms] [] [2025/04/04 10:50:18.556 +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/04 10:50:18.561 +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=4.914736ms] [] [2025/04/04 10:50:18.561 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 10:50:18.561 +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/04 10:50:18.561 +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/04 10:50:18.564 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 10:50:18.564 +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.951209ms] [] [2025/04/04 10:50:18.564 +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/04 10:50:18.568 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:50:18.568 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.88586ms] [] [2025/04/04 10:50:18.572 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 10:50:18.572 +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=7.753531ms] [] [2025/04/04 10:50:18.572 +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/04 10:50:18.573 +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=816.239Β΅s] [] [2025/04/04 10:50:18.573 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=52] [takeTime=443.009414ms] [] [2025/04/04 10:50:18.573 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=52] [step=import] [takeTime=443.187596ms] [] [2025/04/04 10:50:18.640 +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/04 10:50:18.641 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:18.642 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:18.642 +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/04 10:50:18.671 +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\":11566}"] [2025/04/04 10:50:18.672 +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/04 10:50:18.672 +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/04 10:50:18.692 +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/04 10:50:18.698 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/04 10:50:18.706 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:18.706 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:18.706 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:18.707 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:18.706 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:18.707 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:18.707 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:18.707 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:18.707 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:18.707 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:18.707 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:18.707 +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/04 10:50:18.709 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:18.709 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:18.709 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:18.709 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:18.709 +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=587.246944ms] [] [2025/04/04 10:50:18.710 +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/04 10:50:18.717 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=53] [step=post-process] [2025/04/04 10:50:18.718 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [2025/04/04 10:50:18.718 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [2025/04/04 10:50:18.718 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [2025/04/04 10:50:18.723 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [takeTime=5.643127ms] [] [2025/04/04 10:50:18.723 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [groupId=-1] [size=349744] [kvs=10000] [checksum=13278823448959016481] [2025/04/04 10:50:18.724 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [2025/04/04 10:50:18.724 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [weight=30] [2025/04/04 10:50:18.724 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [concurrency=15] [2025/04/04 10:50:18.727 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=216] [physicalTableID=216] [indexID=-1] [checksum=13278823448959016481] [totalKvs=10000] [totalBytes=349744] [2025/04/04 10:50:18.728 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:18.728 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [local="{cksum=13278823448959016481,size=349744,kvs=10000}"] [2025/04/04 10:50:18.728 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [takeTime=10.3416ms] [] [2025/04/04 10:50:18.728 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=53] [takeTime=10.491531ms] [] [2025/04/04 10:50:18.729 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=53] [step=post-process] [takeTime=11.941956ms] [] [2025/04/04 10:50:18.734 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:18.741 +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/04 10:50:18.741 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=27] [step=post-process] [state=running] [] [2025/04/04 10:50:18.744 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=27] [2025/04/04 10:50:18.776 +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=65.820255ms] [] [2025/04/04 10:50:18.776 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=27] [type=ImportInto] [2025/04/04 10:50:18.835 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=27] [2025/04/04 10:50:18.836 +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.985823685\n# Parse_time: 0.00010722\n# Compile_time: 0.000537104\n# Rewrite_time: 0.000163899\n# Optimize_time: 0.000316005\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC45bXMsIG9wZW46ODcxbnMsIGNsb3NlOjc4OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NC45bXMsIG9wZW46ODcxbnMsIGNsb3NlOjc4OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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';"] [2025/04/04 10:50:18.842 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:18.842 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=27] --- PASS: TestImportInto/TestDiskQuota (1.14s) === NAME TestImportInto === RUN TestImportInto/TestGBK [2025/04/04 10:50:18.845 +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/04 10:50:18.858 +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-04 10:50:18.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:18.858 +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-04 10:50:18.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/04 10:50:18.863 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:18.863 +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-04 10:50:18.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:18.877 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=720.928Β΅s] [gotSchemaVersion=149] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:18.881 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=149] [2025/04/04 10:50:18.882 +00:00] [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.071597ms] [job="ID:219, Type:create schema, State:done, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:18.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:18.893 +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-04 10:50:18.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:18.902 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/04 10:50:18.902 +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/04 10:50:18.914 +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-04 10:50:18.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:18.914 +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-04 10:50:18.902 +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/04 10:50:18.919 +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-04 10:50:18.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:18.924 +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/04 10:50:18.944 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.683463ms] [gotSchemaVersion=150] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:18.947 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=150] [2025/04/04 10:50:18.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=150] ["take time"=8.913995ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:18.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:18.961 +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-04 10:50:18.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:18.972 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/04 10:50:18.972 +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/04 10:50:18.986 +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-04 10:50:18.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:18.986 +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-04 10:50:18.952 +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/04 10:50:18.991 +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-04 10:50:18.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:18.996 +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/04 10:50:19.011 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.445644ms] [gotSchemaVersion=151] [phyTblIDs="[222]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:19.015 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=151] [2025/04/04 10:50:19.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=151] ["take time"=8.607946ms] [job="ID:223, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:18.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:19.027 +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-04 10:50:18.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:19.039 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=223] [2025/04/04 10:50:19.040 +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/04 10:50:19.046 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:19.094 +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/04 10:50:19.115 +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/04 10:50:19.129 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=28] [2025/04/04 10:50:19.129 +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/04 10:50:19.231 +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/04 10:50:19.232 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:19.233 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [2025/04/04 10:50:19.241 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:19.244 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 10:50:19.244 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=69] [2025/04/04 10:50:19.244 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=41.321Β΅s] [2025/04/04 10:50:19.244 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=130.587Β΅s] [] [2025/04/04 10:50:19.244 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:19.244 +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/04 10:50:19.279 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=28] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:19.299 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/04 10:50:19.299 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:19.307 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:19.307 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:19.307 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:19.307 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:19.307 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:19.307 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:19.307 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:19.307 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:19.308 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:19.308 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:19.320 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:19.321 +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/04 10:50:19.321 +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/04 10:50:19.322 +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/04 10:50:19.322 +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/04 10:50:19.322 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=28] [disk-quota=348.5GiB] [2025/04/04 10:50:19.329 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=54] [step=import] [2025/04/04 10:50:19.329 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=54] [2025/04/04 10:50:19.333 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:50:19.336 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:50:19.336 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=220] [2025/04/04 10:50:19.345 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=28] [mode=Import] [2025/04/04 10:50:19.355 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [2025/04/04 10:50:19.358 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [readDur=1.118399ms] [encodeDur=274.499Β΅s] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=250.24Β΅s] [type=file] [takeTime=1.966977ms] [] [2025/04/04 10:50:19.358 +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/61bae84b-20d6-4927-bb81-6a857c8f401e.sst] [firstKey=7480000000000000DC5F728000000000000001] [lastKey=7480000000000000DC5F728000000000000002] [2025/04/04 10:50:19.358 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 10:50:19.358 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 10:50:19.358 +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/04 10:50:19.361 +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.240115ms] [] [2025/04/04 10:50:19.361 +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/04 10:50:19.364 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=28] [2025/04/04 10:50:19.365 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:19.386 +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/04 10:50:19.386 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:19.388 +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/04 10:50:19.399 +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/04 10:50:19.401 +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.362807ms] [] [2025/04/04 10:50:19.401 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:50:19.402 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=977.971Β΅s] [] [2025/04/04 10:50:19.402 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 10:50:19.402 +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/04 10:50:19.404 +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.399139ms] [] [2025/04/04 10:50:19.404 +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/04 10:50:19.407 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:50:19.407 +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.579359ms] [] [2025/04/04 10:50:19.407 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:50:19.408 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=762.368Β΅s] [] [2025/04/04 10:50:19.408 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=54] [takeTime=79.073447ms] [] [2025/04/04 10:50:19.408 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=54] [step=import] [takeTime=79.213983ms] [] [2025/04/04 10:50:19.437 +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/04 10:50:19.438 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:19.439 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:19.439 +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/04 10:50:19.471 +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/04 10:50:19.472 +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/04 10:50:19.472 +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/04 10:50:19.507 +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/04 10:50:19.514 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/04 10:50:19.517 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:19.517 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:19.517 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:19.517 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:19.517 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:19.517 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:19.517 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:19.517 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:19.517 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:19.517 +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/04 10:50:19.517 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:19.517 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:19.519 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:19.519 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:19.520 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:19.520 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:19.520 +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=197.923135ms] [] [2025/04/04 10:50:19.521 +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/04 10:50:19.529 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=55] [step=post-process] [2025/04/04 10:50:19.529 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [2025/04/04 10:50:19.529 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [2025/04/04 10:50:19.529 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [2025/04/04 10:50:19.536 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [takeTime=6.429336ms] [] [2025/04/04 10:50:19.536 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/04 10:50:19.536 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 10:50:19.536 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [weight=30] [2025/04/04 10:50:19.536 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [concurrency=15] [2025/04/04 10:50:19.538 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=220] [physicalTableID=220] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 10:50:19.538 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:19.538 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 10:50:19.538 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [takeTime=9.254167ms] [] [2025/04/04 10:50:19.538 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=55] [takeTime=9.396853ms] [] [2025/04/04 10:50:19.539 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=55] [step=post-process] [takeTime=9.55397ms] [] [2025/04/04 10:50:19.561 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:19.636 +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/04 10:50:19.636 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=28] [step=post-process] [state=running] [] [2025/04/04 10:50:19.638 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=28] [2025/04/04 10:50:19.659 +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.933384ms] [] [2025/04/04 10:50:19.659 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=28] [type=ImportInto] [2025/04/04 10:50:19.731 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=28] [2025/04/04 10:50:19.736 +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.695704608\n# Parse_time: 0.000095229\n# Compile_time: 0.000480788\n# Rewrite_time: 0.000157234\n# Optimize_time: 0.000500169\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NC44bXMsIG9wZW46NTgxbnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5NC44bXMsIG9wZW46NTgxbnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:19.738 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:19.738 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=28] [2025/04/04 10:50:19.746 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:19.763 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:19.798 +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/04 10:50:19.816 +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/04 10:50:19.835 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=29] [2025/04/04 10:50:19.835 +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/04 10:50:19.937 +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/04 10:50:19.938 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:19.939 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [2025/04/04 10:50:19.948 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:19.950 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 10:50:19.950 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=69] [2025/04/04 10:50:19.950 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=38.743Β΅s] [2025/04/04 10:50:19.950 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=132.958Β΅s] [] [2025/04/04 10:50:19.950 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:19.950 +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/04 10:50:19.988 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=29] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:20.007 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/04 10:50:20.007 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:20.015 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:20.015 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:20.016 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:20.016 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:20.016 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:20.016 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:20.016 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:20.016 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:20.017 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:20.017 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:20.029 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:20.031 +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/04 10:50:20.031 +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/04 10:50:20.031 +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/04 10:50:20.031 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=29] [disk-quota=348.5GiB] [2025/04/04 10:50:20.031 +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/04 10:50:20.038 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=56] [step=import] [2025/04/04 10:50:20.038 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=56] [2025/04/04 10:50:20.042 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:50:20.043 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=29] [mode=Import] [2025/04/04 10:50:20.047 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:50:20.047 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=222] [2025/04/04 10:50:20.060 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [2025/04/04 10:50:20.062 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [readDur=1.002919ms] [encodeDur=254.366Β΅s] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=195.9Β΅s] [type=file] [takeTime=1.74143ms] [] [2025/04/04 10:50:20.063 +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/a44b25c9-f01d-448b-b581-d8b8f76bef24.sst] [firstKey=7480000000000000DE5F728000000000000001] [lastKey=7480000000000000DE5F728000000000000002] [2025/04/04 10:50:20.063 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 10:50:20.063 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 10:50:20.063 +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/04 10:50:20.064 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=29] [2025/04/04 10:50:20.065 +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.914963ms] [] [2025/04/04 10:50:20.065 +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/04 10:50:20.069 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:20.091 +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/04 10:50:20.091 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:20.092 +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/04 10:50:20.104 +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/04 10:50:20.106 +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.847198ms] [] [2025/04/04 10:50:20.106 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:50:20.107 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.126176ms] [] [2025/04/04 10:50:20.107 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 10:50:20.107 +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/04 10:50:20.109 +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.72761ms] [] [2025/04/04 10:50:20.109 +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/04 10:50:20.113 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:50:20.113 +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.680316ms] [] [2025/04/04 10:50:20.113 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:50:20.114 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.005499ms] [] [2025/04/04 10:50:20.114 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=56] [takeTime=75.761254ms] [] [2025/04/04 10:50:20.114 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=56] [step=import] [takeTime=75.91544ms] [] [2025/04/04 10:50:20.142 +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/04 10:50:20.143 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:20.144 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:20.144 +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/04 10:50:20.174 +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/04 10:50:20.175 +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/04 10:50:20.175 +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/04 10:50:20.199 +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/04 10:50:20.205 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/04 10:50:20.208 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:20.208 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:20.208 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:20.208 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:20.208 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:20.208 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:20.208 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:20.208 +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/04 10:50:20.208 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:20.208 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:20.208 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:20.208 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:20.210 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:20.210 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:20.210 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:20.210 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:20.211 +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=179.340643ms] [] [2025/04/04 10:50:20.212 +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/04 10:50:20.219 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=57] [step=post-process] [2025/04/04 10:50:20.219 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [2025/04/04 10:50:20.219 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [2025/04/04 10:50:20.219 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [2025/04/04 10:50:20.224 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [takeTime=5.13285ms] [] [2025/04/04 10:50:20.224 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/04 10:50:20.224 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 10:50:20.224 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [weight=30] [2025/04/04 10:50:20.224 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [concurrency=15] [2025/04/04 10:50:20.226 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=222] [physicalTableID=222] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 10:50:20.227 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:20.227 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 10:50:20.227 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [takeTime=7.723775ms] [] [2025/04/04 10:50:20.227 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=57] [takeTime=7.859896ms] [] [2025/04/04 10:50:20.227 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=57] [step=post-process] [takeTime=8.010985ms] [] [2025/04/04 10:50:20.238 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:20.242 +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/04 10:50:20.242 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=29] [step=post-process] [state=running] [] [2025/04/04 10:50:20.245 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=29] [2025/04/04 10:50:20.272 +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=60.717963ms] [] [2025/04/04 10:50:20.272 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=29] [type=ImportInto] [2025/04/04 10:50:20.337 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=29] [2025/04/04 10:50:20.343 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:20.343 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=29] [2025/04/04 10:50:20.370 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:20.433 +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.692411314\n# Parse_time: 0.000112792\n# Compile_time: 0.000640274\n# Rewrite_time: 0.000208458\n# Optimize_time: 0.000242474\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MS40bXMsIG9wZW46Njc5bnMsIGNsb3NlOjgwMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MS40bXMsIG9wZW46Njc5bnMsIGNsb3NlOjgwMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:20.448 +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-04 10:50:20.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:20.448 +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-04 10:50:20.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/04 10:50:20.453 +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-04 10:50:20.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:20.461 +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/04 10:50:20.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.593156ms] [gotSchemaVersion=152] [phyTblIDs="[220,224]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:20.479 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=152] [2025/04/04 10:50:20.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=152] ["take time"=8.970305ms] [job="ID:225, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:20.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:20.491 +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/04 10:50:20.496 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="truncate table"] [2025/04/04 10:50:20.497 +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-04 10:50:20.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:20.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/04 10:50:20.514 +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/04 10:50:20.520 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:20.566 +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/04 10:50:20.584 +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/04 10:50:20.598 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30] [2025/04/04 10:50:20.598 +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/04 10:50:20.701 +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/04 10:50:20.702 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:20.703 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [2025/04/04 10:50:20.710 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:20.712 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 10:50:20.712 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=101] [2025/04/04 10:50:20.712 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=101] [cost=41.992Β΅s] [2025/04/04 10:50:20.712 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=136.708Β΅s] [] [2025/04/04 10:50:20.713 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:20.713 +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/04 10:50:20.749 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:20.770 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/04 10:50:20.771 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:20.779 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:20.779 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:20.780 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:20.780 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:20.780 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:20.780 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:20.780 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:20.780 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:20.781 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:20.781 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:20.794 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:20.796 +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/04 10:50:20.796 +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/04 10:50:20.797 +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/04 10:50:20.797 +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/04 10:50:20.797 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=30] [disk-quota=348.5GiB] [2025/04/04 10:50:20.805 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=58] [step=import] [2025/04/04 10:50:20.805 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=58] [2025/04/04 10:50:20.809 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:50:20.809 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30] [mode=Import] [2025/04/04 10:50:20.812 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:50:20.812 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=224] [2025/04/04 10:50:20.833 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30] [2025/04/04 10:50:20.836 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [2025/04/04 10:50:20.838 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [readDur=922.257Β΅s] [encodeDur=292.581Β΅s] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=248.402Β΅s] [type=file] [takeTime=1.777148ms] [] [2025/04/04 10:50:20.838 +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/33cc419c-2ab2-4d28-858a-12826205ef0d.sst] [firstKey=7480000000000000E05F728000000000000001] [lastKey=7480000000000000E05F728000000000000002] [2025/04/04 10:50:20.838 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 10:50:20.838 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 10:50:20.838 +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/04 10:50:20.840 +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.929503ms] [] [2025/04/04 10:50:20.840 +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/04 10:50:20.846 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:20.868 +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/04 10:50:20.868 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:20.870 +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/04 10:50:20.881 +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/04 10:50:20.883 +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=42.69283ms] [] [2025/04/04 10:50:20.883 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:50:20.884 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.001633ms] [] [2025/04/04 10:50:20.884 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 10:50:20.884 +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/04 10:50:20.886 +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.443983ms] [] [2025/04/04 10:50:20.886 +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/04 10:50:20.889 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:50:20.889 +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.548408ms] [] [2025/04/04 10:50:20.890 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:50:20.890 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=803.153Β΅s] [] [2025/04/04 10:50:20.891 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=58] [takeTime=85.451539ms] [] [2025/04/04 10:50:20.891 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=58] [step=import] [takeTime=85.606108ms] [] [2025/04/04 10:50:20.905 +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/04 10:50:20.906 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:20.907 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:20.907 +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/04 10:50:20.957 +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/04 10:50:20.958 +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/04 10:50:20.958 +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/04 10:50:20.993 +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/04 10:50:21.000 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/04 10:50:21.003 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:21.003 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:21.003 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:21.003 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:21.003 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:21.003 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:21.003 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:21.003 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:21.003 +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/04 10:50:21.003 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:21.003 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:21.003 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:21.005 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:21.005 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:21.005 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:21.005 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:21.005 +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=208.84223ms] [] [2025/04/04 10:50:21.007 +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/04 10:50:21.014 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=59] [step=post-process] [2025/04/04 10:50:21.014 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [2025/04/04 10:50:21.014 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [2025/04/04 10:50:21.014 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [2025/04/04 10:50:21.020 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [takeTime=5.440205ms] [] [2025/04/04 10:50:21.020 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/04 10:50:21.020 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 10:50:21.020 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [weight=30] [2025/04/04 10:50:21.020 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [concurrency=15] [2025/04/04 10:50:21.021 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=224] [physicalTableID=224] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 10:50:21.022 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:21.022 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 10:50:21.022 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [takeTime=7.849613ms] [] [2025/04/04 10:50:21.022 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=59] [takeTime=7.987914ms] [] [2025/04/04 10:50:21.022 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=59] [step=post-process] [takeTime=8.11755ms] [] [2025/04/04 10:50:21.046 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:21.105 +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/04 10:50:21.105 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30] [step=post-process] [state=running] [] [2025/04/04 10:50:21.108 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30] [2025/04/04 10:50:21.140 +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=133.575884ms] [] [2025/04/04 10:50:21.140 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30] [type=ImportInto] [2025/04/04 10:50:21.200 +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.68553251\n# Parse_time: 0.000096736\n# Compile_time: 0.00055419\n# Rewrite_time: 0.000190452\n# Optimize_time: 0.000230531\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC42bXMsIG9wZW46Njc4bnMsIGNsb3NlOjc4Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NC42bXMsIG9wZW46Njc4bnMsIGNsb3NlOjc4Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:21.200 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30] [2025/04/04 10:50:21.206 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:21.206 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30] [2025/04/04 10:50:21.214 +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-04 10:50:21.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:21.214 +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-04 10:50:21.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/04 10:50:21.219 +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-04 10:50:21.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.226 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:21.227 +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/04 10:50:21.242 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=2.076254ms] [gotSchemaVersion=153] [phyTblIDs="[224,226]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:21.247 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=153] [2025/04/04 10:50:21.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=153] ["take time"=11.061492ms] [job="ID:227, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.259 +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/04 10:50:21.264 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=227] [jobType="truncate table"] [2025/04/04 10:50:21.265 +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-04 10:50:21.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.281 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/04 10:50:21.281 +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/04 10:50:21.287 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:21.332 +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/04 10:50:21.350 +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/04 10:50:21.364 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=31] [2025/04/04 10:50:21.364 +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/04 10:50:21.466 +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/04 10:50:21.467 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:21.468 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [2025/04/04 10:50:21.476 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:21.478 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 10:50:21.478 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=61] [2025/04/04 10:50:21.478 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=61] [cost=43.256Β΅s] [2025/04/04 10:50:21.478 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=142.841Β΅s] [] [2025/04/04 10:50:21.479 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:21.479 +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/04 10:50:21.509 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=31] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:21.529 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/04 10:50:21.529 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:21.536 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:21.536 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:21.537 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:21.537 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:21.537 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:21.537 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:21.537 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:21.537 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:21.537 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:21.538 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:21.550 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:21.552 +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/04 10:50:21.552 +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/04 10:50:21.552 +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/04 10:50:21.552 +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/04 10:50:21.552 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=31] [disk-quota=348.5GiB] [2025/04/04 10:50:21.559 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [subtaskID=60] [step=import] [2025/04/04 10:50:21.559 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=60] [2025/04/04 10:50:21.562 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 10:50:21.566 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 10:50:21.566 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=226] [2025/04/04 10:50:21.572 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=31] [mode=Import] [2025/04/04 10:50:21.579 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [2025/04/04 10:50:21.580 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [takeTime=1.008974ms] [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/04 10:50:21.580 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=60] [takeTime=20.927727ms] [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/04 10:50:21.580 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [subtaskID=60] [step=import] [takeTime=21.4959ms] [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/04 10:50:21.581 +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/04 10:50:21.587 +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/04 10:50:21.590 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=31] [2025/04/04 10:50:21.674 +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/04 10:50:21.691 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/04 10:50:21.694 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:21.694 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:21.694 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:21.694 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:21.694 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:21.694 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:21.694 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:21.694 +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/04 10:50:21.694 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:21.694 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:21.694 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:21.694 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:21.696 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:21.696 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:21.696 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:21.696 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:21.696 +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=144.157259ms] [] [2025/04/04 10:50:21.696 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=31] [type=ImportInto] [2025/04/04 10:50:21.770 +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/04 10:50:21.771 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=31] [step=import] [mode=Normal] [2025/04/04 10:50:21.786 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=31] [2025/04/04 10:50:21.866 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=31] [2025/04/04 10:50:21.872 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:21.872 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=31] [2025/04/04 10:50:21.892 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:21.964 +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/04 10:50:21.964 +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.682688214\n# Parse_time: 0.000084317\n# Compile_time: 0.000463875\n# Rewrite_time: 0.00015977\n# Optimize_time: 0.00023536\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4MS45bXMsIG9wZW46NjIzbnMsIGNsb3NlOjcyOG5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2ODEuOW1zLCBvcGVuOjYyM25zLCBjbG9zZTo3MjhucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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.12s) === NAME TestImportInto === RUN TestImportInto/TestGeneratedColumnsAndTSVFile [2025/04/04 10:50:21.976 +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-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:21.976 +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-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 10:50:21.981 +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-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.996 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=172.308Β΅s] [gotSchemaVersion=154] [phyTblIDs="[212]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:22.000 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=154] [2025/04/04 10:50:22.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=154] ["take time"=7.030257ms] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.010 +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-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.022 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=124.188Β΅s] [gotSchemaVersion=155] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:22.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=155] [2025/04/04 10:50:22.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=155] ["take time"=6.566746ms] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.034 +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-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.040 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:22.050 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=122.089Β΅s] [gotSchemaVersion=156] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:22.053 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=156] [2025/04/04 10:50:22.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=156] ["take time"=6.682975ms] [job="ID:228, Type:drop schema, State:done, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.062 +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/04 10:50:22.067 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop schema"] [2025/04/04 10:50:22.068 +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-04 10:50:21.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.083 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/04 10:50:22.083 +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/04 10:50:22.095 +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-04 10:50:22.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:22.095 +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-04 10:50:22.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 10:50:22.101 +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-04 10:50:22.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=705.083Β΅s] [gotSchemaVersion=157] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:22.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=230] [version=157] [2025/04/04 10:50:22.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=157] ["take time"=7.794578ms] [job="ID:230, Type:create schema, State:done, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.129 +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-04 10:50:22.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.138 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=230] [2025/04/04 10:50:22.139 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=157] [cur_db=] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 10:50:22.153 +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-04 10:50:22.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:22.153 +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-04 10:50:22.101 +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/04 10:50:22.159 +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-04 10:50:22.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.163 +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/04 10:50:22.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.768102ms] [gotSchemaVersion=158] [phyTblIDs="[231]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:22.181 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=232] [version=158] [2025/04/04 10:50:22.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=158] ["take time"=8.99095ms] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.194 +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-04 10:50:22.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.205 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=232] [2025/04/04 10:50:22.205 +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/04 10:50:22.212 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:22.264 +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/04 10:50:22.283 +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/04 10:50:22.299 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=32] [2025/04/04 10:50:22.299 +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/04 10:50:22.402 +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/04 10:50:22.403 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:22.404 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [2025/04/04 10:50:22.411 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:22.414 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 10:50:22.414 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 10:50:22.414 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=46.243Β΅s] [2025/04/04 10:50:22.414 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=148.018Β΅s] [] [2025/04/04 10:50:22.414 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:22.415 +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/04 10:50:22.449 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=32] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:22.469 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/04 10:50:22.469 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:22.478 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:22.478 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:22.478 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:22.478 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:22.478 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:22.478 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:22.478 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:22.479 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:22.479 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:22.479 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:22.491 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:22.493 +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/04 10:50:22.493 +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/04 10:50:22.494 +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/04 10:50:22.494 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=32] [disk-quota=348.5GiB] [2025/04/04 10:50:22.494 +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/04 10:50:22.502 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=61] [step=import] [2025/04/04 10:50:22.502 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=61] [2025/04/04 10:50:22.505 +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/04 10:50:22.508 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=32] [mode=Import] [2025/04/04 10:50:22.509 +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/04 10:50:22.509 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 10:50:22.523 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 10:50:22.525 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.101218ms] [encodeDur=370.842Β΅s] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=232.476Β΅s] [type=file] [takeTime=2.289695ms] [] [2025/04/04 10:50:22.526 +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/aa721325-9e21-4d64-9719-f3c26a9d1820.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 10:50:22.526 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 10:50:22.526 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 10:50:22.526 +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/04 10:50:22.528 +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.927161ms] [] [2025/04/04 10:50:22.528 +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/04 10:50:22.528 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=32] [2025/04/04 10:50:22.532 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:22.553 +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/04 10:50:22.554 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:22.555 +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/04 10:50:22.566 +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/04 10:50:22.568 +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=40.205927ms] [] [2025/04/04 10:50:22.568 +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/04 10:50:22.569 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=995.297Β΅s] [] [2025/04/04 10:50:22.569 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 10:50:22.569 +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/04 10:50:22.571 +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.494964ms] [] [2025/04/04 10:50:22.571 +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/04 10:50:22.574 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:50:22.574 +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.558313ms] [] [2025/04/04 10:50:22.575 +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/04 10:50:22.575 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=914.071Β΅s] [] [2025/04/04 10:50:22.576 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=61] [takeTime=73.92455ms] [] [2025/04/04 10:50:22.576 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=61] [step=import] [takeTime=74.069491ms] [] [2025/04/04 10:50:22.606 +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/04 10:50:22.607 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:22.608 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:22.608 +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/04 10:50:22.638 +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/04 10:50:22.639 +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/04 10:50:22.639 +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/04 10:50:22.659 +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/04 10:50:22.666 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/04 10:50:22.668 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:22.669 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:22.669 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:22.669 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:22.669 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:22.669 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:22.669 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:22.669 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:22.669 +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/04 10:50:22.669 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:22.669 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:22.669 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:22.671 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:22.671 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:22.671 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:22.671 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:22.671 +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=177.359995ms] [] [2025/04/04 10:50:22.672 +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/04 10:50:22.680 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=62] [step=post-process] [2025/04/04 10:50:22.680 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [2025/04/04 10:50:22.680 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [2025/04/04 10:50:22.680 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [2025/04/04 10:50:22.682 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:50:22.686 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [takeTime=5.876151ms] [] [2025/04/04 10:50:22.686 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 10:50:22.686 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 10:50:22.686 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [weight=30] [2025/04/04 10:50:22.686 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [concurrency=15] [2025/04/04 10:50:22.688 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:50:22.689 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:22.689 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 10:50:22.689 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [takeTime=8.290038ms] [] [2025/04/04 10:50:22.689 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=62] [takeTime=8.420539ms] [] [2025/04/04 10:50:22.689 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=62] [step=post-process] [takeTime=8.556311ms] [] [2025/04/04 10:50:22.699 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:22.706 +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/04 10:50:22.706 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=32] [step=post-process] [state=running] [] [2025/04/04 10:50:22.709 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=32] [2025/04/04 10:50:22.734 +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=61.712921ms] [] [2025/04/04 10:50:22.734 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=32] [type=ImportInto] [2025/04/04 10:50:22.802 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=32] [2025/04/04 10:50:22.809 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:22.809 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=32] [2025/04/04 10:50:22.832 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:22.900 +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.693928462\n# Parse_time: 0.000121481\n# Compile_time: 0.000941413\n# Rewrite_time: 0.000505947\n# Optimize_time: 0.00023536\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi41bXMsIG9wZW46NzEzbnMsIGNsb3NlOjgzMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi41bXMsIG9wZW46NzEzbnMsIGNsb3NlOjgzMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:22.916 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:22.968 +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/04 10:50:22.987 +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/04 10:50:23.003 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=33] [2025/04/04 10:50:23.003 +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/04 10:50:23.106 +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/04 10:50:23.107 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:23.108 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [2025/04/04 10:50:23.115 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:23.118 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 10:50:23.118 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 10:50:23.118 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=41.541Β΅s] [2025/04/04 10:50:23.118 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=148.23Β΅s] [] [2025/04/04 10:50:23.119 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:23.119 +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/04 10:50:23.158 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=33] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:23.178 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/04 10:50:23.178 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:23.186 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:23.186 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:23.186 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:23.186 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:23.186 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:23.186 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:23.186 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:23.187 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:23.187 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:23.187 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:23.199 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:23.201 +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/04 10:50:23.201 +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/04 10:50:23.201 +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/04 10:50:23.201 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=33] [disk-quota=348.5GiB] [2025/04/04 10:50:23.201 +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/04 10:50:23.210 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=63] [step=import] [2025/04/04 10:50:23.210 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=63] [2025/04/04 10:50:23.213 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=33] [mode=Import] [2025/04/04 10:50:23.215 +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/04 10:50:23.220 +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/04 10:50:23.220 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 10:50:23.233 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 10:50:23.234 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=33] [2025/04/04 10:50:23.235 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=829.97Β΅s] [encodeDur=264.242Β΅s] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=237.57Β΅s] [type=file] [takeTime=1.624481ms] [] [2025/04/04 10:50:23.236 +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/4a6c586f-6810-43c1-bfa2-b2937b280141.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 10:50:23.236 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 10:50:23.236 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 10:50:23.236 +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/04 10:50:23.238 +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.926704ms] [] [2025/04/04 10:50:23.238 +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/04 10:50:23.242 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:23.263 +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/04 10:50:23.264 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:23.265 +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/04 10:50:23.283 +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/04 10:50:23.286 +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=47.723991ms] [] [2025/04/04 10:50:23.286 +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/04 10:50:23.287 +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.00653ms] [] [2025/04/04 10:50:23.287 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 10:50:23.287 +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/04 10:50:23.288 +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.457906ms] [] [2025/04/04 10:50:23.288 +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/04 10:50:23.292 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:50:23.292 +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.707404ms] [] [2025/04/04 10:50:23.292 +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/04 10:50:23.293 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=919.161Β΅s] [] [2025/04/04 10:50:23.293 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=63] [takeTime=82.719141ms] [] [2025/04/04 10:50:23.293 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=63] [step=import] [takeTime=82.887855ms] [] [2025/04/04 10:50:23.311 +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/04 10:50:23.312 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:23.313 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:23.313 +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/04 10:50:23.342 +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/04 10:50:23.343 +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/04 10:50:23.343 +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/04 10:50:23.377 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:23.384 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/04 10:50:23.387 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:23.387 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:23.387 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:23.387 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:23.387 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:23.387 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:23.387 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:23.387 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:23.387 +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/04 10:50:23.387 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:23.387 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:23.387 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:23.389 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:23.389 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:23.389 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:23.389 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:23.389 +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=187.76009ms] [] [2025/04/04 10:50:23.390 +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/04 10:50:23.397 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=64] [step=post-process] [2025/04/04 10:50:23.397 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [2025/04/04 10:50:23.398 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [2025/04/04 10:50:23.398 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [2025/04/04 10:50:23.401 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [takeTime=3.274872ms] [] [2025/04/04 10:50:23.401 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 10:50:23.401 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 10:50:23.401 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [weight=30] [2025/04/04 10:50:23.401 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [concurrency=15] [2025/04/04 10:50:23.403 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:50:23.403 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:23.403 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 10:50:23.403 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [takeTime=5.754565ms] [] [2025/04/04 10:50:23.403 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=64] [takeTime=5.906547ms] [] [2025/04/04 10:50:23.403 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=64] [step=post-process] [takeTime=6.092354ms] [] [2025/04/04 10:50:23.416 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:23.510 +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/04 10:50:23.511 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=33] [step=post-process] [state=running] [] [2025/04/04 10:50:23.513 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=33] [2025/04/04 10:50:23.541 +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=151.146355ms] [] [2025/04/04 10:50:23.542 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=33] [type=ImportInto] [2025/04/04 10:50:23.604 +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.694720334\n# Parse_time: 0.000131266\n# Compile_time: 0.000840077\n# Rewrite_time: 0.000423675\n# Optimize_time: 0.000317453\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5My41bXMsIG9wZW46NzQ0bnMsIGNsb3NlOjczOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5My41bXMsIG9wZW46NzQ0bnMsIGNsb3NlOjczOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:23.605 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=33] [2025/04/04 10:50:23.611 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:23.611 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=33] [2025/04/04 10:50:23.626 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:23.641 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:23.681 +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/04 10:50:23.700 +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/04 10:50:23.716 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=34] [2025/04/04 10:50:23.716 +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/04 10:50:23.818 +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/04 10:50:23.819 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:23.820 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [2025/04/04 10:50:23.829 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:23.831 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 10:50:23.831 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 10:50:23.831 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=54.625Β΅s] [2025/04/04 10:50:23.831 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=177.085Β΅s] [] [2025/04/04 10:50:23.831 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:23.831 +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/04 10:50:23.868 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=34] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:23.888 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/04 10:50:23.889 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:23.897 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:23.897 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:23.898 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:23.898 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:23.898 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:23.898 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:23.898 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:23.898 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:23.899 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:23.899 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:23.912 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:23.913 +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/04 10:50:23.913 +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/04 10:50:23.913 +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/04 10:50:23.914 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=34] [disk-quota=348.5GiB] [2025/04/04 10:50:23.914 +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/04 10:50:23.921 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=65] [step=import] [2025/04/04 10:50:23.921 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=65] [2025/04/04 10:50:23.925 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=34] [mode=Import] [2025/04/04 10:50:23.925 +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/04 10:50:23.929 +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/04 10:50:23.929 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 10:50:23.954 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=34] [2025/04/04 10:50:23.967 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 10:50:23.969 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=997.309Β΅s] [encodeDur=249.24Β΅s] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=262.218Β΅s] [type=file] [takeTime=1.750615ms] [] [2025/04/04 10:50:23.970 +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/a028d0d5-c65b-4a73-9af1-4b628e1ce6a5.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 10:50:23.970 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 10:50:23.970 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 10:50:23.970 +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/04 10:50:23.972 +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.205464ms] [] [2025/04/04 10:50:23.972 +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/04 10:50:23.977 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:23.998 +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/04 10:50:23.998 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:24.000 +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/04 10:50:24.015 +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/04 10:50:24.016 +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=43.963624ms] [] [2025/04/04 10:50:24.016 +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/04 10:50:24.018 +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.064369ms] [] [2025/04/04 10:50:24.018 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 10:50:24.018 +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/04 10:50:24.019 +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.539545ms] [] [2025/04/04 10:50:24.019 +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/04 10:50:24.023 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 10:50:24.023 +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.78238ms] [] [2025/04/04 10:50:24.023 +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/04 10:50:24.024 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=937.342Β΅s] [] [2025/04/04 10:50:24.024 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=65] [takeTime=102.965083ms] [] [2025/04/04 10:50:24.024 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=65] [step=import] [takeTime=103.10943ms] [] [2025/04/04 10:50:24.161 +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/04 10:50:24.162 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:24.163 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:24.163 +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/04 10:50:24.196 +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/04 10:50:24.198 +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/04 10:50:24.198 +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/04 10:50:24.232 +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/04 10:50:24.238 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/04 10:50:24.241 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:24.241 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:24.241 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:24.241 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:24.242 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:24.241 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:24.242 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:24.242 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:24.242 +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/04 10:50:24.242 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:24.242 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:24.242 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:24.245 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:24.245 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:24.245 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:24.245 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:24.245 +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=331.791926ms] [] [2025/04/04 10:50:24.247 +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/04 10:50:24.254 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=66] [step=post-process] [2025/04/04 10:50:24.254 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [2025/04/04 10:50:24.255 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [2025/04/04 10:50:24.255 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [2025/04/04 10:50:24.258 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [takeTime=3.306439ms] [] [2025/04/04 10:50:24.258 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 10:50:24.258 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 10:50:24.258 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [weight=30] [2025/04/04 10:50:24.258 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [concurrency=15] [2025/04/04 10:50:24.260 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:50:24.261 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:24.261 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 10:50:24.261 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [takeTime=6.024971ms] [] [2025/04/04 10:50:24.261 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=66] [takeTime=6.183192ms] [] [2025/04/04 10:50:24.261 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=66] [step=post-process] [takeTime=6.300816ms] [] [2025/04/04 10:50:24.286 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:24.323 +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/04 10:50:24.323 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=34] [step=post-process] [state=running] [] [2025/04/04 10:50:24.326 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=34] [2025/04/04 10:50:24.342 +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=95.388885ms] [] [2025/04/04 10:50:24.342 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=34] [type=ImportInto] [2025/04/04 10:50:24.418 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=34] [2025/04/04 10:50:24.424 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:24.424 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=34] [2025/04/04 10:50:24.445 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:24.624 +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.01126546\n# Parse_time: 0.000109197\n# Compile_time: 0.000685311\n# Rewrite_time: 0.000371086\n# Optimize_time: 0.000224452\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDFzLCBvcGVuOjcxMG5zLCBjbG9zZTo1MTZucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDFzLCBvcGVuOjcxMG5zLCBjbG9zZTo1MTZucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:24.640 +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-04 10:50:24.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.640 +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-04 10:50:24.601 +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/04 10:50:24.646 +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-04 10:50:24.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.650 +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/04 10:50:24.666 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.58922ms] [gotSchemaVersion=159] [phyTblIDs="[233]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:24.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=159] [2025/04/04 10:50:24.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=159] ["take time"=9.034041ms] [job="ID:234, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.682 +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-04 10:50:24.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.694 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/04 10:50:24.694 +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/04 10:50:24.700 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:24.752 +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/04 10:50:24.772 +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/04 10:50:24.788 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=35] [2025/04/04 10:50:24.788 +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/04 10:50:24.891 +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/04 10:50:24.892 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:24.893 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [2025/04/04 10:50:24.902 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:24.905 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 10:50:24.905 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 10:50:24.905 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=56.411Β΅s] [2025/04/04 10:50:24.905 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=166.827Β΅s] [] [2025/04/04 10:50:24.905 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:24.905 +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/04 10:50:24.940 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=35] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:24.960 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/04 10:50:24.960 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:24.969 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:24.969 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:24.969 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:24.969 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:24.969 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:24.969 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:24.969 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:24.970 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:24.970 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:24.970 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:24.983 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:24.985 +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/04 10:50:24.985 +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/04 10:50:24.985 +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/04 10:50:24.985 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=35] [disk-quota=348.5GiB] [2025/04/04 10:50:24.985 +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/04 10:50:24.993 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=67] [step=import] [2025/04/04 10:50:24.993 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=67] [2025/04/04 10:50:24.996 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=35] [mode=Import] [2025/04/04 10:50:24.996 +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/04 10:50:25.000 +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/04 10:50:25.000 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 10:50:25.014 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/04 10:50:25.016 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=1.148086ms] [encodeDur=246.423Β΅s] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [deliverDur=316.289Β΅s] [type=file] [takeTime=2.020205ms] [] [2025/04/04 10:50:25.016 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=35] [2025/04/04 10:50:25.017 +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/9ba16897-0b4b-437d-a06b-0a3629a7ec25.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 10:50:25.017 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 10:50:25.017 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 10:50:25.017 +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/04 10:50:25.019 +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=1.923012ms] [] [2025/04/04 10:50:25.019 +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/04 10:50:25.023 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:25.045 +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/04 10:50:25.045 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:25.047 +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/04 10:50:25.058 +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/04 10:50:25.060 +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=40.474191ms] [] [2025/04/04 10:50:25.060 +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/04 10:50:25.061 +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.104118ms] [] [2025/04/04 10:50:25.061 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 10:50:25.061 +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/04 10:50:25.063 +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.65718ms] [] [2025/04/04 10:50:25.063 +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/04 10:50:25.066 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:50:25.066 +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.545508ms] [] [2025/04/04 10:50:25.066 +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/04 10:50:25.067 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=953.511Β΅s] [] [2025/04/04 10:50:25.067 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=67] [takeTime=74.705317ms] [] [2025/04/04 10:50:25.068 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=67] [step=import] [takeTime=74.850376ms] [] [2025/04/04 10:50:25.095 +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/04 10:50:25.096 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:25.097 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:25.097 +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/04 10:50:25.126 +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/04 10:50:25.127 +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/04 10:50:25.127 +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/04 10:50:25.149 +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/04 10:50:25.155 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/04 10:50:25.158 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:25.158 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:25.158 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:25.158 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:25.158 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:25.158 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:25.158 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:25.158 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:25.158 +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/04 10:50:25.158 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:25.158 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:25.158 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:25.160 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:25.160 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:25.160 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:25.160 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:25.160 +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=175.656712ms] [] [2025/04/04 10:50:25.162 +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/04 10:50:25.169 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=68] [step=post-process] [2025/04/04 10:50:25.169 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [2025/04/04 10:50:25.169 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [2025/04/04 10:50:25.169 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [2025/04/04 10:50:25.175 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [takeTime=5.375645ms] [] [2025/04/04 10:50:25.175 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [groupId=-1] [size=58] [kvs=2] [checksum=12236948213998824982] [2025/04/04 10:50:25.175 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [2025/04/04 10:50:25.175 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [weight=30] [2025/04/04 10:50:25.175 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [concurrency=15] [2025/04/04 10:50:25.177 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=12236948213998824982] [totalKvs=2] [totalBytes=58] [2025/04/04 10:50:25.177 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:25.177 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [local="{cksum=12236948213998824982,size=58,kvs=2}"] [2025/04/04 10:50:25.177 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [takeTime=7.783518ms] [] [2025/04/04 10:50:25.177 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=68] [takeTime=7.915586ms] [] [2025/04/04 10:50:25.177 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=68] [step=post-process] [takeTime=8.047666ms] [] [2025/04/04 10:50:25.189 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:25.195 +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/04 10:50:25.195 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=35] [step=post-process] [state=running] [] [2025/04/04 10:50:25.198 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=35] [2025/04/04 10:50:25.223 +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=61.405746ms] [] [2025/04/04 10:50:25.223 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=35] [type=ImportInto] [2025/04/04 10:50:25.291 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=35] [2025/04/04 10:50:25.297 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:25.297 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=35] [2025/04/04 10:50:25.318 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:25.389 +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.694149826\n# Parse_time: 0.000108134\n# Compile_time: 0.000675502\n# Rewrite_time: 0.000364689\n# Optimize_time: 0.00025343\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5My4xbXMsIG9wZW46Njc3bnMsIGNsb3NlOjgzNm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5My4xbXMsIG9wZW46Njc3bnMsIGNsb3NlOjgzNm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:25.402 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:25.453 +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/04 10:50:25.472 +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/04 10:50:25.487 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=36] [2025/04/04 10:50:25.487 +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/04 10:50:25.590 +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/04 10:50:25.591 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:25.592 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [2025/04/04 10:50:25.600 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:25.603 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 10:50:25.603 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 10:50:25.603 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=44.852Β΅s] [2025/04/04 10:50:25.603 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=132.191Β΅s] [] [2025/04/04 10:50:25.603 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:25.603 +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/04 10:50:25.639 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=36] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:25.660 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/04 10:50:25.660 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:25.669 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:25.669 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:25.669 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:25.670 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:25.670 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:25.670 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:25.670 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:25.670 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:25.670 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:25.671 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:25.684 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:25.685 +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/04 10:50:25.685 +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/04 10:50:25.686 +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/04 10:50:25.686 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=36] [disk-quota=348.5GiB] [2025/04/04 10:50:25.686 +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/04 10:50:25.693 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=69] [step=import] [2025/04/04 10:50:25.694 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=69] [2025/04/04 10:50:25.697 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=36] [mode=Import] [2025/04/04 10:50:25.697 +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/04 10:50:25.701 +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/04 10:50:25.701 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 10:50:25.714 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/04 10:50:25.716 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=806.71Β΅s] [encodeDur=444.267Β΅s] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=193.458Β΅s] [type=file] [takeTime=1.720572ms] [] [2025/04/04 10:50:25.716 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=36] [2025/04/04 10:50:25.716 +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/39648a19-80a8-42d7-8ad7-667fc359a95e.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 10:50:25.716 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 10:50:25.717 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 10:50:25.717 +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/04 10:50:25.719 +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=1.96157ms] [] [2025/04/04 10:50:25.719 +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/04 10:50:25.723 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:25.744 +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/04 10:50:25.745 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:25.746 +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/04 10:50:25.761 +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/04 10:50:25.763 +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=44.135915ms] [] [2025/04/04 10:50:25.763 +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/04 10:50:25.764 +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.1012ms] [] [2025/04/04 10:50:25.764 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 10:50:25.764 +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/04 10:50:25.766 +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.568604ms] [] [2025/04/04 10:50:25.766 +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/04 10:50:25.770 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:50:25.770 +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.815407ms] [] [2025/04/04 10:50:25.770 +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/04 10:50:25.771 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=953.779Β΅s] [] [2025/04/04 10:50:25.771 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=69] [takeTime=77.430991ms] [] [2025/04/04 10:50:25.771 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=69] [step=import] [takeTime=77.584547ms] [] [2025/04/04 10:50:25.794 +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/04 10:50:25.795 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:25.796 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:25.796 +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/04 10:50:25.825 +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/04 10:50:25.826 +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/04 10:50:25.826 +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/04 10:50:25.861 +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/04 10:50:25.867 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/04 10:50:25.870 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:25.870 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:25.870 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:25.870 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:25.870 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:25.870 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:25.870 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:25.870 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:25.870 +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/04 10:50:25.870 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:25.870 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:25.870 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:25.873 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:25.873 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:25.873 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:25.873 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:25.873 +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=187.284602ms] [] [2025/04/04 10:50:25.874 +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/04 10:50:25.881 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=70] [step=post-process] [2025/04/04 10:50:25.881 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [2025/04/04 10:50:25.882 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [2025/04/04 10:50:25.882 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [2025/04/04 10:50:25.885 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [takeTime=3.329288ms] [] [2025/04/04 10:50:25.885 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 10:50:25.885 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 10:50:25.885 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [weight=30] [2025/04/04 10:50:25.885 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [concurrency=15] [2025/04/04 10:50:25.887 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:50:25.887 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:25.887 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 10:50:25.888 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [takeTime=5.96756ms] [] [2025/04/04 10:50:25.888 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=70] [takeTime=6.170726ms] [] [2025/04/04 10:50:25.888 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=70] [step=post-process] [takeTime=6.344636ms] [] [2025/04/04 10:50:25.906 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:25.994 +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/04 10:50:25.994 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=36] [step=post-process] [state=running] [] [2025/04/04 10:50:25.997 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=36] [2025/04/04 10:50:26.025 +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=151.249761ms] [] [2025/04/04 10:50:26.026 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=36] [type=ImportInto] [2025/04/04 10:50:26.089 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=36] [2025/04/04 10:50:26.090 +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.693039568\n# Parse_time: 0.000111178\n# Compile_time: 0.000650665\n# Rewrite_time: 0.000330685\n# Optimize_time: 0.000241668\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mm1zLCBvcGVuOjcwOW5zLCBjbG9zZTo4MDFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjY5Mm1zLCBvcGVuOjcwOW5zLCBjbG9zZTo4MDFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:26.095 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:26.095 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=36] [2025/04/04 10:50:26.111 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:26.124 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:26.159 +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/04 10:50:26.178 +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/04 10:50:26.193 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=37] [2025/04/04 10:50:26.193 +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/04 10:50:26.296 +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/04 10:50:26.297 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:26.298 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [2025/04/04 10:50:26.305 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:26.308 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 10:50:26.308 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 10:50:26.308 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=47.579Β΅s] [2025/04/04 10:50:26.308 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=137.61Β΅s] [] [2025/04/04 10:50:26.308 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:26.308 +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/04 10:50:26.338 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=37] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:26.358 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/04 10:50:26.358 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:26.366 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:26.366 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:26.366 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:26.366 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:26.367 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:26.367 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:26.367 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:26.367 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:26.367 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:26.367 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:26.380 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:26.382 +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/04 10:50:26.382 +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/04 10:50:26.382 +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/04 10:50:26.382 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=37] [disk-quota=348.5GiB] [2025/04/04 10:50:26.383 +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/04 10:50:26.391 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=71] [step=import] [2025/04/04 10:50:26.392 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=71] [2025/04/04 10:50:26.395 +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/04 10:50:26.399 +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/04 10:50:26.399 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 10:50:26.402 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=37] [mode=Import] [2025/04/04 10:50:26.412 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/04 10:50:26.413 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=869.067Β΅s] [encodeDur=349.684Β΅s] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=209.584Β΅s] [type=file] [takeTime=1.668535ms] [] [2025/04/04 10:50:26.414 +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/3edf616a-1f5b-4a81-ac64-e29447e3f0ff.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 10:50:26.414 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 10:50:26.414 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 10:50:26.414 +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/04 10:50:26.416 +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=1.973831ms] [] [2025/04/04 10:50:26.417 +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/04 10:50:26.421 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:26.421 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=37] [2025/04/04 10:50:26.442 +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/04 10:50:26.442 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:26.444 +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/04 10:50:26.458 +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/04 10:50:26.460 +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=43.363725ms] [] [2025/04/04 10:50:26.460 +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/04 10:50:26.461 +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.092981ms] [] [2025/04/04 10:50:26.461 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 10:50:26.461 +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/04 10:50:26.463 +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.615478ms] [] [2025/04/04 10:50:26.463 +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/04 10:50:26.467 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 10:50:26.467 +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.644599ms] [] [2025/04/04 10:50:26.467 +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/04 10:50:26.468 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=858.828Β΅s] [] [2025/04/04 10:50:26.468 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=71] [takeTime=76.12796ms] [] [2025/04/04 10:50:26.468 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=71] [step=import] [takeTime=76.284511ms] [] [2025/04/04 10:50:26.500 +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/04 10:50:26.501 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:26.502 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:26.502 +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/04 10:50:26.533 +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/04 10:50:26.534 +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/04 10:50:26.534 +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/04 10:50:26.571 +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/04 10:50:26.578 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/04 10:50:26.580 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:26.580 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:26.580 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:26.580 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:26.580 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:26.580 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:26.580 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:26.580 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:26.580 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:26.580 +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/04 10:50:26.581 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:26.581 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:26.583 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:26.583 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:26.583 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:26.583 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:26.583 +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=200.298528ms] [] [2025/04/04 10:50:26.584 +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/04 10:50:26.592 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=72] [step=post-process] [2025/04/04 10:50:26.592 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [2025/04/04 10:50:26.592 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [2025/04/04 10:50:26.592 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [2025/04/04 10:50:26.595 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [takeTime=3.160594ms] [] [2025/04/04 10:50:26.595 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 10:50:26.595 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:50:26.595 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [weight=30] [2025/04/04 10:50:26.595 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [concurrency=15] [2025/04/04 10:50:26.597 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:50:26.597 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:26.597 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:50:26.597 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [takeTime=5.505867ms] [] [2025/04/04 10:50:26.597 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=72] [takeTime=5.633434ms] [] [2025/04/04 10:50:26.597 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=72] [step=post-process] [takeTime=5.770827ms] [] [2025/04/04 10:50:26.622 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:26.699 +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/04 10:50:26.700 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=37] [step=post-process] [state=running] [] [2025/04/04 10:50:26.702 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=37] [2025/04/04 10:50:26.733 +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=148.669894ms] [] [2025/04/04 10:50:26.733 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=37] [type=ImportInto] [2025/04/04 10:50:26.795 +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.69706799\n# Parse_time: 0.000104514\n# Compile_time: 0.000690659\n# Rewrite_time: 0.000357224\n# Optimize_time: 0.000234269\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Nm1zLCBvcGVuOjg2NG5zLCBjbG9zZTo3ODJucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjY5Nm1zLCBvcGVuOjg2NG5zLCBjbG9zZTo3ODJucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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' ';"] [2025/04/04 10:50:26.795 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=37] --- PASS: TestImportInto/TestGeneratedColumnsAndTSVFile (4.83s) === NAME TestImportInto === RUN TestImportInto/TestIgnoreNLines [2025/04/04 10:50:26.800 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:26.800 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=37] [2025/04/04 10:50:26.811 +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-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.811 +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-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:50:26.816 +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-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.821 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:26.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=157.86Β΅s] [gotSchemaVersion=160] [phyTblIDs="[204]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:26.836 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=160] [2025/04/04 10:50:26.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=160] ["take time"=7.614584ms] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.847 +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-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.860 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=137.985Β΅s] [gotSchemaVersion=161] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:26.864 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=161] [2025/04/04 10:50:26.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=161] ["take time"=6.980411ms] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.874 +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-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.879 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:26.889 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=147.05Β΅s] [gotSchemaVersion=162] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:26.893 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=162] [2025/04/04 10:50:26.895 +00:00] [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.454937ms] [job="ID:235, Type:drop schema, State:done, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.904 +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/04 10:50:26.909 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop schema"] [2025/04/04 10:50:26.910 +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-04 10:50:26.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.927 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=235] [2025/04/04 10:50:26.927 +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/04 10:50:26.940 +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-04 10:50:26.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.940 +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-04 10:50:26.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:50:26.946 +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-04 10:50:26.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=763.384Β΅s] [gotSchemaVersion=163] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:26.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=163] [2025/04/04 10:50:26.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=163] ["take time"=8.386504ms] [job="ID:237, Type:create schema, State:done, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.977 +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-04 10:50:26.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.987 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/04 10:50:26.987 +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/04 10:50:26.989 +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/04 10:50:27.002 +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-04 10:50:26.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:27.002 +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-04 10:50:26.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:50:27.008 +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-04 10:50:26.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.013 +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/04 10:50:27.030 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.72659ms] [gotSchemaVersion=164] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:27.033 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=164] [2025/04/04 10:50:27.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=164] ["take time"=9.55333ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.047 +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-04 10:50:26.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.058 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/04 10:50:27.058 +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/04 10:50:27.064 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:27.117 +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/04 10:50:27.137 +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/04 10:50:27.153 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=38] [2025/04/04 10:50:27.154 +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/04 10:50:27.256 +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/04 10:50:27.257 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:27.258 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [2025/04/04 10:50:27.266 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:27.268 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:27.268 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 10:50:27.269 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=52.307Β΅s] [2025/04/04 10:50:27.269 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=152.481Β΅s] [] [2025/04/04 10:50:27.269 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:27.269 +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/04 10:50:27.309 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=38] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:27.329 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/04 10:50:27.330 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:27.337 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:27.338 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:27.338 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:27.338 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:27.338 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:27.338 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:27.338 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:27.338 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:27.339 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:27.339 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:27.351 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:27.353 +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/04 10:50:27.353 +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/04 10:50:27.353 +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/04 10:50:27.353 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=38] [disk-quota=348.5GiB] [2025/04/04 10:50:27.353 +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/04 10:50:27.361 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=73] [step=import] [2025/04/04 10:50:27.361 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=73] [2025/04/04 10:50:27.364 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=38] [mode=Import] [2025/04/04 10:50:27.364 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:27.368 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:27.368 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/04 10:50:27.382 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [2025/04/04 10:50:27.383 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [readDur=851.376Β΅s] [encodeDur=301.48Β΅s] [checksum="{cksum=12736467198054628245,size=164,kvs=4}"] [deliverDur=252.797Β΅s] [type=file] [takeTime=1.701501ms] [] [2025/04/04 10:50:27.384 +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/357249a0-f1f7-44cc-8197-2f383efd4e4e.sst] [firstKey=7480000000000000EE5F728000000000000001] [lastKey=7480000000000000EE5F728000000000000004] [2025/04/04 10:50:27.384 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/04 10:50:27.389 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=38] [2025/04/04 10:50:27.398 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [2025/04/04 10:50:27.400 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [readDur=949.215Β΅s] [encodeDur=299.238Β΅s] [checksum="{cksum=17165499041007397678,size=205,kvs=5}"] [deliverDur=235.123Β΅s] [type=file] [takeTime=1.76814ms] [] [2025/04/04 10:50:27.400 +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/d019b4b8-a409-4120-9dd5-7790e9b4b32c.sst] [firstKey=7480000000000000EE5F72800000000000000F] [lastKey=7480000000000000EE5F728000000000000013] [2025/04/04 10:50:27.400 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 10:50:27.401 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 10:50:27.401 +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/04 10:50:27.403 +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.071079ms] [] [2025/04/04 10:50:27.403 +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/04 10:50:27.407 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:27.430 +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/04 10:50:27.430 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:27.431 +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/04 10:50:27.443 +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/04 10:50:27.445 +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=42.016582ms] [] [2025/04/04 10:50:27.445 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:27.446 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.022709ms] [] [2025/04/04 10:50:27.446 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 10:50:27.446 +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/04 10:50:27.448 +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.430455ms] [] [2025/04/04 10:50:27.448 +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/04 10:50:27.451 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:27.451 +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.577776ms] [] [2025/04/04 10:50:27.451 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:27.452 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=892.843Β΅s] [] [2025/04/04 10:50:27.452 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=73] [takeTime=91.593246ms] [] [2025/04/04 10:50:27.453 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=73] [step=import] [takeTime=92.067071ms] [] [2025/04/04 10:50:27.561 +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/04 10:50:27.563 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:27.564 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:27.564 +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/04 10:50:27.592 +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/04 10:50:27.594 +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/04 10:50:27.594 +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/04 10:50:27.595 +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/04 10:50:27.596 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/04 10:50:27.598 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:27.598 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:27.598 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:27.598 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:27.598 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:27.598 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:27.598 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:27.598 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:27.598 +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/04 10:50:27.598 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:27.598 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:27.599 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:27.601 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:27.601 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:27.601 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:27.601 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:27.601 +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=247.601449ms] [] [2025/04/04 10:50:27.601 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=38] [type=ImportInto] [2025/04/04 10:50:27.627 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=38] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:27.647 +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/04 10:50:27.654 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=74] [step=post-process] [2025/04/04 10:50:27.654 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [2025/04/04 10:50:27.654 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [2025/04/04 10:50:27.654 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [2025/04/04 10:50:27.660 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [takeTime=5.057101ms] [] [2025/04/04 10:50:27.660 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [groupId=-1] [size=369] [kvs=9] [checksum=6843535201192644795] [2025/04/04 10:50:27.660 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [checksum="{cksum=6843535201192644795,size=369,kvs=9}"] [2025/04/04 10:50:27.660 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [weight=30] [2025/04/04 10:50:27.660 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [concurrency=15] [2025/04/04 10:50:27.661 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=238] [physicalTableID=238] [indexID=-1] [checksum=6843535201192644795] [totalKvs=9] [totalBytes=369] [2025/04/04 10:50:27.662 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:27.662 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [local="{cksum=6843535201192644795,size=369,kvs=9}"] [2025/04/04 10:50:27.662 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [takeTime=7.569244ms] [] [2025/04/04 10:50:27.662 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=74] [takeTime=7.715506ms] [] [2025/04/04 10:50:27.662 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=74] [step=post-process] [takeTime=7.862741ms] [] [2025/04/04 10:50:27.682 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:27.761 +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/04 10:50:27.761 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=38] [step=post-process] [state=running] [] [2025/04/04 10:50:27.763 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=38] [2025/04/04 10:50:27.778 +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=130.752661ms] [] [2025/04/04 10:50:27.778 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=38] [type=ImportInto] [2025/04/04 10:50:27.856 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=38] [2025/04/04 10:50:27.861 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:27.861 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=38] [2025/04/04 10:50:27.882 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:28.053 +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.994717312\n# Parse_time: 0.000090557\n# Compile_time: 0.000503865\n# Rewrite_time: 0.000166992\n# Optimize_time: 0.000244484\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5My44bXMsIG9wZW46NzMzbnMsIGNsb3NlOjczOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5My44bXMsIG9wZW46NzMzbnMsIGNsb3NlOjczOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:28.067 +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-04 10:50:28.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:28.067 +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-04 10:50:28.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:50:28.072 +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-04 10:50:28.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:28.079 +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/04 10:50:28.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.559093ms] [gotSchemaVersion=165] [phyTblIDs="[238,240]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:28.098 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=165] [2025/04/04 10:50:28.100 +00:00] [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.677041ms] [job="ID:241, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:28.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:28.110 +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/04 10:50:28.114 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=241] [jobType="truncate table"] [2025/04/04 10:50:28.115 +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-04 10:50:28.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:28.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=241] [2025/04/04 10:50:28.132 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=165] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:50:28.138 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:28.191 +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/04 10:50:28.213 +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/04 10:50:28.228 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=39] [2025/04/04 10:50:28.228 +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/04 10:50:28.332 +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/04 10:50:28.333 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:28.335 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [2025/04/04 10:50:28.343 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:28.345 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:28.345 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 10:50:28.345 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=97.045Β΅s] [2025/04/04 10:50:28.345 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=225.835Β΅s] [] [2025/04/04 10:50:28.346 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:28.346 +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/04 10:50:28.379 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=39] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:28.399 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/04 10:50:28.399 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:28.407 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:28.407 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:28.408 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:28.408 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:28.408 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:28.408 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:28.408 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:28.408 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:28.409 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:28.409 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:28.421 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:28.423 +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/04 10:50:28.423 +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/04 10:50:28.423 +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/04 10:50:28.423 +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/04 10:50:28.423 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=39] [disk-quota=348.5GiB] [2025/04/04 10:50:28.431 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=75] [step=import] [2025/04/04 10:50:28.431 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=75] [2025/04/04 10:50:28.435 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:28.437 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=39] [mode=Import] [2025/04/04 10:50:28.438 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:28.439 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/04 10:50:28.453 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [2025/04/04 10:50:28.455 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [readDur=65.209Β΅s] [encodeDur=567.889Β΅s] [checksum="{cksum=7570671136109282668,size=123,kvs=3}"] [deliverDur=230.259Β΅s] [type=file] [takeTime=1.198698ms] [] [2025/04/04 10:50:28.455 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/04 10:50:28.455 +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/a31c2089-877e-4c3c-b96b-f2631e1e0317.sst] [firstKey=7480000000000000F05F728000000000000001] [lastKey=7480000000000000F05F728000000000000003] [2025/04/04 10:50:28.462 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=39] [2025/04/04 10:50:28.496 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [2025/04/04 10:50:28.497 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [readDur=87.989Β΅s] [encodeDur=390.233Β΅s] [checksum="{cksum=5624564024173586417,size=164,kvs=4}"] [deliverDur=273.334Β΅s] [type=file] [takeTime=1.009875ms] [] [2025/04/04 10:50:28.497 +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/e8de70cc-a80f-4194-8294-53a01cad611c.sst] [firstKey=7480000000000000F05F72800000000000000F] [lastKey=7480000000000000F05F728000000000000012] [2025/04/04 10:50:28.497 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 10:50:28.497 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 10:50:28.498 +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/04 10:50:28.500 +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.087243ms] [] [2025/04/04 10:50:28.500 +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/04 10:50:28.505 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:28.527 +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/04 10:50:28.527 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:28.529 +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/04 10:50:28.541 +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/04 10:50:28.543 +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=42.852203ms] [] [2025/04/04 10:50:28.543 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:28.544 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.321222ms] [] [2025/04/04 10:50:28.544 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 10:50:28.544 +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/04 10:50:28.546 +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.448754ms] [] [2025/04/04 10:50:28.546 +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/04 10:50:28.550 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:28.550 +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.875062ms] [] [2025/04/04 10:50:28.550 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:28.551 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=960.643Β΅s] [] [2025/04/04 10:50:28.551 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=75] [takeTime=119.596014ms] [] [2025/04/04 10:50:28.551 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=75] [step=import] [takeTime=119.768244ms] [] [2025/04/04 10:50:28.636 +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/04 10:50:28.637 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:28.638 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:28.638 +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/04 10:50:28.667 +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/04 10:50:28.669 +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/04 10:50:28.669 +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/04 10:50:28.691 +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/04 10:50:28.697 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/04 10:50:28.700 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:28.700 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:28.700 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:28.700 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:28.700 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:28.700 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:28.700 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:28.700 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:28.700 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:28.700 +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/04 10:50:28.700 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:28.700 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:28.702 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:28.702 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:28.702 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:28.702 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:28.702 +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=279.098616ms] [] [2025/04/04 10:50:28.704 +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/04 10:50:28.711 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=76] [step=post-process] [2025/04/04 10:50:28.711 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [2025/04/04 10:50:28.711 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [2025/04/04 10:50:28.711 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [2025/04/04 10:50:28.716 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [takeTime=5.093707ms] [] [2025/04/04 10:50:28.716 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [groupId=-1] [size=287] [kvs=7] [checksum=2818719448718254749] [2025/04/04 10:50:28.716 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [checksum="{cksum=2818719448718254749,size=287,kvs=7}"] [2025/04/04 10:50:28.716 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [weight=30] [2025/04/04 10:50:28.716 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [concurrency=15] [2025/04/04 10:50:28.718 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=240] [physicalTableID=240] [indexID=-1] [checksum=2818719448718254749] [totalKvs=7] [totalBytes=287] [2025/04/04 10:50:28.718 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:28.718 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [local="{cksum=2818719448718254749,size=287,kvs=7}"] [2025/04/04 10:50:28.718 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [takeTime=7.368898ms] [] [2025/04/04 10:50:28.718 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=76] [takeTime=7.506989ms] [] [2025/04/04 10:50:28.718 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=76] [step=post-process] [takeTime=7.619041ms] [] [2025/04/04 10:50:28.726 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:28.735 +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/04 10:50:28.735 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=39] [step=post-process] [state=running] [] [2025/04/04 10:50:28.738 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=39] [2025/04/04 10:50:28.762 +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=58.409841ms] [] [2025/04/04 10:50:28.762 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=39] [type=ImportInto] [2025/04/04 10:50:28.828 +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.69526282\n# Parse_time: 0.000098413\n# Compile_time: 0.000495021\n# Rewrite_time: 0.000157902\n# Optimize_time: 0.000235578\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NC40bXMsIG9wZW46NzY0bnMsIGNsb3NlOjc4MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5NC40bXMsIG9wZW46NzY0bnMsIGNsb3NlOjc4MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:28.830 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=39] [2025/04/04 10:50:28.836 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:28.836 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=39] [2025/04/04 10:50:28.842 +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-04 10:50:28.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:28.842 +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-04 10:50:28.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:50:28.847 +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-04 10:50:28.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:28.854 +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/04 10:50:28.856 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:28.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=1.566945ms] [gotSchemaVersion=166] [phyTblIDs="[240,242]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:28.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=243] [version=166] [2025/04/04 10:50:28.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=166] ["take time"=8.168792ms] [job="ID:243, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:28.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:28.884 +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/04 10:50:28.888 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="truncate table"] [2025/04/04 10:50:28.889 +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-04 10:50:28.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:28.906 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=243] [2025/04/04 10:50:28.907 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=166] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:50:28.912 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:28.956 +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/04 10:50:28.975 +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/04 10:50:28.988 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=40] [2025/04/04 10:50:28.988 +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/04 10:50:29.090 +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/04 10:50:29.092 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:29.093 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [2025/04/04 10:50:29.100 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:29.102 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:29.102 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 10:50:29.102 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=81.616Β΅s] [2025/04/04 10:50:29.102 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=202.783Β΅s] [] [2025/04/04 10:50:29.103 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:29.103 +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/04 10:50:29.139 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=40] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:50:29.161 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/04 10:50:29.161 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:29.169 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:29.169 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:29.170 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:29.170 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:29.170 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:29.170 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:29.170 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:29.170 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:29.170 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:29.171 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:29.183 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:29.186 +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/04 10:50:29.186 +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/04 10:50:29.186 +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/04 10:50:29.186 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=40] [disk-quota=348.5GiB] [2025/04/04 10:50:29.186 +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/04 10:50:29.193 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=77] [step=import] [2025/04/04 10:50:29.194 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=77] [2025/04/04 10:50:29.197 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=40] [mode=Import] [2025/04/04 10:50:29.197 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:29.200 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:29.201 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/04 10:50:29.214 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [2025/04/04 10:50:29.215 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [readDur=52.243Β΅s] [encodeDur=648.427Β΅s] [checksum="{cksum=16041078963605923607,size=41,kvs=1}"] [deliverDur=203.845Β΅s] [type=file] [takeTime=1.212288ms] [] [2025/04/04 10:50:29.216 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/04 10:50:29.216 +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/4f3325b2-a3fc-4fb1-a763-f53a81a21bf1.sst] [firstKey=7480000000000000F25F728000000000000001] [lastKey=7480000000000000F25F728000000000000001] [2025/04/04 10:50:29.219 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=40] [2025/04/04 10:50:29.229 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [2025/04/04 10:50:29.230 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [readDur=72.735Β΅s] [encodeDur=576.567Β΅s] [checksum="{cksum=4333126819455252683,size=82,kvs=2}"] [deliverDur=223.146Β΅s] [type=file] [takeTime=1.041999ms] [] [2025/04/04 10:50:29.231 +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/e5d6b28b-3c20-4fd8-9ca3-4829c7044dc3.sst] [firstKey=7480000000000000F25F72800000000000000F] [lastKey=7480000000000000F25F728000000000000010] [2025/04/04 10:50:29.231 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 10:50:29.231 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 10:50:29.231 +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/04 10:50:29.233 +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.743229ms] [] [2025/04/04 10:50:29.233 +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/04 10:50:29.237 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:29.259 +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/04 10:50:29.259 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:29.261 +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/04 10:50:29.271 +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/04 10:50:29.273 +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.02093ms] [] [2025/04/04 10:50:29.273 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:29.274 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.050095ms] [] [2025/04/04 10:50:29.274 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 10:50:29.274 +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/04 10:50:29.276 +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.411522ms] [] [2025/04/04 10:50:29.276 +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/04 10:50:29.279 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:29.279 +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.472132ms] [] [2025/04/04 10:50:29.279 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:29.280 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=931.268Β΅s] [] [2025/04/04 10:50:29.281 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=77] [takeTime=86.932729ms] [] [2025/04/04 10:50:29.281 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=77] [step=import] [takeTime=87.075265ms] [] [2025/04/04 10:50:29.295 +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/04 10:50:29.296 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:29.297 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:29.297 +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/04 10:50:29.325 +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/04 10:50:29.327 +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/04 10:50:29.327 +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/04 10:50:29.363 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:29.369 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/04 10:50:29.372 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:29.372 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:29.372 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:29.372 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:29.372 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:29.372 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:29.372 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:29.372 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:29.372 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:29.372 +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/04 10:50:29.372 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:29.372 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:29.374 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:29.374 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:29.374 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:29.374 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:29.374 +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=188.007894ms] [] [2025/04/04 10:50:29.375 +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/04 10:50:29.382 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=78] [step=post-process] [2025/04/04 10:50:29.382 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [2025/04/04 10:50:29.382 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [2025/04/04 10:50:29.382 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [2025/04/04 10:50:29.388 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [takeTime=5.167189ms] [] [2025/04/04 10:50:29.388 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [groupId=-1] [size=123] [kvs=3] [checksum=16338786432462217180] [2025/04/04 10:50:29.388 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [checksum="{cksum=16338786432462217180,size=123,kvs=3}"] [2025/04/04 10:50:29.388 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [weight=30] [2025/04/04 10:50:29.388 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [concurrency=15] [2025/04/04 10:50:29.390 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=242] [physicalTableID=242] [indexID=-1] [checksum=16338786432462217180] [totalKvs=3] [totalBytes=123] [2025/04/04 10:50:29.390 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:29.390 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [local="{cksum=16338786432462217180,size=123,kvs=3}"] [2025/04/04 10:50:29.390 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [takeTime=7.572323ms] [] [2025/04/04 10:50:29.390 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=78] [takeTime=7.699764ms] [] [2025/04/04 10:50:29.390 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=78] [step=post-process] [takeTime=7.827114ms] [] [2025/04/04 10:50:29.414 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:29.495 +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/04 10:50:29.495 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=40] [step=post-process] [state=running] [] [2025/04/04 10:50:29.497 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=40] [2025/04/04 10:50:29.523 +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=147.784115ms] [] [2025/04/04 10:50:29.523 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=40] [type=ImportInto] [2025/04/04 10:50:29.590 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=40] [2025/04/04 10:50:29.591 +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.684241915\n# Parse_time: 0.000092415\n# Compile_time: 0.000476172\n# Rewrite_time: 0.000164563\n# Optimize_time: 0.000231519\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My40bXMsIG9wZW46NjQ0bnMsIGNsb3NlOjkzM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4My40bXMsIG9wZW46NjQ0bnMsIGNsb3NlOjkzM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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 (2.80s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoPrivilegePositiveCase [2025/04/04 10:50:29.596 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:29.596 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=40] [2025/04/04 10:50:29.607 +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-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 10:50:29.607 +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-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:29.613 +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-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.617 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:29.629 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=168.255Β΅s] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[2,2,2,2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:29.632 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=167] [2025/04/04 10:50:29.634 +00:00] [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"=7.509622ms] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.643 +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-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.657 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=126.478Β΅s] [gotSchemaVersion=168] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:29.660 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=168] [2025/04/04 10:50:29.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=168] ["take time"=7.603648ms] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.670 +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-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.676 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:29.686 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=138.619Β΅s] [gotSchemaVersion=169] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:29.690 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=169] [2025/04/04 10:50:29.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=169] ["take time"=7.471062ms] [job="ID:244, Type:drop schema, State:done, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.700 +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/04 10:50:29.706 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=244] [jobType="drop schema"] [2025/04/04 10:50:29.707 +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-04 10:50:29.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.722 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=244] [2025/04/04 10:50:29.722 +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/04 10:50:29.734 +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-04 10:50:29.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:29.734 +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-04 10:50:29.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 10:50:29.739 +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-04 10:50:29.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.753 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=646.377Β΅s] [gotSchemaVersion=170] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:29.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=246] [version=170] [2025/04/04 10:50:29.759 +00:00] [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"=7.878457ms] [job="ID:246, Type:create schema, State:done, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:29.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.769 +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-04 10:50:29.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.779 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=246] [2025/04/04 10:50:29.779 +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/04 10:50:29.793 +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-04 10:50:29.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:50:29.793 +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-04 10:50:29.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:29.798 +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-04 10:50:29.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.803 +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/04 10:50:29.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=1.616621ms] [gotSchemaVersion=171] [phyTblIDs="[247]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:29.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=248] [version=171] [2025/04/04 10:50:29.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=171] ["take time"=8.780604ms] [job="ID:248, Type:create table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:29.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.835 +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-04 10:50:29.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:29.847 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=248] [2025/04/04 10:50:29.847 +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/04 10:50:29.905 +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/04 10:50:29.939 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="create user test_import_into@localhost"] [user=root@%] [2025/04/04 10:50:29.979 +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/04 10:50:30.016 +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/04 10:50:30.054 +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/04 10:50:30.092 +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/04 10:50:30.129 +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/04 10:50:30.134 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:30.176 +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/04 10:50:30.194 +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/04 10:50:30.207 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=41] [2025/04/04 10:50:30.207 +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/04 10:50:30.309 +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/04 10:50:30.310 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:30.311 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [2025/04/04 10:50:30.319 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:30.321 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:30.321 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 10:50:30.321 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=41.85Β΅s] [2025/04/04 10:50:30.321 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=126.762Β΅s] [] [2025/04/04 10:50:30.321 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:30.321 +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/04 10:50:30.357 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=41] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:30.376 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/04 10:50:30.376 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:30.383 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:30.384 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:30.384 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:30.384 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:30.384 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:30.384 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:30.384 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:30.384 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:30.385 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:30.385 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:30.396 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:30.398 +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/04 10:50:30.398 +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/04 10:50:30.399 +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/04 10:50:30.399 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=41] [disk-quota=348.5GiB] [2025/04/04 10:50:30.399 +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/04 10:50:30.405 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=79] [step=import] [2025/04/04 10:50:30.405 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=79] [2025/04/04 10:50:30.409 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:30.413 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:30.413 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=247] [2025/04/04 10:50:30.415 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=41] [mode=Import] [2025/04/04 10:50:30.427 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [2025/04/04 10:50:30.428 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [readDur=797.679Β΅s] [encodeDur=530.378Β΅s] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=177.704Β΅s] [type=file] [takeTime=1.70869ms] [] [2025/04/04 10:50:30.429 +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/aba5411c-1b00-4666-b8dd-fd62f7bbd106.sst] [firstKey=7480000000000000F75F728000000000000001] [lastKey=7480000000000000F75F728000000000000002] [2025/04/04 10:50:30.429 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 10:50:30.429 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 10:50:30.429 +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/04 10:50:30.431 +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.90472ms] [] [2025/04/04 10:50:30.431 +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/04 10:50:30.434 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=41] [2025/04/04 10:50:30.435 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:30.457 +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/04 10:50:30.457 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:30.459 +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/04 10:50:30.469 +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/04 10:50:30.471 +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.784209ms] [] [2025/04/04 10:50:30.471 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:30.472 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=965.917Β΅s] [] [2025/04/04 10:50:30.472 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 10:50:30.472 +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/04 10:50:30.474 +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.500072ms] [] [2025/04/04 10:50:30.474 +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/04 10:50:30.478 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:30.478 +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.708314ms] [] [2025/04/04 10:50:30.478 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:30.479 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=828.45Β΅s] [] [2025/04/04 10:50:30.479 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=79] [takeTime=73.208307ms] [] [2025/04/04 10:50:30.479 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=79] [step=import] [takeTime=73.398444ms] [] [2025/04/04 10:50:30.514 +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/04 10:50:30.515 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:30.516 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:30.516 +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/04 10:50:30.544 +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/04 10:50:30.546 +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/04 10:50:30.546 +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/04 10:50:30.566 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:30.572 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/04 10:50:30.575 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:30.575 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:30.575 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:30.575 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:30.575 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:30.575 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:30.575 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:30.575 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:30.575 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:30.575 +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/04 10:50:30.575 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:30.575 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:30.577 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:30.577 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:30.577 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:30.577 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:30.577 +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=178.621188ms] [] [2025/04/04 10:50:30.579 +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/04 10:50:30.586 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=80] [step=post-process] [2025/04/04 10:50:30.586 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [2025/04/04 10:50:30.586 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [2025/04/04 10:50:30.586 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [2025/04/04 10:50:30.592 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [takeTime=5.226432ms] [] [2025/04/04 10:50:30.592 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/04 10:50:30.592 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 10:50:30.592 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [weight=30] [2025/04/04 10:50:30.592 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [concurrency=15] [2025/04/04 10:50:30.593 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=247] [physicalTableID=247] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 10:50:30.594 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:30.594 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 10:50:30.594 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [takeTime=7.591777ms] [] [2025/04/04 10:50:30.594 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=80] [takeTime=7.717634ms] [] [2025/04/04 10:50:30.594 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=80] [step=post-process] [takeTime=7.839632ms] [] [2025/04/04 10:50:30.609 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:30.613 +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/04 10:50:30.613 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=41] [step=post-process] [state=running] [] [2025/04/04 10:50:30.616 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=41] [2025/04/04 10:50:30.637 +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=57.203651ms] [] [2025/04/04 10:50:30.637 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=41] [type=ImportInto] [2025/04/04 10:50:30.710 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=41] [2025/04/04 10:50:30.715 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:30.715 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=41] [2025/04/04 10:50:30.738 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:30.809 +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.679325057\n# Parse_time: 0.000061291\n# Compile_time: 0.000424598\n# Rewrite_time: 0.000133398\n# Optimize_time: 0.000229637\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3OC42bXMsIG9wZW46NTc3bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY3OC42bXMsIG9wZW46NTc3bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:30.812 +00:00] [INFO] [sem.go:79] ["tidb-server is operating with security enhanced mode (SEM) enabled"] [2025/04/04 10:50:30.823 +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-04 10:50:30.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:30.823 +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-04 10:50:30.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:50:30.828 +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-04 10:50:30.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:30.835 +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/04 10:50:30.850 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=1.571557ms] [gotSchemaVersion=172] [phyTblIDs="[247,249]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:30.853 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=172] [2025/04/04 10:50:30.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=172] ["take time"=8.133807ms] [job="ID:250, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:30.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:30.865 +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/04 10:50:30.869 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="truncate table"] [2025/04/04 10:50:30.870 +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-04 10:50:30.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:30.888 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/04 10:50:30.888 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/04 10:50:30.894 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:30.939 +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/04 10:50:30.957 +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/04 10:50:30.969 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=42] [2025/04/04 10:50:30.969 +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/04 10:50:31.072 +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/04 10:50:31.073 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:31.074 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [2025/04/04 10:50:31.081 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:31.083 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:31.083 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 10:50:31.083 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=36.465Β΅s] [2025/04/04 10:50:31.083 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=136.243Β΅s] [] [2025/04/04 10:50:31.083 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:31.083 +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/04 10:50:31.118 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=42] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:31.137 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/04 10:50:31.137 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:31.144 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:31.145 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:31.145 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:31.145 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:31.145 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:31.145 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:31.145 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:31.145 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:31.146 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:31.146 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:31.157 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:31.159 +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/04 10:50:31.159 +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/04 10:50:31.159 +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/04 10:50:31.159 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=42] [disk-quota=348.5GiB] [2025/04/04 10:50:31.159 +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/04 10:50:31.166 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=81] [step=import] [2025/04/04 10:50:31.166 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=81] [2025/04/04 10:50:31.169 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:31.173 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:31.173 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=249] [2025/04/04 10:50:31.178 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=42] [mode=Import] [2025/04/04 10:50:31.186 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [2025/04/04 10:50:31.188 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [readDur=765.112Β΅s] [encodeDur=258.887Β΅s] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=200.678Β΅s] [type=file] [takeTime=1.468474ms] [] [2025/04/04 10:50:31.188 +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/6c58ac9b-7acb-40cb-b4e4-3e83161757b1.sst] [firstKey=7480000000000000F95F728000000000000001] [lastKey=7480000000000000F95F728000000000000002] [2025/04/04 10:50:31.188 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 10:50:31.188 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 10:50:31.188 +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/04 10:50:31.190 +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.905798ms] [] [2025/04/04 10:50:31.190 +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/04 10:50:31.195 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:31.198 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=42] [2025/04/04 10:50:31.216 +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/04 10:50:31.216 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:31.218 +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/04 10:50:31.228 +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/04 10:50:31.229 +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=38.869359ms] [] [2025/04/04 10:50:31.229 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:31.230 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=967.608Β΅s] [] [2025/04/04 10:50:31.231 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 10:50:31.231 +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/04 10:50:31.232 +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.383378ms] [] [2025/04/04 10:50:31.232 +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/04 10:50:31.235 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:31.236 +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.427424ms] [] [2025/04/04 10:50:31.236 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:31.236 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=798.189Β΅s] [] [2025/04/04 10:50:31.237 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=81] [takeTime=70.29603ms] [] [2025/04/04 10:50:31.237 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=81] [step=import] [takeTime=71.263898ms] [] [2025/04/04 10:50:31.276 +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/04 10:50:31.278 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:31.280 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:31.280 +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/04 10:50:31.309 +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/04 10:50:31.310 +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/04 10:50:31.310 +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/04 10:50:31.335 +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/04 10:50:31.341 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/04 10:50:31.344 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:31.344 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:31.344 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:31.344 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:31.344 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:31.344 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:31.344 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:31.344 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:31.344 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:31.344 +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/04 10:50:31.344 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:31.344 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:31.346 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:31.346 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:31.346 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:31.346 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:31.347 +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=187.174019ms] [] [2025/04/04 10:50:31.348 +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/04 10:50:31.355 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=82] [step=post-process] [2025/04/04 10:50:31.355 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [2025/04/04 10:50:31.355 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [2025/04/04 10:50:31.355 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [2025/04/04 10:50:31.360 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [takeTime=5.006262ms] [] [2025/04/04 10:50:31.360 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/04 10:50:31.360 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 10:50:31.360 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [weight=30] [2025/04/04 10:50:31.361 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [concurrency=15] [2025/04/04 10:50:31.362 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=249] [physicalTableID=249] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 10:50:31.363 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:31.363 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 10:50:31.363 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [takeTime=7.43569ms] [] [2025/04/04 10:50:31.363 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=82] [takeTime=7.566291ms] [] [2025/04/04 10:50:31.363 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=82] [step=post-process] [takeTime=7.692007ms] [] [2025/04/04 10:50:31.376 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:31.376 +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/04 10:50:31.376 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=42] [step=post-process] [state=running] [] [2025/04/04 10:50:31.379 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=42] [2025/04/04 10:50:31.405 +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=57.356458ms] [] [2025/04/04 10:50:31.405 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=42] [type=ImportInto] [2025/04/04 10:50:31.472 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=42] [2025/04/04 10:50:31.477 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:31.477 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=42] [2025/04/04 10:50:31.497 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:31.572 +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.683180964\n# Parse_time: 0.000076511\n# Compile_time: 0.000518216\n# Rewrite_time: 0.000148968\n# Optimize_time: 0.000222199\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Mi4zbXMsIG9wZW46OTM5bnMsIGNsb3NlOjcyM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Mi4zbXMsIG9wZW46OTM5bnMsIGNsb3NlOjcyM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:50:31.575 +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/TestImportIntoTestImportIntoPrivilegePositiveCase1454680779/001/file.csv'"] [2025/04/04 10:50:31.610 +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/04 10:50:31.621 +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-04 10:50:31.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:31.621 +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-04 10:50:31.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:50:31.626 +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-04 10:50:31.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:31.633 +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/04 10:50:31.648 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=1.524876ms] [gotSchemaVersion=173] [phyTblIDs="[249,251]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:31.651 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=252] [version=173] [2025/04/04 10:50:31.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=173] ["take time"=8.419118ms] [job="ID:252, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:31.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:31.662 +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/04 10:50:31.666 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=252] [jobType="truncate table"] [2025/04/04 10:50:31.667 +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-04 10:50:31.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:31.685 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=252] [2025/04/04 10:50:31.685 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=173] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/04 10:50:31.730 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase1454680779/001/file.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 10:50:31.730 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:31.730 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 10:50:31.730 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=45.088Β΅s] [2025/04/04 10:50:31.731 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=153.812Β΅s] [] [2025/04/04 10:50:31.749 +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/04 10:50:31.763 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=43] [2025/04/04 10:50:31.763 +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/04 10:50:31.915 +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/04 10:50:31.917 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:31.918 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [2025/04/04 10:50:31.926 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:31.926 +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/04 10:50:31.969 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=43] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:50:31.971 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=43] [mode=Import] [2025/04/04 10:50:31.995 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=43] [2025/04/04 10:50:31.998 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/04 10:50:32.005 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:32.005 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:32.006 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:32.006 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:32.006 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:32.006 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:32.006 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:32.006 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:32.007 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:32.007 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:32.019 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:32.020 +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/04 10:50:32.020 +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/04 10:50:32.020 +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/04 10:50:32.020 +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/04 10:50:32.020 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=43] [disk-quota=348.5GiB] [2025/04/04 10:50:32.028 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=83] [step=import] [2025/04/04 10:50:32.028 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=83] [2025/04/04 10:50:32.031 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:32.035 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:32.035 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=251] [2025/04/04 10:50:32.048 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=251] [key=file.csv:0] [2025/04/04 10:50:32.050 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=251] [key=file.csv:0] [readDur=127.788Β΅s] [encodeDur=996.446Β΅s] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=247.438Β΅s] [type=file] [takeTime=1.744254ms] [] [2025/04/04 10:50:32.051 +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/39369274-efb9-4e28-b5be-6b532b9bb4a6.sst] [firstKey=7480000000000000FB5F728000000000000001] [lastKey=7480000000000000FB5F728000000000000002] [2025/04/04 10:50:32.051 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 10:50:32.051 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 10:50:32.051 +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/04 10:50:32.053 +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.98037ms] [] [2025/04/04 10:50:32.053 +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/04 10:50:32.058 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:32.080 +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/04 10:50:32.080 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:32.081 +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/04 10:50:32.093 +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/04 10:50:32.095 +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.434693ms] [] [2025/04/04 10:50:32.095 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 10:50:32.096 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.156318ms] [] [2025/04/04 10:50:32.096 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 10:50:32.096 +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/04 10:50:32.098 +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.048942ms] [] [2025/04/04 10:50:32.098 +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/04 10:50:32.102 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:32.102 +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.663675ms] [] [2025/04/04 10:50:32.102 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 10:50:32.103 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=877.374Β΅s] [] [2025/04/04 10:50:32.103 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=83] [takeTime=75.492293ms] [] [2025/04/04 10:50:32.103 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=83] [step=import] [takeTime=75.641309ms] [] [2025/04/04 10:50:32.172 +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/04 10:50:32.173 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:32.174 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:32.174 +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/04 10:50:32.204 +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/04 10:50:32.205 +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/04 10:50:32.205 +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/04 10:50:32.241 +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/04 10:50:32.248 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/04 10:50:32.251 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:32.251 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:32.251 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:32.251 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:32.251 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:32.251 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:32.251 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:32.251 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:32.251 +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/04 10:50:32.251 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:32.251 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:32.251 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:32.253 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:32.253 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:32.253 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:32.253 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:32.253 +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=233.024158ms] [] [2025/04/04 10:50:32.255 +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/04 10:50:32.263 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=84] [step=post-process] [2025/04/04 10:50:32.263 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [2025/04/04 10:50:32.263 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [2025/04/04 10:50:32.263 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [2025/04/04 10:50:32.269 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [takeTime=6.124427ms] [] [2025/04/04 10:50:32.269 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/04 10:50:32.269 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 10:50:32.270 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [weight=30] [2025/04/04 10:50:32.270 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [concurrency=15] [2025/04/04 10:50:32.271 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=251] [physicalTableID=251] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 10:50:32.272 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:32.272 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 10:50:32.272 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [takeTime=8.942185ms] [] [2025/04/04 10:50:32.272 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=84] [takeTime=9.116929ms] [] [2025/04/04 10:50:32.272 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=84] [step=post-process] [takeTime=9.299952ms] [] [2025/04/04 10:50:32.297 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:32.370 +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/04 10:50:32.370 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=43] [step=post-process] [state=running] [] [2025/04/04 10:50:32.373 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=43] [2025/04/04 10:50:32.391 +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.060923ms] [] [2025/04/04 10:50:32.391 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=43] [type=ImportInto] [2025/04/04 10:50:32.465 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=43] [2025/04/04 10:50:32.471 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:32.471 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=43] [2025/04/04 10:50:32.493 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:32.666 +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.980552477\n# Parse_time: 0.000068584\n# Compile_time: 0.000447122\n# Rewrite_time: 0.000142186\n# Optimize_time: 0.000230875\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk3OS43bXMsIG9wZW46ODcxbnMsIGNsb3NlOjYyNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk3OS43bXMsIG9wZW46ODcxbnMsIGNsb3NlOjYyNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\nIMPORT INTO `import_into`.`t` FROM '/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase1454680779/001/file.csv';"] --- PASS: TestImportInto/TestImportIntoPrivilegePositiveCase (3.08s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoWithFK [2025/04/04 10:50:32.683 +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-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:32.683 +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-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 10:50:32.688 +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-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.705 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=205.459Β΅s] [gotSchemaVersion=174] [phyTblIDs="[251]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:32.709 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=174] [2025/04/04 10:50:32.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=174] ["take time"=8.989395ms] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.721 +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-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.735 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=135.594Β΅s] [gotSchemaVersion=175] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:32.739 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=175] [2025/04/04 10:50:32.741 +00:00] [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.805091ms] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.749 +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-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.754 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:32.764 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=131.975Β΅s] [gotSchemaVersion=176] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:32.768 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=176] [2025/04/04 10:50:32.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=176] ["take time"=6.836561ms] [job="ID:253, Type:drop schema, State:done, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.778 +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/04 10:50:32.783 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=253] [jobType="drop schema"] [2025/04/04 10:50:32.784 +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-04 10:50:32.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.799 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=253] [2025/04/04 10:50:32.800 +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/04 10:50:32.811 +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-04 10:50:32.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:32.811 +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-04 10:50:32.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 10:50:32.816 +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-04 10:50:32.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=623.123Β΅s] [gotSchemaVersion=177] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:32.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=255] [version=177] [2025/04/04 10:50:32.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=177] ["take time"=7.556288ms] [job="ID:255, Type:create schema, State:done, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.843 +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-04 10:50:32.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.853 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=255] [2025/04/04 10:50:32.853 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=177] [cur_db=] [sql="create database import_into"] [user=root@%] [2025/04/04 10:50:32.865 +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-04 10:50:32.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent (id int primary key);"] [2025/04/04 10:50:32.865 +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-04 10:50:32.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:32.871 +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-04 10:50:32.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.875 +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/04 10:50:32.888 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=1.331352ms] [gotSchemaVersion=178] [phyTblIDs="[256]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:32.891 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=178] [2025/04/04 10:50:32.893 +00:00] [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.281985ms] [job="ID:257, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.903 +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-04 10:50:32.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.913 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/04 10:50:32.914 +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/04 10:50:32.926 +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-04 10:50:32.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:32.926 +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-04 10:50:32.901 +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/04 10:50:32.932 +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-04 10:50:32.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.951 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=2.12715ms] [gotSchemaVersion=179] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:32.955 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=179] [2025/04/04 10:50:32.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=179] ["take time"=10.98478ms] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.968 +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-04 10:50:32.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.973 +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/04 10:50:32.990 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.957245ms] [gotSchemaVersion=180] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:32.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=180] [2025/04/04 10:50:32.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=180] ["take time"=9.73023ms] [job="ID:259, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:33.006 +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-04 10:50:32.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:33.020 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=259] [2025/04/04 10:50:33.020 +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/04 10:50:33.027 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:33.078 +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/04 10:50:33.098 +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/04 10:50:33.114 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=44] [2025/04/04 10:50:33.114 +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/04 10:50:33.217 +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/04 10:50:33.218 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:33.219 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [2025/04/04 10:50:33.227 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:33.230 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=child] [2025/04/04 10:50:33.230 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=child] [before=536870912000] [after=8] [2025/04/04 10:50:33.230 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=child] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=50.766Β΅s] [2025/04/04 10:50:33.230 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=child] [takeTime=157.983Β΅s] [] [2025/04/04 10:50:33.230 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:33.230 +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/04 10:50:33.267 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=44] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:33.287 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/04 10:50:33.287 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:33.295 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:33.295 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:33.295 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:33.295 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:33.296 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:33.296 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:33.296 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:33.296 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:33.296 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:33.296 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:33.308 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:33.309 +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/04 10:50:33.309 +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/04 10:50:33.309 +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/04 10:50:33.310 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=child] [import-id=44] [disk-quota=348.5GiB] [2025/04/04 10:50:33.310 +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/04 10:50:33.317 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=85] [step=import] [2025/04/04 10:50:33.317 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=85] [2025/04/04 10:50:33.321 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 10:50:33.323 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=44] [mode=Import] [2025/04/04 10:50:33.325 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 10:50:33.325 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=258] [2025/04/04 10:50:33.353 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=44] [2025/04/04 10:50:33.354 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=258] [key=child.csv:0] [2025/04/04 10:50:33.356 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=258] [key=child.csv:0] [readDur=1.007966ms] [encodeDur=240.891Β΅s] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [deliverDur=72.703Β΅s] [type=file] [takeTime=1.611886ms] [] [2025/04/04 10:50:33.357 +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/0a13dba4-a0fc-41cc-9d55-37c0cb32aeea.sst] [firstKey=7480000000000001025F728000000000000001] [lastKey=7480000000000001025F728000000000000002] [2025/04/04 10:50:33.357 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 10:50:33.357 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 10:50:33.357 +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/04 10:50:33.359 +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.053118ms] [] [2025/04/04 10:50:33.359 +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/04 10:50:33.364 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:33.385 +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/04 10:50:33.385 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:33.387 +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/04 10:50:33.398 +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/04 10:50:33.399 +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=39.889333ms] [] [2025/04/04 10:50:33.399 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 10:50:33.400 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=1.024645ms] [] [2025/04/04 10:50:33.401 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 10:50:33.401 +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/04 10:50:33.401 +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/c71686ca-3c41-497e-84fe-dc3f496430ec.sst] [firstKey=7480000000000001025F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000001025F698000000000000001038000000000000002038000000000000002] [2025/04/04 10:50:33.403 +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.814983ms] [] [2025/04/04 10:50:33.403 +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/04 10:50:33.408 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:33.430 +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/04 10:50:33.430 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:33.431 +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/04 10:50:33.467 +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/04 10:50:33.469 +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=65.132788ms] [] [2025/04/04 10:50:33.469 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 10:50:33.470 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [takeTime=1.183921ms] [] [2025/04/04 10:50:33.470 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=85] [takeTime=152.955757ms] [] [2025/04/04 10:50:33.470 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=85] [step=import] [takeTime=153.148488ms] [] [2025/04/04 10:50:33.522 +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/04 10:50:33.523 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:33.524 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:33.524 +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/04 10:50:33.555 +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/04 10:50:33.557 +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/04 10:50:33.557 +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/04 10:50:33.593 +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/04 10:50:33.600 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/04 10:50:33.604 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:33.604 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:33.604 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:33.604 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:33.604 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:33.604 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:33.604 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:33.604 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:33.604 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:33.604 +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/04 10:50:33.604 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:33.605 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:33.607 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:33.607 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:33.607 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:33.607 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:33.607 +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=297.372696ms] [] [2025/04/04 10:50:33.608 +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/04 10:50:33.616 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=86] [step=post-process] [2025/04/04 10:50:33.616 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [2025/04/04 10:50:33.616 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [2025/04/04 10:50:33.616 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [2025/04/04 10:50:33.616 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [takeTime=1.736Β΅s] [] [2025/04/04 10:50:33.616 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 10:50:33.616 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [groupId=1] [size=76] [kvs=2] [checksum=16701486629303771758] [2025/04/04 10:50:33.616 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [2025/04/04 10:50:33.617 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [weight=30] [2025/04/04 10:50:33.617 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [concurrency=15] [2025/04/04 10:50:33.622 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 10:50:33.623 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=1] [checksum=16701486629303771758] [totalKvs=2] [totalBytes=76] [2025/04/04 10:50:33.624 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:33.624 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [local="{cksum=13443790654808714275,size=134,kvs=4}"] [2025/04/04 10:50:33.624 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [takeTime=7.577351ms] [] [2025/04/04 10:50:33.624 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=86] [takeTime=7.717123ms] [] [2025/04/04 10:50:33.624 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=86] [step=post-process] [takeTime=7.85364ms] [] [2025/04/04 10:50:33.646 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:33.721 +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/04 10:50:33.721 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=44] [step=post-process] [state=running] [] [2025/04/04 10:50:33.724 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=44] [2025/04/04 10:50:33.744 +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=135.281914ms] [] [2025/04/04 10:50:33.744 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=44] [type=ImportInto] [2025/04/04 10:50:33.817 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=44] [2025/04/04 10:50:33.823 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:33.823 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=44] [2025/04/04 10:50:33.844 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:34.015 +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.994389791\n# Parse_time: 0.00010971\n# Compile_time: 0.000523206\n# Rewrite_time: 0.000153839\n# Optimize_time: 0.000261941\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5My41bXMsIG9wZW46NjMzbnMsIGNsb3NlOjU3NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5My41bXMsIG9wZW46NjMzbnMsIGNsb3NlOjU3NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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.35s) === NAME TestImportInto === RUN TestImportInto/TestImportMode [2025/04/04 10:50:34.030 +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-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:34.030 +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-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 10:50:34.035 +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-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.051 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=157.233Β΅s] [gotSchemaVersion=181] [phyTblIDs="[242]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:34.054 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=181] [2025/04/04 10:50:34.056 +00:00] [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"=6.925341ms] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.065 +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-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.077 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=132.16Β΅s] [gotSchemaVersion=182] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:34.080 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=182] [2025/04/04 10:50:34.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=182] ["take time"=6.965118ms] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.090 +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-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.095 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:34.105 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=133.205Β΅s] [gotSchemaVersion=183] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:34.108 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=183] [2025/04/04 10:50:34.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=183] ["take time"=6.877559ms] [job="ID:260, Type:drop schema, State:done, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.118 +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/04 10:50:34.123 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=260] [jobType="drop schema"] [2025/04/04 10:50:34.124 +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-04 10:50:34.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.139 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=260] [2025/04/04 10:50:34.140 +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/04 10:50:34.151 +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-04 10:50:34.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:34.151 +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-04 10:50:34.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 10:50:34.157 +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-04 10:50:34.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.170 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=648.74Β΅s] [gotSchemaVersion=184] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:34.173 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=184] [2025/04/04 10:50:34.175 +00:00] [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.440937ms] [job="ID:262, Type:create schema, State:done, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:34.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.185 +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-04 10:50:34.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.194 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/04 10:50:34.194 +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/04 10:50:34.207 +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-04 10:50:34.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:34.207 +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-04 10:50:34.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [2025/04/04 10:50:34.212 +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-04 10:50:34.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.217 +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/04 10:50:34.232 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.660426ms] [gotSchemaVersion=185] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:34.235 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=264] [version=185] [2025/04/04 10:50:34.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=185] ["take time"=8.512479ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:34.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.247 +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-04 10:50:34.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.259 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=264] [2025/04/04 10:50:34.260 +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/04 10:50:34.266 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:34.311 +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/04 10:50:34.330 +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/04 10:50:34.344 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=45] [2025/04/04 10:50:34.344 +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/04 10:50:34.446 +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/04 10:50:34.448 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:34.449 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [2025/04/04 10:50:34.456 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:34.458 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:50:34.458 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:50:34.458 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=44.722Β΅s] [2025/04/04 10:50:34.458 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=132.318Β΅s] [] [2025/04/04 10:50:34.459 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:34.459 +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/04 10:50:34.500 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=45] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:34.520 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/04 10:50:34.520 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:34.527 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:34.527 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:34.528 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:34.528 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:34.528 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:34.528 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:34.528 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:34.528 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:34.529 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:34.529 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:34.540 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:34.542 +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/04 10:50:34.542 +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/04 10:50:34.542 +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/04 10:50:34.542 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=45] [disk-quota=348.5GiB] [2025/04/04 10:50:34.542 +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/04 10:50:34.549 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=87] [step=import] [2025/04/04 10:50:34.549 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=87] [2025/04/04 10:50:34.552 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 10:50:34.553 +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/04 10:50:34.557 +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/04 10:50:34.557 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=263] [2025/04/04 10:50:34.558 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=45] [2025/04/04 10:50:34.570 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [2025/04/04 10:50:34.572 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [readDur=947.325Β΅s] [encodeDur=418.848Β΅s] [checksum="{cksum=15861435141353566364,size=37,kvs=1}"] [deliverDur=232.572Β΅s] [type=file] [takeTime=1.896924ms] [] [2025/04/04 10:50:34.573 +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/ad28f2cc-6559-475e-89c2-6399439cd1f1.sst] [firstKey=7480000000000001075F728000000000000001] [lastKey=7480000000000001075F728000000000000001] [2025/04/04 10:50:34.573 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 10:50:34.573 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 10:50:34.573 +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/04 10:50:34.575 +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=1.943104ms] [] [2025/04/04 10:50:34.575 +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/04 10:50:34.579 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:34.600 +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/04 10:50:34.601 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:34.602 +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/04 10:50:34.613 +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/04 10:50:34.615 +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=39.640531ms] [] [2025/04/04 10:50:34.615 +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/04 10:50:34.616 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=888.81Β΅s] [] [2025/04/04 10:50:34.616 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 10:50:34.616 +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/04 10:50:34.617 +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.38431ms] [] [2025/04/04 10:50:34.617 +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/04 10:50:34.621 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:50:34.621 +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.43031ms] [] [2025/04/04 10:50:34.621 +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/04 10:50:34.622 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=851.265Β΅s] [] [2025/04/04 10:50:34.622 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=87] [takeTime=72.45398ms] [] [2025/04/04 10:50:34.622 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=87] [step=import] [takeTime=72.595632ms] [] [2025/04/04 10:50:34.651 +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/04 10:50:34.653 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:34.654 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:34.654 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 10:50:34.670 +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/04 10:50:34.671 +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/04 10:50:34.671 +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/04 10:50:34.682 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:50:34.704 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:34.711 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/04 10:50:34.713 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:34.713 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:34.713 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:34.713 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:34.713 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:34.713 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:34.713 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:34.713 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:34.713 +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/04 10:50:34.713 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:34.713 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:34.713 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:34.715 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:34.715 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:34.715 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:34.715 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:34.715 +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=172.984022ms] [] [2025/04/04 10:50:34.717 +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/04 10:50:34.724 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=88] [step=post-process] [2025/04/04 10:50:34.724 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [2025/04/04 10:50:34.724 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [2025/04/04 10:50:34.724 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [2025/04/04 10:50:34.729 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [takeTime=5.493089ms] [] [2025/04/04 10:50:34.730 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [groupId=-1] [size=37] [kvs=1] [checksum=15861435141353566364] [2025/04/04 10:50:34.730 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [checksum="{cksum=15861435141353566364,size=37,kvs=1}"] [2025/04/04 10:50:34.730 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [weight=30] [2025/04/04 10:50:34.730 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [concurrency=15] [2025/04/04 10:50:34.732 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=263] [physicalTableID=263] [indexID=-1] [checksum=15861435141353566364] [totalKvs=1] [totalBytes=37] [2025/04/04 10:50:34.732 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:34.732 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [local="{cksum=15861435141353566364,size=37,kvs=1}"] [2025/04/04 10:50:34.732 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [takeTime=8.061965ms] [] [2025/04/04 10:50:34.732 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=88] [takeTime=8.207878ms] [] [2025/04/04 10:50:34.732 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=88] [step=post-process] [takeTime=8.325035ms] [] [2025/04/04 10:50:34.740 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:34.752 +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/04 10:50:34.752 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=45] [step=post-process] [state=running] [] [2025/04/04 10:50:34.754 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=45] [2025/04/04 10:50:34.777 +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=59.93474ms] [] [2025/04/04 10:50:34.777 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=45] [type=ImportInto] [2025/04/04 10:50:34.846 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=45] [2025/04/04 10:50:34.852 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:34.852 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=45] [2025/04/04 10:50:34.872 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:34.946 +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.685730156\n# Parse_time: 0.000112497\n# Compile_time: 0.000475296\n# Rewrite_time: 0.000153468\n# Optimize_time: 0.000301942\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC45bXMsIG9wZW46ODYxbnMsIGNsb3NlOjg2Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NC45bXMsIG9wZW46ODYxbnMsIGNsb3NlOjg2Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:34.972 +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-04 10:50:34.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:34.972 +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-04 10:50:34.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:50:34.977 +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-04 10:50:34.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:34.984 +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/04 10:50:35.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=1.532153ms] [gotSchemaVersion=186] [phyTblIDs="[263,265]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:35.003 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=266] [version=186] [2025/04/04 10:50:35.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=186] ["take time"=8.820133ms] [job="ID:266, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:34.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:35.015 +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/04 10:50:35.019 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=266] [jobType="truncate table"] [2025/04/04 10:50:35.020 +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-04 10:50:34.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:35.036 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=266] [2025/04/04 10:50:35.037 +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/04 10:50:35.042 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:35.087 +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/04 10:50:35.105 +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/04 10:50:35.120 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=46] [2025/04/04 10:50:35.120 +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/04 10:50:35.222 +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/04 10:50:35.223 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:35.224 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [2025/04/04 10:50:35.232 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:35.235 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:50:35.235 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:50:35.235 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=43.819Β΅s] [2025/04/04 10:50:35.235 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=135.113Β΅s] [] [2025/04/04 10:50:35.235 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:35.235 +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/04 10:50:35.268 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=46] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:35.288 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/04 10:50:35.288 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:35.295 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:35.295 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:35.296 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:35.296 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:35.296 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:35.296 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:35.296 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:35.296 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:35.297 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:35.297 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:35.308 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:35.310 +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/04 10:50:35.310 +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/04 10:50:35.310 +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/04 10:50:35.310 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=46] [disk-quota=348.5GiB] [2025/04/04 10:50:35.310 +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/04 10:50:35.317 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=89] [step=import] [2025/04/04 10:50:35.317 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=89] [2025/04/04 10:50:35.320 +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/04 10:50:35.324 +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/04 10:50:35.324 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=265] [2025/04/04 10:50:35.328 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 10:50:35.333 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=46] [2025/04/04 10:50:35.356 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [2025/04/04 10:50:35.358 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [readDur=854.877Β΅s] [encodeDur=502.833Β΅s] [checksum="{cksum=14356619400929386623,size=37,kvs=1}"] [deliverDur=272.972Β΅s] [type=file] [takeTime=1.883593ms] [] [2025/04/04 10:50:35.359 +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/cc04759a-1a82-4089-baac-719b2d73a665.sst] [firstKey=7480000000000001095F728000000000000001] [lastKey=7480000000000001095F728000000000000001] [2025/04/04 10:50:35.359 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 10:50:35.359 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 10:50:35.359 +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/04 10:50:35.361 +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=1.93514ms] [] [2025/04/04 10:50:35.361 +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/04 10:50:35.365 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:35.387 +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/04 10:50:35.387 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:35.388 +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/04 10:50:35.399 +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/04 10:50:35.401 +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=39.874987ms] [] [2025/04/04 10:50:35.401 +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/04 10:50:35.402 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=994.401Β΅s] [] [2025/04/04 10:50:35.402 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 10:50:35.402 +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/04 10:50:35.403 +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.370386ms] [] [2025/04/04 10:50:35.404 +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/04 10:50:35.407 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:50:35.407 +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.526798ms] [] [2025/04/04 10:50:35.407 +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/04 10:50:35.408 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=792.774Β΅s] [] [2025/04/04 10:50:35.408 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=89] [takeTime=91.014086ms] [] [2025/04/04 10:50:35.409 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=89] [step=import] [takeTime=91.46749ms] [] [2025/04/04 10:50:35.427 +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/04 10:50:35.428 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:35.429 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:35.429 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 10:50:35.445 +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/04 10:50:35.446 +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/04 10:50:35.446 +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/04 10:50:35.470 +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/04 10:50:35.477 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/04 10:50:35.480 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:35.480 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:35.480 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:35.480 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:35.480 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:35.480 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:35.480 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:35.480 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:35.480 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:35.480 +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/04 10:50:35.480 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:35.480 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:35.482 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:35.482 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:35.482 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:35.482 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:35.482 +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=171.959084ms] [] [2025/04/04 10:50:35.483 +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/04 10:50:35.490 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=90] [step=post-process] [2025/04/04 10:50:35.490 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [2025/04/04 10:50:40.491 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [2025/04/04 10:50:40.491 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [2025/04/04 10:50:40.497 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [takeTime=6.402838ms] [] [2025/04/04 10:50:40.497 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [groupId=-1] [size=37] [kvs=1] [checksum=14356619400929386623] [2025/04/04 10:50:40.497 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [checksum="{cksum=14356619400929386623,size=37,kvs=1}"] [2025/04/04 10:50:40.497 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [weight=30] [2025/04/04 10:50:40.497 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [concurrency=15] [2025/04/04 10:50:40.499 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=265] [physicalTableID=265] [indexID=-1] [checksum=14356619400929386623] [totalKvs=1] [totalBytes=37] [2025/04/04 10:50:40.500 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:40.500 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [local="{cksum=14356619400929386623,size=37,kvs=1}"] [2025/04/04 10:50:40.500 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [takeTime=8.987357ms] [] [2025/04/04 10:50:40.500 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=90] [takeTime=5.009286172s] [] [2025/04/04 10:50:40.500 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=90] [step=post-process] [takeTime=5.00946968s] [] [2025/04/04 10:50:40.517 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:40.527 +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/04 10:50:40.527 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=46] [step=post-process] [state=running] [] [2025/04/04 10:50:40.530 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=46] [2025/04/04 10:50:40.544 +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.060863481s] [] [2025/04/04 10:50:40.544 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=46] [type=ImportInto] [2025/04/04 10:50:40.622 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=46] [2025/04/04 10:50:40.628 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:40.628 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=46] [2025/04/04 10:50:40.650 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:40.823 +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.785691207\n# Parse_time: 0.000088443\n# Compile_time: 0.000439408\n# Rewrite_time: 0.000149428\n# Optimize_time: 0.000253363\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjUuNzhzLCBvcGVuOjU5Mm5zLCBjbG9zZTo1NTNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjUuNzhzLCBvcGVuOjU5Mm5zLCBjbG9zZTo1NTNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:40.840 +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-04 10:50:40.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:50:40.840 +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-04 10:50:40.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:40.845 +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-04 10:50:40.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:40.854 +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/04 10:50:40.871 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=1.880329ms] [gotSchemaVersion=187] [phyTblIDs="[265,267]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:40.875 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=268] [version=187] [2025/04/04 10:50:40.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=187] ["take time"=10.206188ms] [job="ID:268, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:40.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:40.888 +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/04 10:50:40.893 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=268] [jobType="truncate table"] [2025/04/04 10:50:40.894 +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-04 10:50:40.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:40.911 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=268] [2025/04/04 10:50:40.912 +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/04 10:50:40.924 +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-04 10:50:40.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:50:40.924 +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-04 10:50:40.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:40.930 +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-04 10:50:40.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:40.938 +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/04 10:50:40.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=1.527117ms] [gotSchemaVersion=188] [phyTblIDs="[267,269]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:40.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=188] [2025/04/04 10:50:40.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=188] ["take time"=8.181239ms] [job="ID:270, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:40.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:40.968 +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/04 10:50:40.973 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=270] [jobType="truncate table"] [2025/04/04 10:50:40.974 +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-04 10:50:40.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:40.990 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/04 10:50:40.990 +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/04 10:50:40.996 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:41.041 +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/04 10:50:41.060 +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/04 10:50:41.074 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=47] [2025/04/04 10:50:41.074 +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/04 10:50:41.177 +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/04 10:50:41.178 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:41.179 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [2025/04/04 10:50:41.187 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:41.190 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:50:41.190 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:50:41.190 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=59.912Β΅s] [2025/04/04 10:50:41.190 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=152.472Β΅s] [] [2025/04/04 10:50:41.190 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:41.190 +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/04 10:50:41.227 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=47] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:41.247 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/04 10:50:41.247 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:41.255 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:41.255 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:41.256 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:41.256 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:41.256 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:41.256 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:41.256 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:41.256 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:41.257 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:41.257 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:41.269 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:41.270 +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/04 10:50:41.270 +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/04 10:50:41.270 +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/04 10:50:41.271 +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/04 10:50:41.271 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=47] [disk-quota=348.5GiB] [2025/04/04 10:50:41.278 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=91] [step=import] [2025/04/04 10:50:41.278 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=91] [2025/04/04 10:50:41.282 +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/04 10:50:41.285 +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/04 10:50:41.285 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=269] [2025/04/04 10:50:41.287 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=47] [2025/04/04 10:50:41.317 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [2025/04/04 10:50:41.319 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [readDur=932.339Β΅s] [encodeDur=492.558Β΅s] [checksum="{cksum=14782680275667121893,size=37,kvs=1}"] [deliverDur=263.865Β΅s] [type=file] [takeTime=1.98778ms] [] [2025/04/04 10:50:41.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/47/1ccc2128-36af-5780-96ac-757ded6634c4.sst/f540a0b2-4566-4419-8869-bf0d6bcc1de1.sst] [firstKey=74800000000000010D5F728000000000000001] [lastKey=74800000000000010D5F728000000000000001] [2025/04/04 10:50:41.320 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 10:50:41.320 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 10:50:41.320 +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/04 10:50:41.322 +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=1.93175ms] [] [2025/04/04 10:50:41.322 +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/04 10:50:41.326 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:41.348 +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/04 10:50:41.348 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:41.350 +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/04 10:50:41.360 +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/04 10:50:41.363 +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=40.611849ms] [] [2025/04/04 10:50:41.363 +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/04 10:50:41.364 +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.048206ms] [] [2025/04/04 10:50:41.364 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 10:50:41.364 +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/04 10:50:41.365 +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.538377ms] [] [2025/04/04 10:50:41.365 +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/04 10:50:41.369 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:50:41.369 +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.475106ms] [] [2025/04/04 10:50:41.369 +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/04 10:50:41.370 +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.018734ms] [] [2025/04/04 10:50:41.370 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=91] [takeTime=91.936883ms] [] [2025/04/04 10:50:41.370 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=91] [step=import] [takeTime=92.200687ms] [] [2025/04/04 10:50:41.381 +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/04 10:50:41.382 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:41.384 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:41.401 +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/04 10:50:41.402 +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/04 10:50:41.402 +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/04 10:50:41.433 +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/04 10:50:41.439 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/04 10:50:41.442 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:41.442 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:41.442 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:41.442 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:41.442 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:41.442 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:41.442 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:41.442 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:41.442 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:41.442 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:41.442 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:41.442 +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/04 10:50:41.444 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:41.444 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:41.444 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:41.444 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:41.444 +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.532523ms] [] [2025/04/04 10:50:41.446 +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/04 10:50:41.453 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=92] [step=post-process] [2025/04/04 10:50:41.453 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [2025/04/04 10:50:41.453 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [2025/04/04 10:50:41.453 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [2025/04/04 10:50:41.458 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [takeTime=5.105545ms] [] [2025/04/04 10:50:41.458 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [groupId=-1] [size=37] [kvs=1] [checksum=14782680275667121893] [2025/04/04 10:50:41.458 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [checksum="{cksum=14782680275667121893,size=37,kvs=1}"] [2025/04/04 10:50:41.459 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [weight=30] [2025/04/04 10:50:41.459 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [concurrency=15] [2025/04/04 10:50:41.460 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=269] [physicalTableID=269] [indexID=-1] [checksum=14782680275667121893] [totalKvs=1] [totalBytes=37] [2025/04/04 10:50:41.461 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:41.461 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [local="{cksum=14782680275667121893,size=37,kvs=1}"] [2025/04/04 10:50:41.461 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [takeTime=7.514992ms] [] [2025/04/04 10:50:41.461 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=92] [takeTime=7.662887ms] [] [2025/04/04 10:50:41.461 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=92] [step=post-process] [takeTime=7.82015ms] [] [2025/04/04 10:50:41.476 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:41.481 +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/04 10:50:41.481 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=47] [step=post-process] [state=running] [] [2025/04/04 10:50:41.484 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=47] [2025/04/04 10:50:41.506 +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=60.219776ms] [] [2025/04/04 10:50:41.506 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=47] [type=ImportInto] [2025/04/04 10:50:41.576 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=47] [2025/04/04 10:50:41.582 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:41.582 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=47] [2025/04/04 10:50:41.606 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:41.676 +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.684940674\n# Parse_time: 0.000104891\n# Compile_time: 0.000449685\n# Rewrite_time: 0.000141387\n# Optimize_time: 0.000300891\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC4xbXMsIG9wZW46NzMybnMsIGNsb3NlOjc2N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NC4xbXMsIG9wZW46NzMybnMsIGNsb3NlOjc2N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:41.690 +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-04 10:50:41.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:41.690 +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-04 10:50:41.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:50:41.695 +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-04 10:50:41.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:41.703 +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/04 10:50:41.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=1.644417ms] [gotSchemaVersion=189] [phyTblIDs="[269,271]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:41.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=189] [2025/04/04 10:50:41.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=189] ["take time"=8.667131ms] [job="ID:272, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:41.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:41.734 +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/04 10:50:41.739 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=272] [jobType="truncate table"] [2025/04/04 10:50:41.740 +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-04 10:50:41.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:41.757 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/04 10:50:41.758 +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/04 10:50:41.769 +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-04 10:50:41.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:41.769 +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-04 10:50:41.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:50:41.774 +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-04 10:50:41.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:41.782 +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/04 10:50:41.798 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=1.673653ms] [gotSchemaVersion=190] [phyTblIDs="[271,273]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:41.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=190] [2025/04/04 10:50:41.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=190] ["take time"=8.657183ms] [job="ID:274, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:41.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:41.813 +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/04 10:50:41.818 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="truncate table"] [2025/04/04 10:50:41.819 +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-04 10:50:41.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:41.836 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/04 10:50:41.836 +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/04 10:50:41.842 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:41.856 +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/04 10:50:41.875 +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/04 10:50:41.889 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=48] [2025/04/04 10:50:41.889 +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/04 10:50:41.991 +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/04 10:50:41.993 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:41.994 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [2025/04/04 10:50:42.002 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:42.004 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:50:42.004 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:50:42.004 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=57.818Β΅s] [2025/04/04 10:50:42.004 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=147.821Β΅s] [] [2025/04/04 10:50:42.004 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:42.004 +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/04 10:50:42.039 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=48] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:42.058 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/04 10:50:42.059 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:42.067 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:42.067 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:42.067 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:42.067 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:42.068 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:42.068 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:42.068 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:42.068 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:42.068 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:42.069 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:42.081 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:42.083 +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/04 10:50:42.083 +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/04 10:50:42.083 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=48] [disk-quota=348.5GiB] [2025/04/04 10:50:42.083 +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/04 10:50:42.083 +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/04 10:50:42.090 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=93] [step=import] [2025/04/04 10:50:42.090 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=93] [2025/04/04 10:50:42.094 +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/04 10:50:42.097 +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/04 10:50:42.098 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=273] [2025/04/04 10:50:42.104 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=48] [2025/04/04 10:50:42.111 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [2025/04/04 10:50:42.113 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [readDur=881.83Β΅s] [encodeDur=478.122Β΅s] [checksum="{cksum=18113774150194779939,size=37,kvs=1}"] [deliverDur=259.506Β΅s] [type=file] [takeTime=1.861465ms] [] [2025/04/04 10:50:42.114 +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/5dbed699-f8b4-496e-8dbc-89f2a78ece92.sst] [firstKey=7480000000000001115F728000000000000001] [lastKey=7480000000000001115F728000000000000001] [2025/04/04 10:50:42.114 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 10:50:42.114 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 10:50:42.114 +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/04 10:50:42.116 +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=1.898824ms] [] [2025/04/04 10:50:42.116 +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/04 10:50:42.120 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:42.142 +00:00] [INFO] [local.go:1354] ["switch import mode of ranges"] [category=ddl-ingest] [startKey=7480000000000001115f728000000000000001] [endKey=7480000000000001115f728000000000000002] [2025/04/04 10:50:42.142 +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/04 10:50:42.142 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Import] [2025/04/04 10:50:42.142 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:42.144 +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/04 10:50:42.165 +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/04 10:50:42.165 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Normal] [2025/04/04 10:50:42.182 +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=66.486123ms] [] [2025/04/04 10:50:42.182 +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/04 10:50:42.183 +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.016747ms] [] [2025/04/04 10:50:42.183 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 10:50:42.184 +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/04 10:50:42.185 +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.395854ms] [] [2025/04/04 10:50:42.185 +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/04 10:50:42.189 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 10:50:42.189 +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.999521ms] [] [2025/04/04 10:50:42.189 +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/04 10:50:42.190 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=809.841Β΅s] [] [2025/04/04 10:50:42.190 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=93] [takeTime=99.698255ms] [] [2025/04/04 10:50:42.190 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=93] [step=import] [takeTime=99.853852ms] [] [2025/04/04 10:50:42.298 +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/04 10:50:42.299 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:42.300 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:42.316 +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/04 10:50:42.317 +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/04 10:50:42.317 +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/04 10:50:42.336 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:50:42.336 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/04 10:50:42.339 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:42.339 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:42.339 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:42.339 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:42.339 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:42.339 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:42.339 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:42.339 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:42.339 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:42.339 +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/04 10:50:42.339 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:42.339 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:42.341 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:42.341 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:42.341 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:42.341 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:42.341 +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=258.565972ms] [] [2025/04/04 10:50:42.342 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=48] [type=ImportInto] [2025/04/04 10:50:42.347 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=48] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:42.367 +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/04 10:50:42.374 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=94] [step=post-process] [2025/04/04 10:50:42.374 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [2025/04/04 10:50:42.374 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [2025/04/04 10:50:42.374 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [2025/04/04 10:50:42.379 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [takeTime=5.224592ms] [] [2025/04/04 10:50:42.380 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [groupId=-1] [size=37] [kvs=1] [checksum=18113774150194779939] [2025/04/04 10:50:42.380 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [checksum="{cksum=18113774150194779939,size=37,kvs=1}"] [2025/04/04 10:50:42.380 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [weight=30] [2025/04/04 10:50:42.380 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [concurrency=15] [2025/04/04 10:50:42.381 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=273] [physicalTableID=273] [indexID=-1] [checksum=18113774150194779939] [totalKvs=1] [totalBytes=37] [2025/04/04 10:50:42.382 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:42.382 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [local="{cksum=18113774150194779939,size=37,kvs=1}"] [2025/04/04 10:50:42.382 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [takeTime=7.665239ms] [] [2025/04/04 10:50:42.382 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=94] [takeTime=7.803082ms] [] [2025/04/04 10:50:42.382 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=94] [step=post-process] [takeTime=7.938948ms] [] [2025/04/04 10:50:42.396 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:42.396 +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/04 10:50:42.396 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=48] [step=post-process] [state=running] [] [2025/04/04 10:50:42.399 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=48] [2025/04/04 10:50:42.426 +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=58.656559ms] [] [2025/04/04 10:50:42.426 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=48] [type=ImportInto] [2025/04/04 10:50:42.491 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=48] [2025/04/04 10:50:42.492 +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.655117066\n# Parse_time: 0.000068559\n# Compile_time: 0.000471356\n# Rewrite_time: 0.000165495\n# Optimize_time: 0.000250835\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY1NC4zbXMsIG9wZW46NjQ1bnMsIGNsb3NlOjcyNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY1NC4zbXMsIG9wZW46NjQ1bnMsIGNsb3NlOjcyNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:42.497 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:42.497 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=48] [2025/04/04 10:50:42.506 +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-04 10:50:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:42.506 +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-04 10:50:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 10:50:42.511 +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-04 10:50:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:42.518 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:42.519 +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/04 10:50:42.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=1.612881ms] [gotSchemaVersion=191] [phyTblIDs="[273,275]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:42.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=276] [version=191] [2025/04/04 10:50:42.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=191] ["take time"=8.749314ms] [job="ID:276, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:42.550 +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/04 10:50:42.554 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="truncate table"] [2025/04/04 10:50:42.555 +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-04 10:50:42.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:42.572 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=276] [2025/04/04 10:50:42.572 +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/04 10:50:42.580 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:42.624 +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/04 10:50:42.643 +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/04 10:50:42.656 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=49] [2025/04/04 10:50:42.656 +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/04 10:50:42.758 +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/04 10:50:42.759 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:42.760 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [2025/04/04 10:50:42.768 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:42.771 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 10:50:42.771 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 10:50:42.771 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=62.108Β΅s] [2025/04/04 10:50:42.771 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=234.791Β΅s] [] [2025/04/04 10:50:42.771 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:42.771 +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/04 10:50:42.807 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=49] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:42.826 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/04 10:50:42.827 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:42.834 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:42.834 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:42.835 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:42.835 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:42.835 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:42.835 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:42.835 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:42.835 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:42.836 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:42.836 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:42.848 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:42.850 +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/04 10:50:42.850 +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/04 10:50:42.850 +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/04 10:50:42.850 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=49] [disk-quota=348.5GiB] [2025/04/04 10:50:42.850 +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/04 10:50:42.857 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [subtaskID=95] [step=import] [2025/04/04 10:50:42.858 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=95] [2025/04/04 10:50:42.861 +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/04 10:50:42.864 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 10:50:42.865 +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/04 10:50:42.865 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=275] [2025/04/04 10:50:42.870 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=49] [2025/04/04 10:50:44.840 +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/04 10:50:45.865 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=95] [takeTime=3.007684861s] [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/04 10:50:45.866 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [subtaskID=95] [step=import] [takeTime=3.008012811s] [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/04 10:50:45.866 +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/04 10:50:45.872 +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/04 10:50:45.966 +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/04 10:50:45.973 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/04 10:50:45.976 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:45.976 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:45.976 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:45.976 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:45.976 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:45.976 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:45.976 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:45.976 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:45.976 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:45.976 +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/04 10:50:45.976 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:45.977 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:45.979 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:45.979 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:45.979 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:45.979 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:45.979 +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.128714154s] [] [2025/04/04 10:50:45.979 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=49] [type=ImportInto] [2025/04/04 10:50:46.063 +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/04 10:50:46.064 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 10:50:46.066 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=49] [2025/04/04 10:50:46.158 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=49] [2025/04/04 10:50:46.163 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:46.163 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=49] [2025/04/04 10:50:46.183 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:46.256 +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/04 10:50:46.257 +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.684149214\n# Parse_time: 0.000106832\n# Compile_time: 0.000771687\n# Rewrite_time: 0.000362667\n# Optimize_time: 0.000253116\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjhzLCBvcGVuOjY5MG5zLCBjbG9zZTo3MjRucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTozLjY4cywgb3Blbjo2OTBucywgY2xvc2U6NzI0bnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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.25s) === NAME TestImportInto === RUN TestImportInto/TestInputCountMisMatchAndDefault [2025/04/04 10:50:46.278 +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-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:46.278 +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-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:50:46.283 +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-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.297 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=149.254Β΅s] [gotSchemaVersion=192] [phyTblIDs="[275]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:46.300 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=192] [2025/04/04 10:50:46.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=192] ["take time"=6.584022ms] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.310 +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-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.322 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=170.993Β΅s] [gotSchemaVersion=193] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:46.326 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=193] [2025/04/04 10:50:46.328 +00:00] [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.688584ms] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.336 +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-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.341 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:46.351 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=132.619Β΅s] [gotSchemaVersion=194] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:46.355 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=194] [2025/04/04 10:50:46.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=194] ["take time"=7.368541ms] [job="ID:277, Type:drop schema, State:done, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.365 +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/04 10:50:46.370 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=277] [jobType="drop schema"] [2025/04/04 10:50:46.370 +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-04 10:50:46.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.386 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/04 10:50:46.386 +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/04 10:50:46.398 +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-04 10:50:46.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:46.398 +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-04 10:50:46.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:50:46.404 +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-04 10:50:46.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.416 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=584.423Β΅s] [gotSchemaVersion=195] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:46.420 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=279] [version=195] [2025/04/04 10:50:46.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=195] ["take time"=7.284852ms] [job="ID:279, Type:create schema, State:done, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:46.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.431 +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-04 10:50:46.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.441 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=279] [2025/04/04 10:50:46.441 +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/04 10:50:46.443 +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/04 10:50:46.456 +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-04 10:50:46.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:50:46.456 +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-04 10:50:46.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:46.461 +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-04 10:50:46.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.466 +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/04 10:50:46.482 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=1.519214ms] [gotSchemaVersion=196] [phyTblIDs="[280]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:46.485 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=196] [2025/04/04 10:50:46.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=196] ["take time"=8.526111ms] [job="ID:281, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:46.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.497 +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-04 10:50:46.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:46.509 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/04 10:50:46.509 +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/04 10:50:46.515 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:46.559 +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/04 10:50:46.577 +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/04 10:50:46.593 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=50] [2025/04/04 10:50:46.593 +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/04 10:50:46.683 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:50:46.683 +00:00] [INFO] [cache.go:406] ["GC compact old schema version"] ["current version"=196] ["oldest version"=1] [deleted=0] [total=824] [takes=383.505Β΅s] [2025/04/04 10:50:46.695 +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/04 10:50:46.697 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:46.698 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [2025/04/04 10:50:46.705 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:46.708 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:46.708 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 10:50:46.708 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=54.902Β΅s] [2025/04/04 10:50:46.708 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=159.947Β΅s] [] [2025/04/04 10:50:46.708 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:46.708 +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/04 10:50:46.739 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=50] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:46.759 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/04 10:50:46.759 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:46.768 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:46.768 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:46.768 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:46.768 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:46.768 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:46.769 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:46.769 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:46.769 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:46.769 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:46.769 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:46.783 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:46.785 +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/04 10:50:46.785 +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/04 10:50:46.785 +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/04 10:50:46.785 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=50] [disk-quota=348.5GiB] [2025/04/04 10:50:46.785 +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/04 10:50:46.793 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=96] [step=import] [2025/04/04 10:50:46.793 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=96] [2025/04/04 10:50:46.797 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:46.800 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:46.800 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=280] [2025/04/04 10:50:46.802 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=50] [mode=Import] [2025/04/04 10:50:46.813 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [2025/04/04 10:50:46.817 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [readDur=993.635Β΅s] [encodeDur=2.082198ms] [checksum="{cksum=4834883050368624781,size=78,kvs=2}"] [deliverDur=382.156Β΅s] [type=file] [takeTime=3.750056ms] [] [2025/04/04 10:50:46.818 +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/73e76af2-31e2-4bb9-8e6d-d65fda0df5ac.sst] [firstKey=7480000000000001185F728000000000000001] [lastKey=7480000000000001185F728000000000000002] [2025/04/04 10:50:46.818 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 10:50:46.818 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 10:50:46.818 +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/04 10:50:46.820 +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.884491ms] [] [2025/04/04 10:50:46.820 +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/04 10:50:46.821 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=50] [2025/04/04 10:50:46.824 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:46.845 +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/04 10:50:46.846 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:46.847 +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/04 10:50:46.859 +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/04 10:50:46.861 +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.262968ms] [] [2025/04/04 10:50:46.861 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:46.862 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.008271ms] [] [2025/04/04 10:50:46.862 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 10:50:46.862 +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/04 10:50:46.864 +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.394637ms] [] [2025/04/04 10:50:46.864 +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/04 10:50:46.867 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:46.867 +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.534533ms] [] [2025/04/04 10:50:46.868 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:46.868 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=804.879Β΅s] [] [2025/04/04 10:50:46.868 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=96] [takeTime=75.421262ms] [] [2025/04/04 10:50:46.869 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=96] [step=import] [takeTime=75.585145ms] [] [2025/04/04 10:50:46.899 +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/04 10:50:46.901 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:46.902 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:46.902 +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/04 10:50:46.930 +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/04 10:50:46.931 +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/04 10:50:46.931 +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/04 10:50:46.967 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:46.973 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/04 10:50:46.975 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:46.975 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:46.975 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:46.975 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:46.975 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:46.975 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:46.975 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:46.975 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:46.976 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:46.975 +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/04 10:50:46.976 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:46.976 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:46.978 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:46.978 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:46.978 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:46.978 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:46.978 +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=192.444129ms] [] [2025/04/04 10:50:46.979 +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/04 10:50:46.986 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=97] [step=post-process] [2025/04/04 10:50:46.986 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [2025/04/04 10:50:46.986 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [2025/04/04 10:50:46.986 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [2025/04/04 10:50:46.991 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [takeTime=5.140526ms] [] [2025/04/04 10:50:46.992 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [groupId=-1] [size=78] [kvs=2] [checksum=4834883050368624781] [2025/04/04 10:50:46.992 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [checksum="{cksum=4834883050368624781,size=78,kvs=2}"] [2025/04/04 10:50:46.992 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [weight=30] [2025/04/04 10:50:46.992 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [concurrency=15] [2025/04/04 10:50:46.993 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=280] [physicalTableID=280] [indexID=-1] [checksum=4834883050368624781] [totalKvs=2] [totalBytes=78] [2025/04/04 10:50:46.994 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:46.994 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [local="{cksum=4834883050368624781,size=78,kvs=2}"] [2025/04/04 10:50:46.994 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [takeTime=7.47665ms] [] [2025/04/04 10:50:46.994 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=97] [takeTime=7.617245ms] [] [2025/04/04 10:50:46.994 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=97] [step=post-process] [takeTime=7.801135ms] [] [2025/04/04 10:50:47.006 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:47.100 +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/04 10:50:47.100 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=50] [step=post-process] [state=running] [] [2025/04/04 10:50:47.103 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=50] [2025/04/04 10:50:47.127 +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=147.800177ms] [] [2025/04/04 10:50:47.127 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=50] [type=ImportInto] [2025/04/04 10:50:47.193 +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.683612215\n# Parse_time: 0.00006747\n# Compile_time: 0.000415542\n# Rewrite_time: 0.000132695\n# Optimize_time: 0.000253116\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Mi45bXMsIG9wZW46NjQzbnMsIGNsb3NlOjc4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Mi45bXMsIG9wZW46NjQzbnMsIGNsb3NlOjc4MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:47.195 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=50] [2025/04/04 10:50:47.200 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:47.200 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=50] [2025/04/04 10:50:47.207 +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-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:47.207 +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-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:50:47.212 +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-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.220 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:47.227 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=2.002054ms] [gotSchemaVersion=197] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:47.230 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=197] [2025/04/04 10:50:47.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=197] ["take time"=8.514741ms] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.241 +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-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.255 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=1.952782ms] [gotSchemaVersion=198] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:47.259 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=198] [2025/04/04 10:50:47.260 +00:00] [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"=8.321268ms] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.268 +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-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.274 +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/04 10:50:47.287 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=1.194339ms] [gotSchemaVersion=199] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:47.291 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=199] [2025/04/04 10:50:47.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=199] ["take time"=8.479657ms] [job="ID:282, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.302 +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/04 10:50:47.306 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="drop table"] [2025/04/04 10:50:47.307 +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-04 10:50:47.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.324 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=282] [2025/04/04 10:50:47.325 +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/04 10:50:47.337 +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-04 10:50:47.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int default 100);"] [2025/04/04 10:50:47.337 +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-04 10:50:47.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:47.343 +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-04 10:50:47.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.348 +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/04 10:50:47.362 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=1.520353ms] [gotSchemaVersion=200] [phyTblIDs="[283]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:47.366 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=200] [2025/04/04 10:50:47.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=200] ["take time"=8.725917ms] [job="ID:284, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:47.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.379 +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-04 10:50:47.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:47.390 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/04 10:50:47.391 +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/04 10:50:47.396 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:47.445 +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/04 10:50:47.464 +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/04 10:50:47.479 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=51] [2025/04/04 10:50:47.479 +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/04 10:50:47.582 +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/04 10:50:47.583 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:47.584 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [2025/04/04 10:50:47.592 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:47.594 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:47.594 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 10:50:47.594 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=45.021Β΅s] [2025/04/04 10:50:47.594 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=131.805Β΅s] [] [2025/04/04 10:50:47.594 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:47.594 +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/04 10:50:47.628 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:47.648 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/04 10:50:47.648 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:47.655 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:47.656 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:47.656 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:47.656 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:47.656 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:47.656 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:47.656 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:47.656 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:47.657 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:47.657 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:47.669 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:47.671 +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/04 10:50:47.671 +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/04 10:50:47.671 +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/04 10:50:47.671 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=51] [disk-quota=348.5GiB] [2025/04/04 10:50:47.671 +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/04 10:50:47.678 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=98] [step=import] [2025/04/04 10:50:47.678 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=98] [2025/04/04 10:50:47.682 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:47.685 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:47.686 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=283] [2025/04/04 10:50:47.688 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=51] [mode=Import] [2025/04/04 10:50:47.708 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=51] [2025/04/04 10:50:47.725 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [2025/04/04 10:50:47.727 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [readDur=988.387Β΅s] [encodeDur=290.029Β΅s] [checksum="{cksum=14192221556862743119,size=79,kvs=2}"] [deliverDur=250.682Β΅s] [type=file] [takeTime=1.859653ms] [] [2025/04/04 10:50:47.728 +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/32d16b37-6416-4b9c-8551-0ed023c9bf3f.sst] [firstKey=74800000000000011B5F728000000000000001] [lastKey=74800000000000011B5F728000000000000002] [2025/04/04 10:50:47.728 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 10:50:47.728 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 10:50:47.728 +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/04 10:50:47.730 +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.995191ms] [] [2025/04/04 10:50:47.730 +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/04 10:50:47.735 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:47.756 +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/04 10:50:47.757 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:47.759 +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/04 10:50:47.771 +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/04 10:50:47.773 +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=42.726758ms] [] [2025/04/04 10:50:47.773 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:47.774 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.086363ms] [] [2025/04/04 10:50:47.774 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 10:50:47.774 +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/04 10:50:47.776 +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.490294ms] [] [2025/04/04 10:50:47.776 +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/04 10:50:47.779 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:47.780 +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.656486ms] [] [2025/04/04 10:50:47.780 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:47.780 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=862.615Β΅s] [] [2025/04/04 10:50:47.781 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=98] [takeTime=102.160507ms] [] [2025/04/04 10:50:47.781 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=98] [step=import] [takeTime=102.303424ms] [] [2025/04/04 10:50:47.885 +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/04 10:50:47.887 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:47.888 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:47.888 +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/04 10:50:47.918 +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/04 10:50:47.920 +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/04 10:50:47.920 +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/04 10:50:47.922 +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/04 10:50:47.922 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/04 10:50:47.925 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:47.925 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:47.925 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:47.925 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:47.925 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:47.925 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:47.925 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:47.925 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:47.925 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:47.925 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:47.925 +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/04 10:50:47.925 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:47.927 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:47.928 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:47.928 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:47.928 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:47.928 +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=256.764561ms] [] [2025/04/04 10:50:47.928 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/04 10:50:47.957 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:47.978 +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/04 10:50:47.986 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=99] [step=post-process] [2025/04/04 10:50:47.986 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [2025/04/04 10:50:47.986 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [2025/04/04 10:50:47.986 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [2025/04/04 10:50:47.992 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [takeTime=5.353635ms] [] [2025/04/04 10:50:47.992 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [groupId=-1] [size=79] [kvs=2] [checksum=14192221556862743119] [2025/04/04 10:50:47.992 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [checksum="{cksum=14192221556862743119,size=79,kvs=2}"] [2025/04/04 10:50:47.992 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [weight=30] [2025/04/04 10:50:47.992 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [concurrency=15] [2025/04/04 10:50:47.994 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=283] [physicalTableID=283] [indexID=-1] [checksum=14192221556862743119] [totalKvs=2] [totalBytes=79] [2025/04/04 10:50:47.994 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:47.994 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [local="{cksum=14192221556862743119,size=79,kvs=2}"] [2025/04/04 10:50:47.994 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [takeTime=7.783796ms] [] [2025/04/04 10:50:47.994 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=99] [takeTime=7.961743ms] [] [2025/04/04 10:50:47.994 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=99] [step=post-process] [takeTime=8.150713ms] [] [2025/04/04 10:50:48.019 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:48.102 +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/04 10:50:48.102 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=51] [step=post-process] [state=running] [] [2025/04/04 10:50:48.105 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=51] [2025/04/04 10:50:48.133 +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=154.440834ms] [] [2025/04/04 10:50:48.133 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/04 10:50:48.182 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=51] [2025/04/04 10:50:48.188 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:48.188 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=51] [2025/04/04 10:50:48.210 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:48.380 +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.989035831\n# Parse_time: 0.000089852\n# Compile_time: 0.000466575\n# Rewrite_time: 0.000142645\n# Optimize_time: 0.000236936\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC4ybXMsIG9wZW46NzQ3bnMsIGNsb3NlOjUzNm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC4ybXMsIG9wZW46NzQ3bnMsIGNsb3NlOjUzNm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:48.394 +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-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:48.394 +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-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 10:50:48.399 +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-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=2.047227ms] [gotSchemaVersion=201] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:48.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=201] [2025/04/04 10:50:48.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=201] ["take time"=9.470392ms] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.430 +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-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=2.193685ms] [gotSchemaVersion=202] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:48.449 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=202] [2025/04/04 10:50:48.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=202] ["take time"=9.357739ms] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.459 +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-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.465 +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/04 10:50:48.479 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.176428ms] [gotSchemaVersion=203] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:48.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=203] [2025/04/04 10:50:48.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=203] ["take time"=8.373257ms] [job="ID:285, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.493 +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/04 10:50:48.498 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=285] [jobType="drop table"] [2025/04/04 10:50:48.499 +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-04 10:50:48.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.516 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=285] [2025/04/04 10:50:48.517 +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/04 10:50:48.530 +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-04 10:50:48.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:48.530 +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-04 10:50:48.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:50:48.535 +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-04 10:50:48.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.540 +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/04 10:50:48.556 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=1.502248ms] [gotSchemaVersion=204] [phyTblIDs="[286]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:48.559 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=287] [version=204] [2025/04/04 10:50:48.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=204] ["take time"=8.589343ms] [job="ID:287, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:48.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.572 +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-04 10:50:48.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:48.588 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=287] [2025/04/04 10:50:48.589 +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/04 10:50:48.596 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:48.647 +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/04 10:50:48.666 +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/04 10:50:48.681 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=52] [2025/04/04 10:50:48.681 +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/04 10:50:48.783 +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/04 10:50:48.784 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:48.785 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [2025/04/04 10:50:48.793 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:48.796 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:48.796 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 10:50:48.796 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=48.184Β΅s] [2025/04/04 10:50:48.796 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=176.139Β΅s] [] [2025/04/04 10:50:48.796 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:48.796 +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/04 10:50:48.831 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=52] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:48.851 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/04 10:50:48.852 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:48.859 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:48.859 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:48.860 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:48.860 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:48.860 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:48.860 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:48.860 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:48.860 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:48.861 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:48.861 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:48.872 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:48.874 +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/04 10:50:48.874 +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/04 10:50:48.874 +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/04 10:50:48.874 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=52] [disk-quota=348.5GiB] [2025/04/04 10:50:48.874 +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/04 10:50:48.882 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=100] [step=import] [2025/04/04 10:50:48.882 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=100] [2025/04/04 10:50:48.886 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:48.889 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=52] [mode=Import] [2025/04/04 10:50:48.889 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:48.890 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=286] [2025/04/04 10:50:48.903 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [2025/04/04 10:50:48.905 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [readDur=1.099382ms] [encodeDur=339.901Β΅s] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [deliverDur=352.737Β΅s] [type=file] [takeTime=2.148848ms] [] [2025/04/04 10:50:48.906 +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/d055d2fc-4832-4fab-8e8c-1a6560fdd10c.sst] [firstKey=74800000000000011E5F728000000000000001] [lastKey=74800000000000011E5F728000000000000002] [2025/04/04 10:50:48.906 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 10:50:48.906 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 10:50:48.906 +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/04 10:50:48.908 +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.987852ms] [] [2025/04/04 10:50:48.908 +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/04 10:50:48.909 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=52] [2025/04/04 10:50:48.912 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:48.934 +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/04 10:50:48.934 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:48.935 +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/04 10:50:48.946 +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/04 10:50:48.948 +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.072247ms] [] [2025/04/04 10:50:48.948 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:48.949 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=986.288Β΅s] [] [2025/04/04 10:50:48.949 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 10:50:48.949 +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/04 10:50:48.951 +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.382116ms] [] [2025/04/04 10:50:48.951 +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/04 10:50:48.954 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:48.954 +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.531269ms] [] [2025/04/04 10:50:48.954 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:48.955 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=760.362Β΅s] [] [2025/04/04 10:50:48.955 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=100] [takeTime=72.75008ms] [] [2025/04/04 10:50:48.955 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=100] [step=import] [takeTime=72.890473ms] [] [2025/04/04 10:50:48.988 +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/04 10:50:48.989 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:48.990 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:48.990 +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/04 10:50:49.020 +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/04 10:50:49.021 +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/04 10:50:49.021 +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/04 10:50:49.056 +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/04 10:50:49.062 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/04 10:50:49.065 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:49.065 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:49.065 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:49.065 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:49.065 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:49.065 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:49.065 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:49.065 +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/04 10:50:49.065 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:49.065 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:49.065 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:49.065 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:49.067 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:49.067 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:49.067 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:49.067 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:49.068 +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=193.341776ms] [] [2025/04/04 10:50:49.069 +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/04 10:50:49.076 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=101] [step=post-process] [2025/04/04 10:50:49.076 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [2025/04/04 10:50:49.076 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [2025/04/04 10:50:49.076 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [2025/04/04 10:50:49.082 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [takeTime=5.204934ms] [] [2025/04/04 10:50:49.082 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [groupId=-1] [size=82] [kvs=2] [checksum=4856294282864387256] [2025/04/04 10:50:49.082 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [2025/04/04 10:50:49.082 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [weight=30] [2025/04/04 10:50:49.082 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [concurrency=15] [2025/04/04 10:50:49.084 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=286] [physicalTableID=286] [indexID=-1] [checksum=4856294282864387256] [totalKvs=2] [totalBytes=82] [2025/04/04 10:50:49.084 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:49.084 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [local="{cksum=4856294282864387256,size=82,kvs=2}"] [2025/04/04 10:50:49.084 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [takeTime=7.61957ms] [] [2025/04/04 10:50:49.084 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=101] [takeTime=7.762373ms] [] [2025/04/04 10:50:49.084 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=101] [step=post-process] [takeTime=7.894674ms] [] [2025/04/04 10:50:49.107 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:49.188 +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/04 10:50:49.188 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=52] [step=post-process] [state=running] [] [2025/04/04 10:50:49.190 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=52] [2025/04/04 10:50:49.220 +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=151.092391ms] [] [2025/04/04 10:50:49.220 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=52] [type=ImportInto] [2025/04/04 10:50:49.283 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=52] [2025/04/04 10:50:49.283 +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.694178648\n# Parse_time: 0.000225775\n# Compile_time: 0.000501315\n# Rewrite_time: 0.000142152\n# Optimize_time: 0.000275728\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5My4ybXMsIG9wZW46NzMxbnMsIGNsb3NlOjY4NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5My4ybXMsIG9wZW46NzMxbnMsIGNsb3NlOjY4NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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.02s) === NAME TestImportInto === RUN TestImportInto/TestInputNull [2025/04/04 10:50:49.289 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:49.289 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=52] [2025/04/04 10:50:49.299 +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-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:49.299 +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-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:50:49.304 +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-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.311 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:49.319 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=154.009Β΅s] [gotSchemaVersion=205] [phyTblIDs="[286]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:49.323 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=205] [2025/04/04 10:50:49.324 +00:00] [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"=6.850977ms] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.334 +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-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.346 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=168.598Β΅s] [gotSchemaVersion=206] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:49.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=206] [2025/04/04 10:50: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=206] ["take time"=7.377302ms] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.359 +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-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.365 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:49.375 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=125.842Β΅s] [gotSchemaVersion=207] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:49.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=207] [2025/04/04 10:50:49.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=207] ["take time"=7.089537ms] [job="ID:288, Type:drop schema, State:done, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.389 +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/04 10:50:49.394 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=288] [jobType="drop schema"] [2025/04/04 10:50:49.395 +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-04 10:50:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.411 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/04 10:50:49.412 +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/04 10:50:49.423 +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-04 10:50:49.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:49.423 +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-04 10:50:49.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:50:49.428 +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-04 10:50:49.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.440 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=604.153Β΅s] [gotSchemaVersion=208] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:49.444 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=208] [2025/04/04 10:50:49.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=208] ["take time"=7.836251ms] [job="ID:290, Type:create schema, State:done, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:49.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.456 +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-04 10:50:49.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/04 10:50:49.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 10:50:49.468 +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/04 10:50:49.482 +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-04 10:50:49.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 10:50:49.482 +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-04 10:50:49.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:49.487 +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-04 10:50:49.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.492 +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/04 10:50:49.507 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=1.492634ms] [gotSchemaVersion=209] [phyTblIDs="[291]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:49.510 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=209] [2025/04/04 10:50:49.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=209] ["take time"=8.148792ms] [job="ID:292, Type:create table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:49.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.523 +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-04 10:50:49.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:49.534 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/04 10:50:49.534 +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/04 10:50:49.540 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:49.588 +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/04 10:50:49.608 +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/04 10:50:49.622 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=53] [2025/04/04 10:50:49.622 +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/04 10:50:49.725 +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/04 10:50:49.726 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:49.727 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [2025/04/04 10:50:49.735 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:49.738 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:49.738 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 10:50:49.739 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=44.198Β΅s] [2025/04/04 10:50:49.739 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=139.464Β΅s] [] [2025/04/04 10:50:49.739 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:49.739 +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/04 10:50:49.779 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=53] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:49.799 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/04 10:50:49.799 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:49.807 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:49.807 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:49.808 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:49.808 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:49.808 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:49.808 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:49.808 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:49.808 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:49.809 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:49.809 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:49.821 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:49.823 +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/04 10:50:49.823 +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/04 10:50:49.823 +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/04 10:50:49.823 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=53] [disk-quota=348.5GiB] [2025/04/04 10:50:49.823 +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/04 10:50:49.830 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=102] [step=import] [2025/04/04 10:50:49.830 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=102] [2025/04/04 10:50:49.830 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=53] [mode=Import] [2025/04/04 10:50:49.834 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:49.838 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:49.838 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=291] [2025/04/04 10:50:49.850 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=53] [2025/04/04 10:50:49.860 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [2025/04/04 10:50:49.862 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [readDur=962.877Β΅s] [encodeDur=248.543Β΅s] [checksum="{cksum=18253638469051024344,size=74,kvs=2}"] [deliverDur=199.096Β΅s] [type=file] [takeTime=1.708098ms] [] [2025/04/04 10:50:49.863 +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/db11785f-567a-4884-9c5c-60ee3b8bf075.sst] [firstKey=7480000000000001235F728000000000000001] [lastKey=7480000000000001235F728000000000000002] [2025/04/04 10:50:49.863 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 10:50:49.863 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 10:50:49.863 +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/04 10:50:49.865 +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.875512ms] [] [2025/04/04 10:50:49.865 +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/04 10:50:49.869 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:49.891 +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/04 10:50:49.891 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:49.893 +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/04 10:50:49.904 +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/04 10:50:49.906 +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.380828ms] [] [2025/04/04 10:50:49.906 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:49.907 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=973.181Β΅s] [] [2025/04/04 10:50:49.907 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 10:50:49.907 +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/04 10:50:49.909 +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.394874ms] [] [2025/04/04 10:50:49.909 +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/04 10:50:49.912 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:49.912 +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.525513ms] [] [2025/04/04 10:50:49.912 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:49.913 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=842.775Β΅s] [] [2025/04/04 10:50:49.913 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=102] [takeTime=83.042162ms] [] [2025/04/04 10:50:49.914 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=102] [step=import] [takeTime=83.185206ms] [] [2025/04/04 10:50:49.930 +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/04 10:50:49.931 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:49.932 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:49.933 +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/04 10:50:49.964 +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/04 10:50:49.966 +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/04 10:50:49.966 +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/04 10:50:49.998 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:50.005 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/04 10:50:50.008 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:50.008 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:50.008 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:50.008 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:50.008 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:50.008 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:50.008 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:50.008 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:50.008 +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/04 10:50:50.008 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:50.008 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:50.008 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:50.010 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:50.010 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:50.010 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:50.010 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:50.010 +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=187.398265ms] [] [2025/04/04 10:50:50.012 +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/04 10:50:50.019 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=103] [step=post-process] [2025/04/04 10:50:50.019 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [2025/04/04 10:50:50.019 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [2025/04/04 10:50:50.019 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [2025/04/04 10:50:50.024 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [takeTime=5.07155ms] [] [2025/04/04 10:50:50.024 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [groupId=-1] [size=74] [kvs=2] [checksum=18253638469051024344] [2025/04/04 10:50:50.024 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [checksum="{cksum=18253638469051024344,size=74,kvs=2}"] [2025/04/04 10:50:50.024 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [weight=30] [2025/04/04 10:50:50.024 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [concurrency=15] [2025/04/04 10:50:50.026 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=291] [physicalTableID=291] [indexID=-1] [checksum=18253638469051024344] [totalKvs=2] [totalBytes=74] [2025/04/04 10:50:50.026 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:50.026 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [local="{cksum=18253638469051024344,size=74,kvs=2}"] [2025/04/04 10:50:50.027 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [takeTime=7.422186ms] [] [2025/04/04 10:50:50.027 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=103] [takeTime=7.549829ms] [] [2025/04/04 10:50:50.027 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=103] [step=post-process] [takeTime=7.666833ms] [] [2025/04/04 10:50:50.041 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:50.129 +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/04 10:50:50.129 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=53] [step=post-process] [state=running] [] [2025/04/04 10:50:50.133 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=53] [2025/04/04 10:50:50.162 +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=150.342133ms] [] [2025/04/04 10:50:50.162 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=53] [type=ImportInto] [2025/04/04 10:50:50.224 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=53] [2025/04/04 10:50:50.225 +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.6907539\n# Parse_time: 0.000094049\n# Compile_time: 0.000472298\n# Rewrite_time: 0.000170798\n# Optimize_time: 0.000240551\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS45bXMsIG9wZW46NjA1bnMsIGNsb3NlOjc4OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OS45bXMsIG9wZW46NjA1bnMsIGNsb3NlOjc4OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:50.231 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:50.231 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=53] [2025/04/04 10:50:50.239 +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-04 10:50:50.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:50.239 +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-04 10:50:50.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:50:50.244 +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-04 10:50:50.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:50.252 +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/04 10:50:50.252 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:50.267 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=1.544517ms] [gotSchemaVersion=210] [phyTblIDs="[291,293]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:50.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=210] [2025/04/04 10:50:50.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=210] ["take time"=8.765678ms] [job="ID:294, Type:truncate table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:50.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:50.282 +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/04 10:50:50.286 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=294] [jobType="truncate table"] [2025/04/04 10:50:50.287 +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-04 10:50:50.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:50.303 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/04 10:50:50.304 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:50:50.309 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:50.355 +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/04 10:50:50.374 +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/04 10:50:50.389 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=54] [2025/04/04 10:50:50.389 +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/04 10:50:50.492 +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/04 10:50:50.493 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:50.494 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [2025/04/04 10:50:50.502 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:50.504 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:50.504 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 10:50:50.505 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=67.244Β΅s] [2025/04/04 10:50:50.505 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=170.889Β΅s] [] [2025/04/04 10:50:50.505 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:50.505 +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/04 10:50:50.538 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:50.557 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/04 10:50:50.558 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:50.566 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:50.566 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:50.566 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:50.566 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:50.566 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:50.566 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:50.567 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:50.567 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:50.567 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:50.567 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:50.579 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:50.581 +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/04 10:50:50.581 +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/04 10:50:50.581 +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/04 10:50:50.581 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=54] [disk-quota=348.5GiB] [2025/04/04 10:50:50.581 +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/04 10:50:50.588 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=104] [step=import] [2025/04/04 10:50:50.588 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=104] [2025/04/04 10:50:50.592 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:50.595 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:50.596 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=293] [2025/04/04 10:50:50.598 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=54] [mode=Import] [2025/04/04 10:50:50.617 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=54] [2025/04/04 10:50:50.635 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [2025/04/04 10:50:50.636 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [readDur=831.584Β΅s] [encodeDur=278.763Β΅s] [checksum="{cksum=5368846511036415957,size=80,kvs=2}"] [deliverDur=212.393Β΅s] [type=file] [takeTime=1.568351ms] [] [2025/04/04 10:50:50.637 +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/53e79a33-6f51-481d-94f7-743b65cf40d3.sst] [firstKey=7480000000000001255F728000000000000001] [lastKey=7480000000000001255F728000000000000002] [2025/04/04 10:50:50.637 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 10:50:50.637 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 10:50:50.637 +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/04 10:50:50.639 +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.930913ms] [] [2025/04/04 10:50:50.639 +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/04 10:50:50.643 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:50.666 +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/04 10:50:50.666 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:50.668 +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/04 10:50:50.678 +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/04 10:50:50.680 +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.403978ms] [] [2025/04/04 10:50:50.680 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:50:50.681 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=990.986Β΅s] [] [2025/04/04 10:50:50.681 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 10:50:50.681 +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/04 10:50:50.682 +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.388402ms] [] [2025/04/04 10:50:50.682 +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/04 10:50:50.686 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:50.686 +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.482153ms] [] [2025/04/04 10:50:50.686 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:50:50.687 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=815.259Β΅s] [] [2025/04/04 10:50:50.687 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=104] [takeTime=98.354703ms] [] [2025/04/04 10:50:50.687 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=104] [step=import] [takeTime=98.529857ms] [] [2025/04/04 10:50:50.796 +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/04 10:50:50.797 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:50.799 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:50.799 +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/04 10:50:50.829 +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/04 10:50:50.830 +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/04 10:50:50.830 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/04 10:50:50.831 +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/04 10:50:50.831 +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/04 10:50:50.833 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:50.833 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:50.833 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:50.833 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:50.833 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:50.833 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:50.833 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:50.833 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:50.833 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:50.833 +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/04 10:50:50.834 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:50.834 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:50.836 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:50.836 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:50.836 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:50.836 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:50.836 +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=255.207714ms] [] [2025/04/04 10:50:50.836 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/04 10:50:50.868 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:50.888 +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/04 10:50:50.896 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=105] [step=post-process] [2025/04/04 10:50:50.896 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [2025/04/04 10:50:50.896 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [2025/04/04 10:50:50.896 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [2025/04/04 10:50:50.902 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [takeTime=5.531274ms] [] [2025/04/04 10:50:50.902 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [groupId=-1] [size=80] [kvs=2] [checksum=5368846511036415957] [2025/04/04 10:50:50.902 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [checksum="{cksum=5368846511036415957,size=80,kvs=2}"] [2025/04/04 10:50:50.902 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [weight=30] [2025/04/04 10:50:50.902 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [concurrency=15] [2025/04/04 10:50:50.903 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=293] [physicalTableID=293] [indexID=-1] [checksum=5368846511036415957] [totalKvs=2] [totalBytes=80] [2025/04/04 10:50:50.904 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:50.904 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [local="{cksum=5368846511036415957,size=80,kvs=2}"] [2025/04/04 10:50:50.904 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [takeTime=7.955845ms] [] [2025/04/04 10:50:50.904 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=105] [takeTime=8.168633ms] [] [2025/04/04 10:50:50.904 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=105] [step=post-process] [takeTime=8.317681ms] [] [2025/04/04 10:50:50.926 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:50.996 +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/04 10:50:50.996 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=54] [step=post-process] [state=running] [] [2025/04/04 10:50:50.999 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=54] [2025/04/04 10:50:51.023 +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=134.659828ms] [] [2025/04/04 10:50:51.023 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/04 10:50:51.091 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=54] [2025/04/04 10:50:51.097 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:51.097 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=54] [2025/04/04 10:50:51.118 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:51.291 +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.986633699\n# Parse_time: 0.000153297\n# Compile_time: 0.000468498\n# Rewrite_time: 0.000146531\n# Optimize_time: 0.000243107\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS44bXMsIG9wZW46OTU1bnMsIGNsb3NlOjcxNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS44bXMsIG9wZW46OTU1bnMsIGNsb3NlOjcxNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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.01s) === NAME TestImportInto === RUN TestImportInto/TestJobFailWhenDispatchSubtask [2025/04/04 10:50:51.295 +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/04 10:50:51.307 +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-04 10:50:51.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:51.307 +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-04 10:50:51.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database fail_job_after_import"] [2025/04/04 10:50:51.312 +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-04 10:50:51.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.325 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=654.192Β΅s] [gotSchemaVersion=211] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:51.329 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=211] [2025/04/04 10:50:51.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=211] ["take time"=7.65052ms] [job="ID:296, Type:create schema, State:done, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.340 +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-04 10:50:51.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.350 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/04 10:50:51.350 +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/04 10:50:51.362 +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-04 10:50:51.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:51.362 +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-04 10:50:51.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 10:50:51.367 +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-04 10:50:51.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.372 +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/04 10:50:51.385 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.378516ms] [gotSchemaVersion=212] [phyTblIDs="[297]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:51.388 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=212] [2025/04/04 10:50:51.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=212] ["take time"=8.010432ms] [job="ID:298, Type:create table, State:done, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.400 +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-04 10:50:51.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.409 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/04 10:50:51.410 +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/04 10:50:51.416 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:51.465 +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/04 10:50:51.486 +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/04 10:50:51.500 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=55] [2025/04/04 10:50:51.500 +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/04 10:50:51.602 +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/04 10:50:51.603 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:51.603 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [2025/04/04 10:50:51.610 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:51.613 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:50:51.613 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 10:50:51.613 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=50.564Β΅s] [2025/04/04 10:50:51.613 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=148.924Β΅s] [] [2025/04/04 10:50:51.613 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:51.613 +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/04 10:50:51.647 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=55] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:51.666 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/04 10:50:51.666 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:51.673 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:51.673 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:51.673 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:51.673 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:51.673 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:51.673 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:51.673 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:51.674 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:51.674 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:51.674 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:51.685 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:51.686 +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/04 10:50:51.686 +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/04 10:50:51.686 +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/04 10:50:51.686 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=55] [disk-quota=348.5GiB] [2025/04/04 10:50:51.686 +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/04 10:50:51.694 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [subtaskID=106] [step=import] [2025/04/04 10:50:51.694 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=106] [2025/04/04 10:50:51.697 +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/04 10:50:51.701 +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/04 10:50:51.701 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=297] [2025/04/04 10:50:51.707 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=55] [mode=Import] [2025/04/04 10:50:51.724 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=297] [key=t.csv:0] [2025/04/04 10:50:51.726 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=55] [2025/04/04 10:50:51.726 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=297] [key=t.csv:0] [readDur=824.813Β΅s] [encodeDur=520.284Β΅s] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=32.803Β΅s] [type=file] [takeTime=1.575355ms] [] [2025/04/04 10:50:51.727 +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/85ab6b70-2ce5-41c7-aa0f-d8ec06a4d4cd.sst] [firstKey=7480000000000001295F728000000000000001] [lastKey=7480000000000001295F728000000000000002] [2025/04/04 10:50:51.727 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 10:50:51.727 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 10:50:51.727 +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/04 10:50:51.729 +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.939873ms] [] [2025/04/04 10:50:51.729 +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/04 10:50:51.734 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:51.755 +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/04 10:50:51.755 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:51.757 +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/04 10:50:51.768 +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/04 10:50:51.769 +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.393648ms] [] [2025/04/04 10:50:51.769 +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/04 10:50:51.770 +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=989.536Β΅s] [] [2025/04/04 10:50:51.771 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 10:50:51.771 +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/04 10:50:51.772 +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.338166ms] [] [2025/04/04 10:50:51.772 +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/04 10:50:51.776 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 10:50:51.776 +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.991887ms] [] [2025/04/04 10:50:51.776 +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/04 10:50:51.777 +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=840.806Β΅s] [] [2025/04/04 10:50:51.777 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=106] [takeTime=83.439411ms] [] [2025/04/04 10:50:51.777 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [subtaskID=106] [step=import] [takeTime=83.570199ms] [] [2025/04/04 10:50:51.806 +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/04 10:50:51.807 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:51.808 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:51.808 +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/04 10:50:51.826 +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/04 10:50:51.826 +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/04 10:50:51.838 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/04 10:50:51.841 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:51.841 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:51.841 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:51.841 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:51.841 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:51.841 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:51.841 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:51.841 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:51.841 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:51.841 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:51.841 +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/04 10:50:51.841 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:51.843 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:51.843 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:51.843 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:51.843 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:51.843 +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=156.763518ms] [] [2025/04/04 10:50:51.843 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=55] [type=ImportInto] [2025/04/04 10:50:51.907 +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/04 10:50:51.908 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [step=import] [mode=Normal] [2025/04/04 10:50:51.912 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=55] [2025/04/04 10:50:52.002 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=55] [2025/04/04 10:50:52.008 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:52.008 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=55] [2025/04/04 10:50:52.026 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:52.098 +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/04 10:50:52.099 +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.688317565\n# Parse_time: 0.000083546\n# Compile_time: 0.000417117\n# Rewrite_time: 0.000132907\n# Optimize_time: 0.000228978\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4Ny42bXMsIG9wZW46NjMwbnMsIGNsb3NlOjc3OW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2ODcuNm1zLCBvcGVuOjYzMG5zLCBjbG9zZTo3NzlucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:52.124 +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/04 10:50:52.136 +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-04 10:50:52.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:52.136 +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-04 10:50:52.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE kill_job;"] [2025/04/04 10:50:52.140 +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-04 10:50:52.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:52.153 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=715.547Β΅s] [gotSchemaVersion=213] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:52.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=213] [2025/04/04 10:50:52.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=213] ["take time"=7.849215ms] [job="ID:300, Type:create schema, State:done, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:52.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:52.169 +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-04 10:50:52.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:52.178 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/04 10:50:52.178 +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/04 10:50:52.191 +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-04 10:50:52.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:52.191 +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-04 10:50:52.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [2025/04/04 10:50:52.196 +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-04 10:50:52.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:52.201 +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/04 10:50:52.215 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.602659ms] [gotSchemaVersion=214] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:52.219 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=214] [2025/04/04 10:50:52.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=214] ["take time"=8.673438ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:52.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:52.231 +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-04 10:50:52.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:52.242 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/04 10:50:52.243 +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/04 10:50:52.249 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:52.293 +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/04 10:50:52.311 +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/04 10:50:52.326 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=56] [2025/04/04 10:50:52.326 +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/04 10:50:52.428 +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/04 10:50:52.429 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:52.430 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [2025/04/04 10:50:52.438 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:52.440 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:52.440 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=8] [2025/04/04 10:50:52.440 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=77.125Β΅s] [2025/04/04 10:50:52.441 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=182.979Β΅s] [] [2025/04/04 10:50:52.441 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:52.441 +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/04 10:50:52.480 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=56] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:52.500 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/04 10:50:52.500 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:52.508 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:52.508 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:52.508 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:52.508 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:52.508 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:52.508 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:52.508 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:52.508 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:52.509 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:52.509 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:52.520 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:52.522 +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/04 10:50:52.522 +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/04 10:50:52.522 +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/04 10:50:52.522 +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/04 10:50:52.522 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=56] [disk-quota=348.5GiB] [2025/04/04 10:50:52.529 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [subtaskID=107] [step=import] [2025/04/04 10:50:52.529 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=107] [2025/04/04 10:50:52.534 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=56] [mode=Import] [2025/04/04 10:50:52.534 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 10:50:52.538 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 10:50:52.538 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=301] [2025/04/04 10:50:52.553 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=56] [2025/04/04 10:50:52.560 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [2025/04/04 10:50:52.562 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [readDur=836.948Β΅s] [encodeDur=418.293Β΅s] [checksum="{cksum=11381722441307210293,size=37,kvs=1}"] [deliverDur=245.605Β΅s] [type=file] [takeTime=1.737917ms] [] [2025/04/04 10:50:52.563 +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/74fede9d-d1aa-4177-96e6-acc0625420b7.sst] [firstKey=74800000000000012D5F728000000000000001] [lastKey=74800000000000012D5F728000000000000001] [2025/04/04 10:50:52.563 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 10:50:52.563 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 10:50:52.563 +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/04 10:50:52.565 +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.838191ms] [] [2025/04/04 10:50:52.565 +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/04 10:50:52.569 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:52.591 +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/04 10:50:52.591 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:52.592 +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/04 10:50:52.603 +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/04 10:50:52.605 +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.02438ms] [] [2025/04/04 10:50:52.605 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 10:50:52.606 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [takeTime=993.196Β΅s] [] [2025/04/04 10:50:52.606 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 10:50:52.606 +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/04 10:50:52.608 +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.393102ms] [] [2025/04/04 10:50:52.608 +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/04 10:50:52.612 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 10:50:52.612 +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.885009ms] [] [2025/04/04 10:50:52.612 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 10:50:52.613 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [takeTime=1.036208ms] [] [2025/04/04 10:50:52.613 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=107] [takeTime=83.471269ms] [] [2025/04/04 10:50:52.613 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [subtaskID=107] [step=import] [takeTime=83.620421ms] [] [2025/04/04 10:50:52.622 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/04 10:50:52.625 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:52.625 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:52.625 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:52.625 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:52.625 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:52.625 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:52.625 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:52.625 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:52.625 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:52.625 +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/04 10:50:52.625 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:52.625 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:52.627 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:52.627 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:52.627 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:52.627 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:52.627 +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=105.058615ms] [] [2025/04/04 10:50:52.627 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=56] [type=ImportInto] [2025/04/04 10:50:52.627 +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/04 10:50:52.629 +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/04 10:50:52.734 +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/04 10:50:52.735 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=56] [step=import] [mode=Normal] [2025/04/04 10:50:52.753 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=56] [2025/04/04 10:50:52.828 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=56] [2025/04/04 10:50:52.833 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:52.833 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=56] [2025/04/04 10:50:52.855 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:52.865 +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.621892823\n# Parse_time: 0.000247842\n# Compile_time: 0.000434595\n# Rewrite_time: 0.000136532\n# Optimize_time: 0.000038076\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjYyMW1zLCBvcGVuOjYxMG5zLCBjbG9zZTo2NzRucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTo2MjFtcywgb3Blbjo2MTBucywgY2xvc2U6Njc0bnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\nIMPORT INTO `kill_job`.`t` FROM 'gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestKillBeforeFinish (1.77s) === NAME TestImportInto === RUN TestImportInto/TestLoadSQLDump [2025/04/04 10:50:53.888 +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-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:53.888 +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-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 10:50:53.893 +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-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:53.908 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=166.683Β΅s] [gotSchemaVersion=215] [phyTblIDs="[231,233]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:53.911 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=215] [2025/04/04 10:50:53.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=215] ["take time"=6.677051ms] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:53.922 +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-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:53.937 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=142.863Β΅s] [gotSchemaVersion=216] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:53.940 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=216] [2025/04/04 10:50:53.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=216] ["take time"=10.658892ms] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:53.952 +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-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:53.957 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:50:53.968 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=129.529Β΅s] [gotSchemaVersion=217] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:50:53.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=217] [2025/04/04 10:50:53.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=217] ["take time"=7.3775ms] [job="ID:303, Type:drop schema, State:done, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:53.982 +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/04 10:50:53.987 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop schema"] [2025/04/04 10:50:53.988 +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-04 10:50:53.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:54.004 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/04 10:50:54.004 +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/04 10:50:54.015 +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-04 10:50:54.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:54.015 +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-04 10:50:54.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 10:50:54.020 +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-04 10:50:54.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:54.032 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=592.744Β΅s] [gotSchemaVersion=218] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:54.035 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=305] [version=218] [2025/04/04 10:50: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=218] ["take time"=7.486563ms] [job="ID:305, Type:create schema, State:done, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:54.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:54.046 +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-04 10:50:54.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:54.055 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=305] [2025/04/04 10:50:54.055 +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/04 10:50:54.067 +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-04 10:50:54.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:54.067 +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-04 10:50:54.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [2025/04/04 10:50:54.073 +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-04 10:50:54.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:54.078 +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/04 10:50:54.092 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=1.46306ms] [gotSchemaVersion=219] [phyTblIDs="[306]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:54.096 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=307] [version=219] [2025/04/04 10:50:54.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=219] ["take time"=8.168521ms] [job="ID:307, Type:create table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:54.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:54.108 +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-04 10:50:54.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:54.118 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=307] [2025/04/04 10:50:54.119 +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/04 10:50:54.125 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:54.177 +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/04 10:50:54.195 +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/04 10:50:54.208 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=57] [2025/04/04 10:50:54.208 +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/04 10:50:54.310 +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/04 10:50:54.311 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:54.312 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [2025/04/04 10:50:54.319 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:54.321 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:54.321 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/04 10:50:54.321 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=45.189Β΅s] [2025/04/04 10:50:54.321 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=138.156Β΅s] [] [2025/04/04 10:50:54.321 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:54.321 +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/04 10:50:54.358 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:54.377 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/04 10:50:54.377 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:54.385 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:54.385 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:54.386 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:54.386 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:54.386 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:54.386 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:54.386 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:54.386 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:54.387 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:54.387 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:54.399 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:54.401 +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/04 10:50:54.401 +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/04 10:50:54.401 +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/04 10:50:54.401 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=57] [disk-quota=348.5GiB] [2025/04/04 10:50:54.401 +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/04 10:50:54.408 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=108] [step=import] [2025/04/04 10:50:54.408 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=108] [2025/04/04 10:50:54.412 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:50:54.415 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:54.415 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=306] [2025/04/04 10:50:54.416 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=57] [mode=Import] [2025/04/04 10:50:54.434 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=57] [2025/04/04 10:50:54.454 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=306] [key=p:0] [2025/04/04 10:50:54.455 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=306] [key=p:0] [readDur=897.746Β΅s] [encodeDur=269.538Β΅s] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=191.642Β΅s] [type=file] [takeTime=1.601319ms] [] [2025/04/04 10:50:54.456 +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/bc15fae3-cd70-4c08-be4f-9fe317267e56.sst] [firstKey=7480000000000001325F728000000000000001] [lastKey=7480000000000001325F728000000000000002] [2025/04/04 10:50:54.456 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 10:50:54.456 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 10:50:54.456 +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/04 10:50:54.458 +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.900826ms] [] [2025/04/04 10:50:54.458 +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/04 10:50:54.463 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:54.485 +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/04 10:50:54.486 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:54.487 +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/04 10:50:54.499 +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/04 10:50:54.501 +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=42.403608ms] [] [2025/04/04 10:50:54.501 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:50:54.502 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.183288ms] [] [2025/04/04 10:50:54.502 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 10:50:54.502 +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/04 10:50:54.503 +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.356342ms] [] [2025/04/04 10:50:54.503 +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/04 10:50:54.507 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:54.507 +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.747581ms] [] [2025/04/04 10:50:54.507 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:54.508 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=815.65Β΅s] [] [2025/04/04 10:50:54.508 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=108] [takeTime=100.095935ms] [] [2025/04/04 10:50:54.509 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=108] [step=import] [takeTime=101.35973ms] [] [2025/04/04 10:50:54.614 +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/04 10:50:54.615 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:54.616 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:54.616 +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/04 10:50:54.646 +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/04 10:50:54.647 +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/04 10:50:54.647 +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/04 10:50:54.648 +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/04 10:50:54.648 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/04 10:50:54.651 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:54.651 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:54.651 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:54.651 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:54.651 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:54.651 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:54.651 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:54.651 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:54.651 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:54.651 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:54.651 +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/04 10:50:54.651 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:54.653 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:54.653 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:54.653 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:54.653 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:54.653 +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=252.47611ms] [] [2025/04/04 10:50:54.654 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/04 10:50:54.677 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:54.697 +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/04 10:50:54.705 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=109] [step=post-process] [2025/04/04 10:50:54.705 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [2025/04/04 10:50:54.705 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [2025/04/04 10:50:54.705 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [2025/04/04 10:50:54.711 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [takeTime=5.745544ms] [] [2025/04/04 10:50:54.711 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [groupId=-1] [size=66] [kvs=2] [checksum=4095868306028115111] [2025/04/04 10:50:54.711 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:50:54.711 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [weight=30] [2025/04/04 10:50:54.711 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [concurrency=15] [2025/04/04 10:50:54.713 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=306] [physicalTableID=306] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 10:50:54.714 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:54.714 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:50:54.714 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [takeTime=8.294958ms] [] [2025/04/04 10:50:54.714 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=109] [takeTime=8.458027ms] [] [2025/04/04 10:50:54.714 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=109] [step=post-process] [takeTime=8.597158ms] [] [2025/04/04 10:50:54.796 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:54.815 +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/04 10:50:54.815 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=57] [step=post-process] [state=running] [] [2025/04/04 10:50:54.818 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=57] [2025/04/04 10:50:54.848 +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=150.319982ms] [] [2025/04/04 10:50:54.848 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/04 10:50:54.910 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=57] [2025/04/04 10:50:54.917 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:54.917 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=57] [2025/04/04 10:50:54.938 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:55.110 +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.99057539\n# Parse_time: 0.000094491\n# Compile_time: 0.000478897\n# Rewrite_time: 0.000151115\n# Optimize_time: 0.000036773\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS43bXMsIG9wZW46NjQ0bnMsIGNsb3NlOjYwOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OS43bXMsIG9wZW46NjQ0bnMsIGNsb3NlOjYwOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\nIMPORT INTO `load_csv`.`t` FROM 'gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/' FORMAT 'SQL';"] [2025/04/04 10:50:55.124 +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-04 10:50:55.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:55.124 +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-04 10:50:55.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_csv.t;"] [2025/04/04 10:50:55.129 +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-04 10:50:55.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.136 +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/04 10:50:55.150 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.37851ms] [gotSchemaVersion=220] [phyTblIDs="[306,308]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:55.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=309] [version=220] [2025/04/04 10:50:55.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=220] ["take time"=8.460805ms] [job="ID:309, Type:truncate table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:55.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.164 +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/04 10:50:55.169 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=309] [jobType="truncate table"] [2025/04/04 10:50:55.169 +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-04 10:50:55.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=309] [2025/04/04 10:50:55.186 +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/04 10:50:55.230 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestLoadSQLDump4031626997/001/test.sql\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/04 10:50:55.230 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:55.230 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/04 10:50:55.230 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=38.199Β΅s] [2025/04/04 10:50:55.230 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=130.127Β΅s] [] [2025/04/04 10:50:55.247 +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/04 10:50:55.262 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=58] [2025/04/04 10:50:55.262 +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/04 10:50:55.364 +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/04 10:50:55.365 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:55.366 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [2025/04/04 10:50:55.373 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:55.373 +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/04 10:50:55.407 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=58] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:50:55.427 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/04 10:50:55.433 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:55.433 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:55.434 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:55.434 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:55.434 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:55.434 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:55.434 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:55.434 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:55.435 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:55.435 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:55.446 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:55.448 +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/04 10:50:55.448 +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/04 10:50:55.448 +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/04 10:50:55.448 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=58] [disk-quota=348.5GiB] [2025/04/04 10:50:55.448 +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/04 10:50:55.456 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=110] [step=import] [2025/04/04 10:50:55.456 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=110] [2025/04/04 10:50:55.460 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:50:55.463 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:55.463 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=308] [2025/04/04 10:50:55.470 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=58] [mode=Import] [2025/04/04 10:50:55.474 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=308] [key=test.sql:0] [2025/04/04 10:50:55.474 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=308] [key=test.sql:0] [readDur=59.047Β΅s] [encodeDur=250.5Β΅s] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=188.695Β΅s] [type=file] [takeTime=722.835Β΅s] [] [2025/04/04 10:50:55.475 +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/33524010-0089-4701-8700-7a1c4c0f2e4e.sst] [firstKey=7480000000000001345F728000000000000001] [lastKey=7480000000000001345F728000000000000002] [2025/04/04 10:50:55.475 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 10:50:55.475 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 10:50:55.475 +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/04 10:50:55.478 +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.565434ms] [] [2025/04/04 10:50:55.478 +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/04 10:50:55.482 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:55.492 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=58] [2025/04/04 10:50:55.504 +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/04 10:50:55.504 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:55.506 +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/04 10:50:55.516 +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/04 10:50:55.518 +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.097879ms] [] [2025/04/04 10:50:55.518 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:50:55.519 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=967.303Β΅s] [] [2025/04/04 10:50:55.519 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 10:50:55.519 +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/04 10:50:55.521 +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.312998ms] [] [2025/04/04 10:50:55.521 +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/04 10:50:55.524 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:55.524 +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.52323ms] [] [2025/04/04 10:50:55.524 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:50:55.525 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=807.356Β΅s] [] [2025/04/04 10:50:55.525 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=110] [takeTime=69.255501ms] [] [2025/04/04 10:50:55.525 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=110] [step=import] [takeTime=69.416865ms] [] [2025/04/04 10:50:55.569 +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/04 10:50:55.570 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:55.571 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:55.571 +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/04 10:50:55.603 +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/04 10:50:55.604 +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/04 10:50:55.604 +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/04 10:50:55.639 +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/04 10:50:55.645 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/04 10:50:55.648 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:55.648 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:55.648 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:55.648 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:55.648 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:55.648 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:55.648 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:55.648 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:55.648 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:55.648 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:55.648 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:55.648 +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/04 10:50:55.651 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:55.651 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:55.651 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:55.651 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:55.651 +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=202.424602ms] [] [2025/04/04 10:50:55.652 +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/04 10:50:55.659 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=111] [step=post-process] [2025/04/04 10:50:55.659 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [2025/04/04 10:50:55.659 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [2025/04/04 10:50:55.659 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [2025/04/04 10:50:55.664 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [takeTime=4.88813ms] [] [2025/04/04 10:50:55.664 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [groupId=-1] [size=66] [kvs=2] [checksum=4095868306028115111] [2025/04/04 10:50:55.664 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:50:55.664 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [weight=30] [2025/04/04 10:50:55.664 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [concurrency=15] [2025/04/04 10:50:55.667 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=308] [physicalTableID=308] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 10:50:55.667 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:55.667 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 10:50:55.667 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [takeTime=8.279178ms] [] [2025/04/04 10:50:55.667 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=111] [takeTime=8.412049ms] [] [2025/04/04 10:50:55.668 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=111] [step=post-process] [takeTime=8.532117ms] [] [2025/04/04 10:50:55.682 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:55.769 +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/04 10:50:55.769 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=58] [step=post-process] [state=running] [] [2025/04/04 10:50:55.772 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=58] [2025/04/04 10:50:55.800 +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=148.011343ms] [] [2025/04/04 10:50:55.800 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=58] [type=ImportInto] [2025/04/04 10:50:55.862 +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.676279854\n# Parse_time: 0.000078072\n# Compile_time: 0.000419717\n# Rewrite_time: 0.000134818\n# Optimize_time: 0.000211353\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3NS42bXMsIG9wZW46NjE5bnMsIGNsb3NlOjg1NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY3NS42bXMsIG9wZW46NjE5bnMsIGNsb3NlOjg1NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestLoadSQLDump4031626997/001/test.sql' FORMAT 'SQL';"] [2025/04/04 10:50:55.864 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=58] --- PASS: TestImportInto/TestLoadSQLDump (1.99s) === NAME TestImportInto === RUN TestImportInto/TestMaxWriteSpeed [2025/04/04 10:50:55.867 +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/04 10:50:55.869 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:55.869 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=58] [2025/04/04 10:50:55.878 +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-04 10:50:55.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:55.878 +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-04 10:50:55.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_write_speed;"] [2025/04/04 10:50:55.883 +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-04 10:50:55.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.889 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:55.895 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=627.434Β΅s] [gotSchemaVersion=221] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:50:55.899 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=311] [version=221] [2025/04/04 10:50:55.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=221] ["take time"=7.367467ms] [job="ID:311, Type:create schema, State:done, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:55.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.910 +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-04 10:50:55.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.919 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=311] [2025/04/04 10:50:55.919 +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/04 10:50:55.931 +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-04 10:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:55.931 +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-04 10:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_write_speed.t(a int, b int)"] [2025/04/04 10:50:55.936 +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-04 10:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.940 +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/04 10:50:55.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.363789ms] [gotSchemaVersion=222] [phyTblIDs="[312]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:55.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=222] [2025/04/04 10:50:55.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=222] ["take time"=7.8972ms] [job="ID:313, Type:create table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.968 +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-04 10:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:55.978 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/04 10:50:55.978 +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/04 10:50:55.987 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:56.033 +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/04 10:50:56.051 +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/04 10:50:56.064 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=59] [2025/04/04 10:50:56.064 +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/04 10:50:56.166 +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/04 10:50:56.167 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:56.168 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [2025/04/04 10:50:56.176 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:56.178 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:56.178 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/04 10:50:56.178 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=44.358Β΅s] [2025/04/04 10:50:56.178 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=141.884Β΅s] [] [2025/04/04 10:50:56.178 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:56.178 +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/04 10:50:56.207 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=59] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:56.225 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/04 10:50:56.226 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:56.233 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:56.233 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:56.234 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:56.234 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:56.234 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:56.234 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:56.234 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:56.234 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:56.235 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:56.235 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:56.246 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:56.247 +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/04 10:50:56.247 +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/04 10:50:56.247 +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/04 10:50:56.247 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=59] [disk-quota=348.5GiB] [2025/04/04 10:50:56.247 +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/04 10:50:56.254 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=112] [step=import] [2025/04/04 10:50:56.254 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=112] [2025/04/04 10:50:56.257 +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/04 10:50:56.260 +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/04 10:50:56.261 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=312] [2025/04/04 10:50:56.272 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=59] [mode=Import] [2025/04/04 10:50:56.273 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [2025/04/04 10:50:56.291 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=59] [2025/04/04 10:50:56.300 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [readDur=5.729836ms] [encodeDur=17.199944ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.560514ms] [type=file] [takeTime=27.20624ms] [] [2025/04/04 10:50:56.301 +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/155eeffc-dc20-47db-a594-c148027a64ab.sst] [firstKey=7480000000000001385F728000000000000001] [lastKey=7480000000000001385F7280000000000003E8] [2025/04/04 10:50:56.301 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 10:50:56.301 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 10:50:56.301 +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/04 10:50:56.303 +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.772283ms] [] [2025/04/04 10:50:56.303 +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/04 10:50:56.307 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:56.328 +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/04 10:50:56.328 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:56.330 +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/04 10:50:56.345 +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/04 10:50:56.346 +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.283704ms] [] [2025/04/04 10:50:56.347 +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/04 10:50:56.348 +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.050148ms] [] [2025/04/04 10:50:56.348 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 10:50:56.348 +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/04 10:50:56.349 +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.37017ms] [] [2025/04/04 10:50:56.349 +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/04 10:50:56.353 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:50:56.353 +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.491831ms] [] [2025/04/04 10:50:56.353 +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/04 10:50:56.354 +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=791.936Β΅s] [] [2025/04/04 10:50:56.354 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=112] [takeTime=99.369281ms] [] [2025/04/04 10:50:56.354 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=112] [step=import] [takeTime=99.503719ms] [] [2025/04/04 10:50:56.370 +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/04 10:50:56.371 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:56.372 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [2025/04/04 10:50:56.372 +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/04 10:50:56.407 +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/04 10:50:56.408 +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/04 10:50:56.408 +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/04 10:50:56.441 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:50:56.447 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/04 10:50:56.450 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:56.450 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:56.450 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:56.450 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:56.450 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:56.450 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:56.450 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:56.450 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:56.450 +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/04 10:50:56.450 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:56.450 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:56.450 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:56.452 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:50:56.452 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:56.452 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:56.452 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:56.452 +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=204.387989ms] [] [2025/04/04 10:50:56.453 +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/04 10:50:56.460 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=113] [step=post-process] [2025/04/04 10:50:56.460 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [2025/04/04 10:50:56.460 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [2025/04/04 10:50:56.460 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [2025/04/04 10:50:56.466 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [takeTime=5.833461ms] [] [2025/04/04 10:50:56.466 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [groupId=-1] [size=34744] [kvs=1000] [checksum=16176383463214450733] [2025/04/04 10:50:56.466 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/04 10:50:56.466 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [weight=30] [2025/04/04 10:50:56.467 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [concurrency=15] [2025/04/04 10:50:56.469 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=312] [physicalTableID=312] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/04 10:50:56.469 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:50:56.469 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [local="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/04 10:50:56.469 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [takeTime=8.862475ms] [] [2025/04/04 10:50:56.469 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=113] [takeTime=8.994209ms] [] [2025/04/04 10:50:56.469 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=113] [step=post-process] [takeTime=9.147852ms] [] [2025/04/04 10:50:56.493 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:50:56.571 +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/04 10:50:56.571 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=59] [step=post-process] [state=running] [] [2025/04/04 10:50:56.574 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=59] [2025/04/04 10:50:56.592 +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.606518ms] [] [2025/04/04 10:50:56.592 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=59] [type=ImportInto] [2025/04/04 10:50:56.666 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=59] [2025/04/04 10:50:56.668 +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.685713863\n# Parse_time: 0.000073466\n# Compile_time: 0.00044149\n# Rewrite_time: 0.000130631\n# Optimize_time: 0.000211446\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC44bXMsIG9wZW46NjAxbnMsIGNsb3NlOjc4OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NC44bXMsIG9wZW46NjAxbnMsIGNsb3NlOjc4OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:50:56.673 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:50:56.673 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=59] [2025/04/04 10:50:56.687 +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-04 10:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_test_write_speed.t;"] [2025/04/04 10:50:56.687 +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-04 10:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:56.695 +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-04 10:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:56.695 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:50:56.703 +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/04 10:50:56.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.633664ms] [gotSchemaVersion=223] [phyTblIDs="[312,314]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:56.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=315] [version=223] [2025/04/04 10:50:56.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=223] ["take time"=10.243995ms] [job="ID:315, Type:truncate table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:56.736 +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/04 10:50:56.741 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=315] [jobType="truncate table"] [2025/04/04 10:50:56.742 +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-04 10:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:56.759 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=315] [2025/04/04 10:50:56.759 +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/04 10:50:56.765 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:56.811 +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/04 10:50:56.830 +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/04 10:50:56.844 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=60] [2025/04/04 10:50:56.844 +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/04 10:50:56.947 +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/04 10:50:56.948 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:50:56.949 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [2025/04/04 10:50:56.957 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:56.959 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:50:56.959 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/04 10:50:56.959 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=44.279Β΅s] [2025/04/04 10:50:56.959 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=143.352Β΅s] [] [2025/04/04 10:50:56.960 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:50:56.960 +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/04 10:50:56.989 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=60] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:50:57.008 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/04 10:50:57.008 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:50:57.016 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:50:57.016 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:50:57.016 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:57.016 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:50:57.017 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:57.017 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:57.017 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:57.017 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:57.017 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:57.017 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:57.028 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:50:57.030 +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/04 10:50:57.030 +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/04 10:50:57.030 +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/04 10:50:57.030 +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/04 10:50:57.030 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=60] [disk-quota=348.5GiB] [2025/04/04 10:50:57.038 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=114] [step=import] [2025/04/04 10:50:57.038 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=114] [2025/04/04 10:50:57.042 +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/04 10:50:57.045 +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/04 10:50:57.045 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=314] [2025/04/04 10:50:57.052 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=60] [mode=Import] [2025/04/04 10:50:57.067 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [2025/04/04 10:50:57.070 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=60] [2025/04/04 10:50:57.094 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [readDur=6.097055ms] [encodeDur=16.908044ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.643532ms] [type=file] [takeTime=27.300147ms] [] [2025/04/04 10:50:57.095 +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/b56e763b-721f-4715-b18b-77d60cb383e1.sst] [firstKey=74800000000000013A5F728000000000000001] [lastKey=74800000000000013A5F7280000000000003E8] [2025/04/04 10:50:57.095 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 10:50:57.095 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 10:50:57.095 +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/04 10:50:57.097 +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.018454ms] [] [2025/04/04 10:50:57.097 +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/04 10:50:57.101 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:50:57.123 +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/04 10:50:57.123 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:50:57.125 +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/04 10:50:58.682 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:50:59.021 +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/04 10:51:06.712 +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/04 10:51:06.714 +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.616587919s] [] [2025/04/04 10:51:06.714 +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/04 10:51:06.715 +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.269402ms] [] [2025/04/04 10:51:06.715 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 10:51:06.715 +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/04 10:51:06.717 +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.657471ms] [] [2025/04/04 10:51:06.717 +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/04 10:51:06.721 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 10:51:06.721 +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.945677ms] [] [2025/04/04 10:51:06.721 +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/04 10:51:06.722 +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.085825ms] [] [2025/04/04 10:51:06.723 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=114] [takeTime=9.684675427s] [] [2025/04/04 10:51:06.723 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=114] [step=import] [takeTime=9.684855594s] [] [2025/04/04 10:51:06.751 +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/04 10:51:06.752 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:06.753 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:06.753 +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/04 10:51:06.787 +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/04 10:51:06.788 +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/04 10:51:06.788 +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/04 10:51:06.816 +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/04 10:51:06.823 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/04 10:51:06.826 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:06.826 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:06.826 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:06.826 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:06.826 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:06.826 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:06.826 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:06.826 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:06.826 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:06.826 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:06.826 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:06.826 +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/04 10:51:06.828 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:06.828 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:06.828 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:06.828 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:06.828 +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.797888547s] [] [2025/04/04 10:51:06.829 +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/04 10:51:06.837 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=115] [step=post-process] [2025/04/04 10:51:06.837 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [2025/04/04 10:51:06.837 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [2025/04/04 10:51:06.837 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [2025/04/04 10:51:06.842 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [takeTime=5.518253ms] [] [2025/04/04 10:51:06.843 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [groupId=-1] [size=34744] [kvs=1000] [checksum=16176383463214450733] [2025/04/04 10:51:06.843 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/04 10:51:06.843 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [weight=30] [2025/04/04 10:51:06.843 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [concurrency=15] [2025/04/04 10:51:06.845 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=314] [physicalTableID=314] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/04 10:51:06.846 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:06.846 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [local="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/04 10:51:06.846 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [takeTime=8.836454ms] [] [2025/04/04 10:51:06.846 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=115] [takeTime=9.000452ms] [] [2025/04/04 10:51:06.846 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=115] [step=post-process] [takeTime=9.13559ms] [] [2025/04/04 10:51:06.870 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:06.951 +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/04 10:51:06.951 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=60] [step=post-process] [state=running] [] [2025/04/04 10:51:06.954 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=60] [2025/04/04 10:51:06.983 +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=153.495927ms] [] [2025/04/04 10:51:06.983 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=60] [type=ImportInto] [2025/04/04 10:51:07.046 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=60] [2025/04/04 10:51:07.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: 10.288732015\n# Parse_time: 0.000089962\n# Compile_time: 0.000467217\n# Rewrite_time: 0.0001525\n# Optimize_time: 0.000682835\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEwLjNzLCBvcGVuOjczMm5zLCBjbG9zZTo1OTNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEwLjNzLCBvcGVuOjczMm5zLCBjbG9zZTo1OTNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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';"] [2025/04/04 10:51:07.053 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:07.053 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=60] --- PASS: TestImportInto/TestMaxWriteSpeed (11.19s) === NAME TestImportInto === RUN TestImportInto/TestMultiValueIndex [2025/04/04 10:51:07.065 +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-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:07.065 +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-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 10:51:07.070 +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-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.073 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:07.086 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=234.729Β΅s] [gotSchemaVersion=224] [phyTblIDs="[308]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:07.090 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=224] [2025/04/04 10:51:07.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=224] ["take time"=7.316048ms] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.101 +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-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=131.995Β΅s] [gotSchemaVersion=225] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:07.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=225] [2025/04/04 10:51:07.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=225] ["take time"=7.229135ms] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.127 +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-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.132 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:51:07.142 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=134.771Β΅s] [gotSchemaVersion=226] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:07.146 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=226] [2025/04/04 10:51:07.147 +00:00] [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.465613ms] [job="ID:316, Type:drop schema, State:done, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.156 +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/04 10:51:07.160 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=316] [jobType="drop schema"] [2025/04/04 10:51:07.161 +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-04 10:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.176 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/04 10:51:07.177 +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/04 10:51:07.188 +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-04 10:51:07.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:07.188 +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-04 10:51:07.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 10:51:07.193 +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-04 10:51:07.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.205 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=656.113Β΅s] [gotSchemaVersion=227] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:07.209 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=227] [2025/04/04 10:51: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=227] ["take time"=7.204293ms] [job="ID:318, Type:create schema, State:done, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:07.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.220 +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-04 10:51:07.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.229 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/04 10:51:07.230 +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/04 10:51:07.242 +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-04 10:51:07.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:07.242 +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-04 10:51:07.201 +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/04 10:51:07.248 +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-04 10:51:07.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.253 +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/04 10:51:07.268 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=1.828802ms] [gotSchemaVersion=228] [phyTblIDs="[319]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:07.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=228] [2025/04/04 10:51:07.273 +00:00] [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"=8.524834ms] [job="ID:320, Type:create table, State:done, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:07.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.284 +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-04 10:51:07.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:07.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/04 10:51:07.296 +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/04 10:51:07.302 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:07.346 +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/04 10:51:07.365 +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/04 10:51:07.379 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=61] [2025/04/04 10:51:07.379 +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/04 10:51:07.481 +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/04 10:51:07.483 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:07.484 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [2025/04/04 10:51:07.492 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:07.494 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:51:07.494 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=27] [2025/04/04 10:51:07.494 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=27] [cost=41.469Β΅s] [2025/04/04 10:51:07.494 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=137.349Β΅s] [] [2025/04/04 10:51:07.495 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:07.495 +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/04 10:51:07.528 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=61] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:07.547 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/04 10:51:07.548 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:07.555 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:07.555 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:07.556 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:07.556 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:07.556 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:07.556 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:07.556 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:07.556 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:07.557 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:07.557 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:07.568 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:07.570 +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/04 10:51:07.570 +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/04 10:51:07.570 +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/04 10:51:07.570 +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/04 10:51:07.570 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=61] [disk-quota=348.5GiB] [2025/04/04 10:51:07.578 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=116] [step=import] [2025/04/04 10:51:07.578 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=116] [2025/04/04 10:51:07.581 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:51:07.584 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:51:07.585 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=319] [2025/04/04 10:51:07.588 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=61] [mode=Import] [2025/04/04 10:51:07.606 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=61] [2025/04/04 10:51:07.607 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=319] [key=1.csv:0] [2025/04/04 10:51:07.608 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=319] [key=1.csv:0] [readDur=65.871Β΅s] [encodeDur=737.415Β΅s] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [deliverDur=246.417Β΅s] [type=file] [takeTime=1.341246ms] [] [2025/04/04 10:51:07.609 +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/893647f3-8368-41c7-9fe1-a1aba1a4f6ce.sst] [firstKey=74800000000000013F5F728000000000000001] [lastKey=74800000000000013F5F728000000000000002] [2025/04/04 10:51:07.609 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 10:51:07.609 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 10:51:07.609 +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/04 10:51:07.612 +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.11889ms] [] [2025/04/04 10:51:07.612 +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/04 10:51:07.616 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:07.637 +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/04 10:51:07.637 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:07.639 +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/04 10:51:07.650 +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/04 10:51:07.651 +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.781973ms] [] [2025/04/04 10:51:07.651 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 10:51:07.652 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=955.187Β΅s] [] [2025/04/04 10:51:07.653 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 10:51:07.653 +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/04 10:51:07.653 +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/ea218f29-6a1d-4bf7-8dfe-09010b9bb4ed.sst] [firstKey=74800000000000013F5F698000000000000001038000000000000001038000000000000001] [lastKey=74800000000000013F5F698000000000000001038000000000000004038000000000000002] [2025/04/04 10:51:07.655 +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.363464ms] [] [2025/04/04 10:51:07.655 +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/04 10:51:07.659 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:07.681 +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/04 10:51:07.681 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:07.683 +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/04 10:51:07.693 +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/04 10:51:07.695 +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=40.120592ms] [] [2025/04/04 10:51:07.695 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 10:51:07.696 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=919.943Β΅s] [] [2025/04/04 10:51:07.696 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=116] [takeTime=118.739725ms] [] [2025/04/04 10:51:07.696 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=116] [step=import] [takeTime=118.886159ms] [] [2025/04/04 10:51:07.786 +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/04 10:51:07.787 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:07.788 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:07.788 +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/04 10:51:07.818 +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/04 10:51:07.820 +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/04 10:51:07.820 +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/04 10:51:07.839 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [2025/04/04 10:51:07.839 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/04 10:51:07.843 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:07.843 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:07.843 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:07.843 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:07.843 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:07.843 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:07.843 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:07.843 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:07.843 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:07.843 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:07.843 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:07.843 +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/04 10:51:07.845 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:07.845 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:07.845 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:07.845 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:07.845 +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=274.605713ms] [] [2025/04/04 10:51:07.845 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=61] [type=ImportInto] [2025/04/04 10:51:07.858 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=61] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:07.877 +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/04 10:51:07.884 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=117] [step=post-process] [2025/04/04 10:51:07.884 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [2025/04/04 10:51:07.884 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [2025/04/04 10:51:07.885 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [2025/04/04 10:51:07.890 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [takeTime=5.486661ms] [] [2025/04/04 10:51:07.890 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [groupId=-1] [size=160] [kvs=2] [checksum=15615775900203205091] [2025/04/04 10:51:07.890 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [groupId=1] [size=228] [kvs=6] [checksum=15150038536865480860] [2025/04/04 10:51:07.890 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [2025/04/04 10:51:07.890 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [weight=30] [2025/04/04 10:51:07.890 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [concurrency=15] [2025/04/04 10:51:07.896 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=-1] [checksum=15615775900203205091] [totalKvs=2] [totalBytes=160] [2025/04/04 10:51:07.897 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=1] [checksum=15150038536865480860] [totalKvs=6] [totalBytes=228] [2025/04/04 10:51:07.897 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:07.897 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [local="{cksum=759382885805277567,size=388,kvs=8}"] [2025/04/04 10:51:07.897 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [takeTime=12.783923ms] [] [2025/04/04 10:51:07.897 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=117] [takeTime=12.944219ms] [] [2025/04/04 10:51:07.897 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=117] [step=post-process] [takeTime=13.087669ms] [] [2025/04/04 10:51:07.931 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:07.986 +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/04 10:51:07.986 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=61] [step=post-process] [state=running] [] [2025/04/04 10:51:07.989 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=61] [2025/04/04 10:51:08.014 +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=136.95822ms] [] [2025/04/04 10:51:08.014 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=61] [type=ImportInto] [2025/04/04 10:51:08.081 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=61] [2025/04/04 10:51:08.087 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:08.087 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=61] [2025/04/04 10:51:08.108 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:08.281 +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.985214717\n# Parse_time: 0.000127657\n# Compile_time: 0.00069092\n# Rewrite_time: 0.000375349\n# Optimize_time: 0.000520841\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC4xbXMsIG9wZW46NjMzbnMsIGNsb3NlOjc2NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NC4xbXMsIG9wZW46NjMzbnMsIGNsb3NlOjc2NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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.23s) === NAME TestImportInto === RUN TestImportInto/TestOtherCharset [2025/04/04 10:51:08.296 +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-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:08.296 +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-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_charset;"] [2025/04/04 10:51:08.302 +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-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.318 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=165.5Β΅s] [gotSchemaVersion=229] [phyTblIDs="[222,226]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:08.321 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=229] [2025/04/04 10:51:08.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=229] ["take time"=7.391407ms] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.333 +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-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.347 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=144.805Β΅s] [gotSchemaVersion=230] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:08.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=230] [2025/04/04 10:51:08.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=230] ["take time"=7.662206ms] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.360 +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-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.366 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:51:08.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=151.268Β΅s] [gotSchemaVersion=231] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:08.380 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=231] [2025/04/04 10:51:08.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=231] ["take time"=7.907169ms] [job="ID:321, Type:drop schema, State:done, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.391 +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/04 10:51:08.396 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop schema"] [2025/04/04 10:51:08.397 +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-04 10:51:08.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.412 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/04 10:51:08.413 +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/04 10:51:08.424 +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-04 10:51:08.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:08.424 +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-04 10:51:08.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/04 10:51:08.428 +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-04 10:51:08.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=658.625Β΅s] [gotSchemaVersion=232] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:08.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=232] [2025/04/04 10:51:08.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=232] ["take time"=7.64708ms] [job="ID:323, Type:create schema, State:done, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:08.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.457 +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-04 10:51:08.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/04 10:51:08.466 +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/04 10:51:08.478 +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-04 10:51:08.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:08.478 +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-04 10:51:08.452 +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/04 10:51:08.483 +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-04 10:51:08.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.487 +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/04 10:51:08.502 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.478774ms] [gotSchemaVersion=233] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:08.505 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=233] [2025/04/04 10:51:08.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=233] ["take time"=7.99185ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:08.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.517 +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-04 10:51:08.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.528 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/04 10:51:08.528 +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/04 10:51:08.540 +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-04 10:51:08.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:08.540 +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-04 10:51:08.501 +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/04 10:51:08.545 +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-04 10:51:08.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.550 +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/04 10:51:08.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.491082ms] [gotSchemaVersion=234] [phyTblIDs="[326]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:08.567 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=234] [2025/04/04 10:51:08.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=234] ["take time"=8.299049ms] [job="ID:327, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:08.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.579 +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-04 10:51:08.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:08.590 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/04 10:51:08.590 +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/04 10:51:08.596 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:08.640 +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/04 10:51:08.659 +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/04 10:51:08.674 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=62] [2025/04/04 10:51:08.674 +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/04 10:51:08.777 +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/04 10:51:08.778 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:08.779 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [2025/04/04 10:51:08.786 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:08.788 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8] [2025/04/04 10:51:08.788 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8] [before=536870912000] [after=29] [2025/04/04 10:51:08.789 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=42.734Β΅s] [2025/04/04 10:51:08.789 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8] [takeTime=129.446Β΅s] [] [2025/04/04 10:51:08.789 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:08.789 +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/04 10:51:08.817 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=62] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:08.836 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/04 10:51:08.837 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:08.846 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:08.846 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:08.846 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:08.847 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:08.847 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:08.847 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:08.847 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:08.847 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:08.847 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:08.848 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:08.860 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:08.862 +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/04 10:51:08.862 +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/04 10:51:08.862 +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/04 10:51:08.862 +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/04 10:51:08.862 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8] [import-id=62] [disk-quota=348.5GiB] [2025/04/04 10:51:08.870 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=118] [step=import] [2025/04/04 10:51:08.870 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=118] [2025/04/04 10:51:08.874 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 10:51:08.877 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 10:51:08.877 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=324] [2025/04/04 10:51:08.889 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=62] [mode=Import] [2025/04/04 10:51:08.890 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [2025/04/04 10:51:08.892 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [readDur=876.284Β΅s] [encodeDur=506.443Β΅s] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=230.017Β΅s] [type=file] [takeTime=1.890584ms] [] [2025/04/04 10:51:08.893 +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/4fbe9d13-6cbb-44f5-a430-5cdd301f075a.sst] [firstKey=7480000000000001445F728000000000000001] [lastKey=7480000000000001445F728000000000000002] [2025/04/04 10:51:08.893 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 10:51:08.893 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 10:51:08.893 +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/04 10:51:08.895 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=1.916206ms] [] [2025/04/04 10:51:08.895 +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/04 10:51:08.899 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:08.907 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=62] [2025/04/04 10:51:08.921 +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/04 10:51:08.921 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:08.923 +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/04 10:51:08.934 +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/04 10:51:08.936 +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=40.756013ms] [] [2025/04/04 10:51:08.936 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 10:51:08.937 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=993.339Β΅s] [] [2025/04/04 10:51:08.937 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 10:51:08.937 +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/04 10:51:08.939 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [takeTime=1.515336ms] [] [2025/04/04 10:51:08.939 +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/04 10:51:08.942 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 10:51:08.942 +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=3.578298ms] [] [2025/04/04 10:51:08.942 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 10:51:08.943 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [takeTime=960.74Β΅s] [] [2025/04/04 10:51:08.943 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=118] [takeTime=73.336252ms] [] [2025/04/04 10:51:08.944 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=118] [step=import] [takeTime=73.476123ms] [] [2025/04/04 10:51:08.981 +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/04 10:51:08.982 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:08.983 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:08.983 +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/04 10:51:09.018 +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/04 10:51:09.019 +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/04 10:51:09.019 +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/04 10:51:09.048 +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/04 10:51:09.054 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/04 10:51:09.057 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:09.057 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:09.057 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:09.057 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:09.057 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:09.057 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:09.057 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:09.057 +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/04 10:51:09.057 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:09.057 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:09.057 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:09.057 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:09.059 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:09.059 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:09.059 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:09.059 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:09.059 +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=197.226515ms] [] [2025/04/04 10:51:09.060 +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/04 10:51:09.067 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=119] [step=post-process] [2025/04/04 10:51:09.068 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [2025/04/04 10:51:09.068 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [2025/04/04 10:51:09.068 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [2025/04/04 10:51:09.073 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [takeTime=5.409412ms] [] [2025/04/04 10:51:09.073 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [groupId=-1] [size=88] [kvs=2] [checksum=13472460632354338593] [2025/04/04 10:51:09.073 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/04 10:51:09.073 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [weight=30] [2025/04/04 10:51:09.073 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [concurrency=15] [2025/04/04 10:51:09.075 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=324] [physicalTableID=324] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/04 10:51:09.075 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:09.075 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [local="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/04 10:51:09.076 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [takeTime=7.882986ms] [] [2025/04/04 10:51:09.076 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=119] [takeTime=8.037795ms] [] [2025/04/04 10:51:09.076 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=119] [step=post-process] [takeTime=8.162859ms] [] [2025/04/04 10:51:09.102 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:09.181 +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/04 10:51:09.181 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=62] [step=post-process] [state=running] [] [2025/04/04 10:51:09.184 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=62] [2025/04/04 10:51:09.213 +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=152.115555ms] [] [2025/04/04 10:51:09.213 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=62] [type=ImportInto] [2025/04/04 10:51:09.276 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=62] [2025/04/04 10:51:09.278 +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.687128436\n# Parse_time: 0.000085788\n# Compile_time: 0.000466056\n# Rewrite_time: 0.000152678\n# Optimize_time: 0.000272668\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ni4zbXMsIG9wZW46NjM4bnMsIGNsb3NlOjc3N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ni4zbXMsIG9wZW46NjM4bnMsIGNsb3NlOjc3N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:09.282 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:09.282 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=62] [2025/04/04 10:51:09.288 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:09.304 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:09.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/04 10:51:09.355 +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/04 10:51:09.370 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=63] [2025/04/04 10:51:09.370 +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/04 10:51:09.472 +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/04 10:51:09.473 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:09.474 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [2025/04/04 10:51:09.482 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:09.484 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 10:51:09.484 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=29] [2025/04/04 10:51:09.484 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=46.297Β΅s] [2025/04/04 10:51:09.484 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=140.63Β΅s] [] [2025/04/04 10:51:09.484 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:09.484 +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/04 10:51:09.518 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=63] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:09.537 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/04 10:51:09.538 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:09.545 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:09.545 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:09.546 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:09.546 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:09.546 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:09.546 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:09.546 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:09.546 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:09.547 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:09.547 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:09.558 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:09.559 +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/04 10:51:09.559 +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/04 10:51:09.559 +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/04 10:51:09.560 +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/04 10:51:09.560 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=63] [disk-quota=348.5GiB] [2025/04/04 10:51:09.567 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=120] [step=import] [2025/04/04 10:51:09.567 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=120] [2025/04/04 10:51:09.570 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:51:09.573 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:51:09.573 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=326] [2025/04/04 10:51:09.578 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=63] [mode=Import] [2025/04/04 10:51:09.598 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=63] [2025/04/04 10:51:09.614 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [2025/04/04 10:51:09.616 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [readDur=971.381Β΅s] [encodeDur=517.025Β΅s] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=203.142Β΅s] [type=file] [takeTime=1.952868ms] [] [2025/04/04 10:51:09.617 +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/75b34042-67a7-4c21-b94f-0609e475ee19.sst] [firstKey=7480000000000001465F728000000000000001] [lastKey=7480000000000001465F728000000000000002] [2025/04/04 10:51:09.617 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 10:51:09.617 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 10:51:09.617 +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/04 10:51:09.619 +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.939319ms] [] [2025/04/04 10:51:09.619 +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/04 10:51:09.623 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:09.645 +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/04 10:51:09.645 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:09.646 +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/04 10:51:09.657 +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/04 10:51:09.659 +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.09895ms] [] [2025/04/04 10:51:09.659 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:51:09.660 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.000567ms] [] [2025/04/04 10:51:09.660 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 10:51:09.660 +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/04 10:51:09.662 +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.316166ms] [] [2025/04/04 10:51:09.662 +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/04 10:51:09.665 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:51:09.665 +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.463066ms] [] [2025/04/04 10:51:09.665 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:51:09.666 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=825.78Β΅s] [] [2025/04/04 10:51:09.666 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=120] [takeTime=99.598167ms] [] [2025/04/04 10:51:09.666 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=120] [step=import] [takeTime=99.766328ms] [] [2025/04/04 10:51:09.676 +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/04 10:51:09.677 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:09.678 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:09.678 +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/04 10:51:09.706 +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/04 10:51:09.707 +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/04 10:51:09.708 +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/04 10:51:09.731 +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/04 10:51:09.737 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/04 10:51:09.740 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:09.740 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:09.740 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:09.740 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:09.740 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:09.740 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:09.740 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:09.740 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:09.740 +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/04 10:51:09.740 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:09.740 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:09.740 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:09.742 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:09.742 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:09.742 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:09.742 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:09.742 +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=182.802174ms] [] [2025/04/04 10:51:09.743 +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/04 10:51:09.751 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=121] [step=post-process] [2025/04/04 10:51:09.751 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [2025/04/04 10:51:09.751 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [2025/04/04 10:51:09.751 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [2025/04/04 10:51:09.758 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [takeTime=6.754153ms] [] [2025/04/04 10:51:09.758 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [groupId=-1] [size=88] [kvs=2] [checksum=13472460632354338593] [2025/04/04 10:51:09.758 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/04 10:51:09.758 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [weight=30] [2025/04/04 10:51:09.758 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [concurrency=15] [2025/04/04 10:51:09.760 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=326] [physicalTableID=326] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/04 10:51:09.761 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:09.761 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [local="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/04 10:51:09.761 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [takeTime=9.845012ms] [] [2025/04/04 10:51:09.761 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=121] [takeTime=9.989528ms] [] [2025/04/04 10:51:09.761 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=121] [step=post-process] [takeTime=10.176603ms] [] [2025/04/04 10:51:09.777 +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/04 10:51:09.777 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=63] [step=post-process] [state=running] [] [2025/04/04 10:51:09.780 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=63] [2025/04/04 10:51:09.782 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:09.808 +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=64.265031ms] [] [2025/04/04 10:51:09.808 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=63] [type=ImportInto] [2025/04/04 10:51:09.872 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=63] [2025/04/04 10:51:09.877 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:09.877 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=63] [2025/04/04 10:51:09.898 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:09.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.691382587\n# Parse_time: 0.000109256\n# Compile_time: 0.000534299\n# Rewrite_time: 0.000173517\n# Optimize_time: 0.000257916\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC41bXMsIG9wZW46NjY1bnMsIGNsb3NlOjc5M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC41bXMsIG9wZW46NjY1bnMsIGNsb3NlOjc5M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:09.989 +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-04 10:51:09.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:09.989 +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-04 10:51:09.952 +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/04 10:51:09.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-04 10:51:09.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:09.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/04 10:51:10.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.630123ms] [gotSchemaVersion=235] [phyTblIDs="[328]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:10.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=235] [2025/04/04 10:51:10.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=235] ["take time"=8.824546ms] [job="ID:329, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:09.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.030 +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-04 10:51:09.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.041 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/04 10:51:10.042 +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/04 10:51:10.047 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:10.094 +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/04 10:51:10.113 +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/04 10:51:10.127 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=64] [2025/04/04 10:51:10.128 +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/04 10:51:10.229 +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/04 10:51:10.230 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:10.231 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [2025/04/04 10:51:10.239 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:10.242 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=latin1] [2025/04/04 10:51:10.242 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=latin1] [before=536870912000] [after=13] [2025/04/04 10:51:10.242 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=latin1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=46.328Β΅s] [2025/04/04 10:51:10.242 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=latin1] [takeTime=137.162Β΅s] [] [2025/04/04 10:51:10.242 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:10.242 +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/04 10:51:10.278 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:10.297 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/04 10:51:10.297 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:10.304 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:10.304 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:10.304 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:10.305 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:10.305 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:10.305 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:10.305 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:10.305 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:10.305 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:10.305 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:10.317 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:10.319 +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/04 10:51:10.319 +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/04 10:51:10.319 +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/04 10:51:10.319 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=latin1] [import-id=64] [disk-quota=348.5GiB] [2025/04/04 10:51:10.319 +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/04 10:51:10.326 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=122] [step=import] [2025/04/04 10:51:10.326 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=122] [2025/04/04 10:51:10.329 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 10:51:10.332 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 10:51:10.333 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=328] [2025/04/04 10:51:10.335 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=64] [mode=Import] [2025/04/04 10:51:10.354 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=64] [2025/04/04 10:51:10.374 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [2025/04/04 10:51:10.376 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [readDur=858.129Β΅s] [encodeDur=540.794Β΅s] [checksum="{cksum=3436636415173179895,size=84,kvs=2}"] [deliverDur=199.087Β΅s] [type=file] [takeTime=1.820711ms] [] [2025/04/04 10:51:10.377 +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/1b1b8d08-2db2-483f-b609-913a8e0b8e54.sst] [firstKey=7480000000000001485F728000000000000001] [lastKey=7480000000000001485F728000000000000002] [2025/04/04 10:51:10.377 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 10:51:10.377 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 10:51:10.377 +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/04 10:51:10.379 +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.111414ms] [] [2025/04/04 10:51:10.379 +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/04 10:51:10.385 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:10.407 +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/04 10:51:10.407 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:10.409 +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/04 10:51:10.427 +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/04 10:51:10.428 +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=48.784329ms] [] [2025/04/04 10:51:10.428 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 10:51:10.429 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [takeTime=1.003819ms] [] [2025/04/04 10:51:10.429 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 10:51:10.429 +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/04 10:51:10.431 +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.361587ms] [] [2025/04/04 10:51:10.431 +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/04 10:51:10.434 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 10:51:10.434 +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.532974ms] [] [2025/04/04 10:51:10.434 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 10:51:10.435 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [takeTime=863.356Β΅s] [] [2025/04/04 10:51:10.435 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=122] [takeTime=109.42417ms] [] [2025/04/04 10:51:10.436 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=122] [step=import] [takeTime=109.560118ms] [] [2025/04/04 10:51:10.535 +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/04 10:51:10.536 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:10.537 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:10.537 +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/04 10:51:10.567 +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/04 10:51:10.569 +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/04 10:51:10.569 +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/04 10:51:10.574 +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/04 10:51:10.574 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/04 10:51:10.577 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:10.577 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:10.577 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:10.577 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:10.577 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:10.577 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:10.577 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:10.577 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:10.577 +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/04 10:51:10.577 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:10.577 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:10.577 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:10.579 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:10.579 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:10.579 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:10.579 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:10.579 +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=259.904081ms] [] [2025/04/04 10:51:10.579 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/04 10:51:10.596 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:10.615 +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/04 10:51:10.622 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=123] [step=post-process] [2025/04/04 10:51:10.622 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [2025/04/04 10:51:10.622 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [2025/04/04 10:51:10.622 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [2025/04/04 10:51:10.628 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [takeTime=5.288234ms] [] [2025/04/04 10:51:10.628 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [groupId=-1] [size=84] [kvs=2] [checksum=3436636415173179895] [2025/04/04 10:51:10.628 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [checksum="{cksum=3436636415173179895,size=84,kvs=2}"] [2025/04/04 10:51:10.628 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [weight=30] [2025/04/04 10:51:10.628 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [concurrency=15] [2025/04/04 10:51:10.629 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=328] [physicalTableID=328] [indexID=-1] [checksum=3436636415173179895] [totalKvs=2] [totalBytes=84] [2025/04/04 10:51:10.630 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:10.630 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [local="{cksum=3436636415173179895,size=84,kvs=2}"] [2025/04/04 10:51:10.630 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [takeTime=7.721954ms] [] [2025/04/04 10:51:10.630 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=123] [takeTime=7.853421ms] [] [2025/04/04 10:51:10.630 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=123] [step=post-process] [takeTime=7.983889ms] [] [2025/04/04 10:51:10.656 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:10.682 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:51:10.735 +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/04 10:51:10.735 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=64] [step=post-process] [state=running] [] [2025/04/04 10:51:10.738 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=64] [2025/04/04 10:51:10.763 +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=147.917338ms] [] [2025/04/04 10:51:10.763 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/04 10:51:10.830 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=64] [2025/04/04 10:51:10.835 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:10.835 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=64] [2025/04/04 10:51:10.856 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:11.028 +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.986357142\n# Parse_time: 0.000085554\n# Compile_time: 0.000445908\n# Rewrite_time: 0.000140122\n# Optimize_time: 0.000208826\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS42bXMsIG9wZW46NjQ0bnMsIGNsb3NlOjY3MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS42bXMsIG9wZW46NjQ0bnMsIGNsb3NlOjY3MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:11.043 +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-04 10:51:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:11.043 +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-04 10:51:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.utf8mb4;"] [2025/04/04 10:51:11.048 +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-04 10:51:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:11.055 +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/04 10:51:11.070 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.511583ms] [gotSchemaVersion=236] [phyTblIDs="[326,330]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:51:11.073 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=236] [2025/04/04 10:51:11.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=236] ["take time"=9.021378ms] [job="ID:331, Type:truncate table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:11.087 +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/04 10:51:11.092 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="truncate table"] [2025/04/04 10:51:11.093 +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-04 10:51:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:11.109 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/04 10:51:11.109 +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/04 10:51:11.115 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:11.160 +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/04 10:51:11.177 +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/04 10:51:11.190 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=65] [2025/04/04 10:51:11.190 +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/04 10:51:11.292 +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/04 10:51:11.293 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:11.294 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [2025/04/04 10:51:11.301 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:11.304 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 10:51:11.304 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=13] [2025/04/04 10:51:11.304 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=43.882Β΅s] [2025/04/04 10:51:11.304 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=146.924Β΅s] [] [2025/04/04 10:51:11.304 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:11.304 +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/04 10:51:11.337 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:11.356 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/04 10:51:11.356 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:11.363 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:11.363 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:11.364 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:11.364 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:11.364 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:11.364 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:11.364 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:11.364 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:11.365 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:11.365 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:11.375 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:11.377 +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/04 10:51:11.377 +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/04 10:51:11.378 +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/04 10:51:11.378 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=65] [disk-quota=348.5GiB] [2025/04/04 10:51:11.378 +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/04 10:51:11.385 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=124] [step=import] [2025/04/04 10:51:11.385 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=124] [2025/04/04 10:51:11.388 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:51:11.391 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:51:11.391 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=330] [2025/04/04 10:51:11.409 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=65] [mode=Import] [2025/04/04 10:51:11.427 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=65] [2025/04/04 10:51:11.434 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [2025/04/04 10:51:11.437 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [readDur=913.518Β΅s] [encodeDur=1.762501ms] [checksum="{cksum=383903096968287332,size=84,kvs=2}"] [deliverDur=286.411Β΅s] [type=file] [takeTime=3.303562ms] [] [2025/04/04 10:51:11.438 +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/c8663a31-aeb7-4245-a8c4-a745c3d2a59a.sst] [firstKey=74800000000000014A5F728000000000000001] [lastKey=74800000000000014A5F728000000000000002] [2025/04/04 10:51:11.438 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 10:51:11.438 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 10:51:11.438 +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/04 10:51:11.440 +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.173123ms] [] [2025/04/04 10:51:11.440 +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/04 10:51:11.444 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:11.466 +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/04 10:51:11.466 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:11.468 +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/04 10:51:11.478 +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/04 10:51:11.481 +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.423077ms] [] [2025/04/04 10:51:11.481 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 10:51:11.482 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.105817ms] [] [2025/04/04 10:51:11.482 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 10:51:11.482 +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/04 10:51:11.484 +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.621178ms] [] [2025/04/04 10:51:11.484 +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/04 10:51:11.487 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:51:11.487 +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.536365ms] [] [2025/04/04 10:51:11.487 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 10:51:11.488 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=880.186Β΅s] [] [2025/04/04 10:51:11.488 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=124] [takeTime=103.533769ms] [] [2025/04/04 10:51:11.488 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=124] [step=import] [takeTime=103.683511ms] [] [2025/04/04 10:51:11.597 +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/04 10:51:11.598 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:11.599 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:11.599 +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/04 10:51:11.627 +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/04 10:51:11.628 +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/04 10:51:11.628 +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/04 10:51:11.635 +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/04 10:51:11.635 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/04 10:51:11.638 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:11.638 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:11.638 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:11.638 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:11.638 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:11.638 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:11.638 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:11.638 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:11.638 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:11.638 +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/04 10:51:11.638 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:11.638 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:11.640 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:11.640 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:11.640 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:11.640 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:11.640 +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=262.486954ms] [] [2025/04/04 10:51:11.640 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/04 10:51:11.657 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:11.675 +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/04 10:51:11.682 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=125] [step=post-process] [2025/04/04 10:51:11.682 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [2025/04/04 10:51:11.682 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [2025/04/04 10:51:11.682 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [2025/04/04 10:51:11.688 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [takeTime=5.394301ms] [] [2025/04/04 10:51:11.688 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [groupId=-1] [size=84] [kvs=2] [checksum=383903096968287332] [2025/04/04 10:51:11.688 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [checksum="{cksum=383903096968287332,size=84,kvs=2}"] [2025/04/04 10:51:11.688 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [weight=30] [2025/04/04 10:51:11.688 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [concurrency=15] [2025/04/04 10:51:11.690 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=330] [physicalTableID=330] [indexID=-1] [checksum=383903096968287332] [totalKvs=2] [totalBytes=84] [2025/04/04 10:51:11.690 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:11.690 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [local="{cksum=383903096968287332,size=84,kvs=2}"] [2025/04/04 10:51:11.690 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [takeTime=7.693016ms] [] [2025/04/04 10:51:11.690 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=125] [takeTime=7.828613ms] [] [2025/04/04 10:51:11.690 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=125] [step=post-process] [takeTime=7.958564ms] [] [2025/04/04 10:51:11.714 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:11.797 +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/04 10:51:11.797 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=65] [step=post-process] [state=running] [] [2025/04/04 10:51:11.799 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=65] [2025/04/04 10:51:11.825 +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=149.740238ms] [] [2025/04/04 10:51:11.825 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/04 10:51:11.892 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=65] [2025/04/04 10:51:11.899 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:11.899 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=65] [2025/04/04 10:51:11.919 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:12.094 +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.984101873\n# Parse_time: 0.000102619\n# Compile_time: 0.000454224\n# Rewrite_time: 0.000143359\n# Optimize_time: 0.000224891\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My4zbXMsIG9wZW46NjMybnMsIGNsb3NlOjYyM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My4zbXMsIG9wZW46NjMybnMsIGNsb3NlOjYyM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:12.110 +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-04 10:51:12.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:12.110 +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-04 10:51:12.102 +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/04 10:51:12.115 +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-04 10:51:12.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:12.119 +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/04 10:51:12.133 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.364815ms] [gotSchemaVersion=237] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:12.136 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=237] [2025/04/04 10:51:12.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=237] ["take time"=8.167068ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:12.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:12.148 +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-04 10:51:12.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:12.159 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/04 10:51:12.159 +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/04 10:51:12.171 +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-04 10:51:12.152 +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/04 10:51:12.171 +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-04 10:51:12.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:12.175 +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-04 10:51:12.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:12.180 +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/04 10:51:12.192 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=1.32796ms] [gotSchemaVersion=238] [phyTblIDs="[334]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:12.195 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=238] [2025/04/04 10:51:12.197 +00:00] [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"=7.735149ms] [job="ID:335, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:12.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:12.208 +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-04 10:51:12.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:12.218 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/04 10:51:12.218 +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/04 10:51:12.224 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:12.267 +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/04 10:51:12.285 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=66] [task-id=66] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 10:51:12.298 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=66] [2025/04/04 10:51:12.298 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 10:51:12.400 +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/04 10:51:12.401 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:12.401 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [2025/04/04 10:51:12.408 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:12.410 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=ascii] [2025/04/04 10:51:12.411 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=ascii] [before=536870912000] [after=8] [2025/04/04 10:51:12.411 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=ascii] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=39.237Β΅s] [2025/04/04 10:51:12.411 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=ascii] [takeTime=122.529Β΅s] [] [2025/04/04 10:51:12.411 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:12.411 +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=26] [subtasks=1] [2025/04/04 10:51:12.437 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=66] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:12.455 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/04 10:51:12.455 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:12.463 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:12.463 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:12.463 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:12.464 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:12.464 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:12.464 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:12.464 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:12.464 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:12.464 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:12.464 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:12.476 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:12.478 +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/04 10:51:12.478 +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/04 10:51:12.478 +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/04 10:51:12.478 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=ascii] [import-id=66] [disk-quota=348.5GiB] [2025/04/04 10:51:12.478 +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=26, Mem=16GiB]"] [2025/04/04 10:51:12.485 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=126] [step=import] [2025/04/04 10:51:12.485 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=126] [2025/04/04 10:51:12.489 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 10:51:12.492 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 10:51:12.492 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=332] [2025/04/04 10:51:12.505 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=66] [mode=Import] [2025/04/04 10:51:12.515 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [2025/04/04 10:51:12.516 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [readDur=943.583Β΅s] [encodeDur=249.908Β΅s] [checksum="{cksum=14561097866271024819,size=36,kvs=1}"] [deliverDur=185.625Β΅s] [type=file] [takeTime=1.659274ms] [] [2025/04/04 10:51:12.517 +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/2d3343e3-180f-4f8a-8d76-120eb5a0d26a.sst] [firstKey=74800000000000014C5F728000000000000001] [lastKey=74800000000000014C5F728000000000000001] [2025/04/04 10:51:12.517 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 10:51:12.517 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 10:51:12.517 +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/04 10:51:12.520 +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.326346ms] [] [2025/04/04 10:51:12.520 +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/04 10:51:12.524 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:12.525 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=66] [2025/04/04 10:51:12.545 +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/04 10:51:12.546 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:12.547 +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/04 10:51:12.558 +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/04 10:51:12.559 +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=39.717396ms] [] [2025/04/04 10:51:12.559 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 10:51:12.560 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=904.854Β΅s] [] [2025/04/04 10:51:12.560 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 10:51:12.560 +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/04 10:51:12.562 +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.280976ms] [] [2025/04/04 10:51:12.562 +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/04 10:51:12.565 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 10:51:12.565 +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.483043ms] [] [2025/04/04 10:51:12.565 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 10:51:12.566 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [takeTime=837.696Β΅s] [] [2025/04/04 10:51:12.566 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=126] [takeTime=81.08347ms] [] [2025/04/04 10:51:12.567 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=126] [step=import] [takeTime=81.477856ms] [] [2025/04/04 10:51:12.605 +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/04 10:51:12.606 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:12.606 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:12.606 +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/04 10:51:12.636 +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/04 10:51:12.637 +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/04 10:51:12.637 +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=26] [subtasks=1] [2025/04/04 10:51:12.670 +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/04 10:51:12.675 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/04 10:51:12.678 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:12.678 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:12.678 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:12.678 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:12.678 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:12.678 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:12.678 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:12.678 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:12.678 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:12.678 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:12.678 +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/04 10:51:12.678 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:12.680 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:12.680 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:12.680 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:12.680 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:12.680 +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=26, Mem=16GiB]"] [takeTime=202.206801ms] [] [2025/04/04 10:51:12.681 +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=26, Mem=16GiB]"] [2025/04/04 10:51:12.688 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=127] [step=post-process] [2025/04/04 10:51:12.688 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [2025/04/04 10:51:12.688 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [2025/04/04 10:51:12.688 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [2025/04/04 10:51:12.694 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [takeTime=5.453873ms] [] [2025/04/04 10:51:12.694 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [groupId=-1] [size=36] [kvs=1] [checksum=14561097866271024819] [2025/04/04 10:51:12.694 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [checksum="{cksum=14561097866271024819,size=36,kvs=1}"] [2025/04/04 10:51:12.694 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [weight=30] [2025/04/04 10:51:12.694 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [concurrency=15] [2025/04/04 10:51:12.696 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=332] [physicalTableID=332] [indexID=-1] [checksum=14561097866271024819] [totalKvs=1] [totalBytes=36] [2025/04/04 10:51:12.696 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:12.696 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [local="{cksum=14561097866271024819,size=36,kvs=1}"] [2025/04/04 10:51:12.696 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [takeTime=7.982998ms] [] [2025/04/04 10:51:12.696 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=127] [takeTime=8.120121ms] [] [2025/04/04 10:51:12.696 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=127] [step=post-process] [takeTime=8.237259ms] [] [2025/04/04 10:51:12.725 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:12.805 +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/04 10:51:12.805 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=66] [step=post-process] [state=running] [] [2025/04/04 10:51:12.807 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=66] [2025/04/04 10:51:12.928 +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=26, Mem=16GiB]"] [takeTime=247.061689ms] [] [2025/04/04 10:51:12.929 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=66] [type=ImportInto] [2025/04/04 10:51:12.930 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=66] [2025/04/04 10:51:12.937 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:12.937 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=66] [2025/04/04 10:51:12.956 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:13.201 +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.982527675\n# Parse_time: 0.000087526\n# Compile_time: 0.00045227\n# Rewrite_time: 0.00013414\n# Optimize_time: 0.000216004\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4MS42bXMsIG9wZW46NjU1bnMsIGNsb3NlOjcyMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4MS42bXMsIG9wZW46NjU1bnMsIGNsb3NlOjcyMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:13.211 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:13.257 +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/04 10:51:13.274 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=67] [task-id=67] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 10:51:13.288 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=67] [2025/04/04 10:51:13.288 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 10:51:13.391 +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/04 10:51:13.391 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:13.392 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [2025/04/04 10:51:13.399 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:13.402 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=binary] [2025/04/04 10:51:13.402 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=binary] [before=536870912000] [after=8] [2025/04/04 10:51:13.402 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=binary] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=44.968Β΅s] [2025/04/04 10:51:13.402 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=binary] [takeTime=129.75Β΅s] [] [2025/04/04 10:51:13.402 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:13.402 +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=26] [subtasks=1] [2025/04/04 10:51:13.438 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=67] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:13.456 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=67] [step=import] [2025/04/04 10:51:13.457 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:13.464 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:13.464 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:13.465 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:13.465 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:13.465 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:13.465 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:13.465 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:13.465 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:13.466 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:13.466 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:13.479 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:13.481 +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/04 10:51:13.481 +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/04 10:51:13.481 +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/04 10:51:13.481 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=binary] [import-id=67] [disk-quota=348.5GiB] [2025/04/04 10:51:13.481 +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=26, Mem=16GiB]"] [2025/04/04 10:51:13.491 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=128] [step=import] [2025/04/04 10:51:13.491 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=67] [step=import] [subtask-id=128] [2025/04/04 10:51:13.495 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/04 10:51:13.496 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=67] [mode=Import] [2025/04/04 10:51:13.499 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 10:51:13.499 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=334] [2025/04/04 10:51:13.516 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=334] [key=ascii.tsv:0] [2025/04/04 10:51:13.518 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=334] [key=ascii.tsv:0] [readDur=1.16023ms] [encodeDur=386.554Β΅s] [checksum="{cksum=12243767325807307949,size=36,kvs=1}"] [deliverDur=226.557Β΅s] [type=file] [takeTime=2.036836ms] [] [2025/04/04 10:51:13.518 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=67] [2025/04/04 10:51:13.519 +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/af9a5424-a970-4cf5-adfb-d8eff2763d37.sst] [firstKey=74800000000000014E5F728000000000000001] [lastKey=74800000000000014E5F728000000000000001] [2025/04/04 10:51:13.519 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/04 10:51:13.519 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/04 10:51:13.519 +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/04 10:51:13.521 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=2.247908ms] [] [2025/04/04 10:51:13.521 +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/04 10:51:13.525 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:13.547 +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/04 10:51:13.547 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:13.549 +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/04 10:51:13.575 +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/04 10:51:13.577 +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=55.789371ms] [] [2025/04/04 10:51:13.577 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/04 10:51:13.578 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=1.100553ms] [] [2025/04/04 10:51:13.578 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/04 10:51:13.578 +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/04 10:51:13.580 +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.531208ms] [] [2025/04/04 10:51:13.580 +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/04 10:51:13.584 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 10:51:13.584 +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.530009ms] [] [2025/04/04 10:51:13.584 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 10:51:13.584 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [takeTime=830.929Β΅s] [] [2025/04/04 10:51:13.585 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=67] [step=import] [subtask-id=128] [takeTime=93.343661ms] [] [2025/04/04 10:51:13.585 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=128] [step=import] [takeTime=93.496471ms] [] [2025/04/04 10:51:13.595 +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/04 10:51:13.595 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:13.596 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:13.596 +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/04 10:51:13.626 +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/04 10:51:13.627 +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/04 10:51:13.627 +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=26] [subtasks=1] [2025/04/04 10:51:13.648 +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/04 10:51:13.655 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=67] [step=import] [2025/04/04 10:51:13.658 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:13.658 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:13.658 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:13.658 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:13.658 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:13.658 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:13.658 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:13.658 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:13.658 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:13.658 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:13.658 +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/04 10:51:13.658 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:13.660 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:13.660 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:13.660 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:13.660 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:13.661 +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=26, Mem=16GiB]"] [takeTime=179.012445ms] [] [2025/04/04 10:51:13.661 +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=26, Mem=16GiB]"] [2025/04/04 10:51:13.668 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=129] [step=post-process] [2025/04/04 10:51:13.669 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [2025/04/04 10:51:13.669 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [2025/04/04 10:51:13.669 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [2025/04/04 10:51:13.674 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [takeTime=5.429161ms] [] [2025/04/04 10:51:13.674 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [groupId=-1] [size=36] [kvs=1] [checksum=12243767325807307949] [2025/04/04 10:51:13.674 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [checksum="{cksum=12243767325807307949,size=36,kvs=1}"] [2025/04/04 10:51:13.674 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [weight=30] [2025/04/04 10:51:13.674 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [concurrency=15] [2025/04/04 10:51:13.676 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=334] [physicalTableID=334] [indexID=-1] [checksum=12243767325807307949] [totalKvs=1] [totalBytes=36] [2025/04/04 10:51:13.676 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:13.676 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [local="{cksum=12243767325807307949,size=36,kvs=1}"] [2025/04/04 10:51:13.676 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [takeTime=7.77105ms] [] [2025/04/04 10:51:13.676 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=129] [takeTime=7.914335ms] [] [2025/04/04 10:51:13.677 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=129] [step=post-process] [takeTime=8.055373ms] [] [2025/04/04 10:51:13.690 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:13.695 +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/04 10:51:13.695 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=67] [step=post-process] [state=running] [] [2025/04/04 10:51:13.697 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=67] [2025/04/04 10:51:13.721 +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=26, Mem=16GiB]"] [takeTime=59.97745ms] [] [2025/04/04 10:51:13.722 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=67] [type=ImportInto] [2025/04/04 10:51:13.791 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=67] [2025/04/04 10:51:13.797 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:13.797 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=67] [2025/04/04 10:51:13.817 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:13.890 +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.684442645\n# Parse_time: 0.000115362\n# Compile_time: 0.000503873\n# Rewrite_time: 0.000188058\n# Optimize_time: 0.000256851\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My41bXMsIG9wZW46Nzc0bnMsIGNsb3NlOjczMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4My41bXMsIG9wZW46Nzc0bnMsIGNsb3NlOjczMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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.61s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckCDCPiTRTasks [2025/04/04 10:51:13.906 +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-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:13.906 +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-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:51:13.911 +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-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:13.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=194.565Β΅s] [gotSchemaVersion=239] [phyTblIDs="[293]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:13.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=239] [2025/04/04 10:51:13.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=239] ["take time"=7.415141ms] [job="ID:336, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:13.941 +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-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:13.954 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=134.215Β΅s] [gotSchemaVersion=240] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:13.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=240] [2025/04/04 10:51:13.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=240] ["take time"=6.907752ms] [job="ID:336, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:13.967 +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-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:13.972 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:51:13.981 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=137.605Β΅s] [gotSchemaVersion=241] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:13.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=241] [2025/04/04 10:51:13.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=241] ["take time"=6.738258ms] [job="ID:336, Type:drop schema, State:done, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:13.994 +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/04 10:51:13.998 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=336] [jobType="drop schema"] [2025/04/04 10:51:13.999 +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-04 10:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.014 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=336] [2025/04/04 10:51:14.015 +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/04 10:51:14.026 +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-04 10:51:14.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:14.026 +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-04 10:51:14.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:51:14.031 +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-04 10:51:14.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.043 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=647.746Β΅s] [gotSchemaVersion=242] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:14.047 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=242] [2025/04/04 10:51:14.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=242] ["take time"=7.71484ms] [job="ID:338, Type:create schema, State:done, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:14.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.058 +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-04 10:51:14.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.068 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/04 10:51:14.068 +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/04 10:51:14.070 +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/04 10:51:14.082 +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-04 10:51:14.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:14.082 +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-04 10:51:14.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:51:14.088 +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-04 10:51:14.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.093 +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/04 10:51:14.108 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.713113ms] [gotSchemaVersion=243] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:14.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=243] [2025/04/04 10:51:14.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=243] ["take time"=8.817123ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:14.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.124 +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-04 10:51:14.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.136 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/04 10:51:14.137 +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/04 10:51:14.149 +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-04 10:51:14.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:14.149 +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-04 10:51:14.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:51:14.155 +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-04 10:51:14.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.159 +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/04 10:51:14.175 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.634136ms] [gotSchemaVersion=244] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:14.178 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=244] [2025/04/04 10:51:14.180 +00:00] [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.550594ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:14.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.191 +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-04 10:51:14.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:14.202 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/04 10:51:14.202 +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/04 10:51:14.209 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Add(dummy-task)] [2025/04/04 10:51:14.209 +00:00] [INFO] [db.go:135] ["inc log backup task"] [count=1] [2025/04/04 10:51:14.210 +00:00] [INFO] [advancer.go:430] ["get global checkpoint"] [checkpoint=0] [2025/04/04 10:51:14.212 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:14.213 +00:00] [INFO] [advancer.go:436] ["added event"] [task="name:\"dummy-task\" "] [ranges={}] [current-checkpoint=18446744073709551615] [2025/04/04 10:51:14.214 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 10:51:14.215 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 10:51:14.216 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 10:51:14.227 +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/04 10:51:14.233 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:14.276 +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/04 10:51:14.295 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=68] [task-id=68] [data-size=10B] [thread-cnt=26] [global-sort=false] [2025/04/04 10:51:14.309 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=68] [2025/04/04 10:51:14.309 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 10:51:14.411 +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/04 10:51:14.413 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:14.414 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=68] [curr-step=init] [next-step=import] [2025/04/04 10:51:14.421 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:14.424 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 10:51:14.424 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=10] [2025/04/04 10:51:14.424 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=10] [cost=49.851Β΅s] [2025/04/04 10:51:14.424 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=137.174Β΅s] [] [2025/04/04 10:51:14.424 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=68] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:14.424 +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=26] [subtasks=1] [2025/04/04 10:51:14.457 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=68] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:14.477 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=68] [step=import] [2025/04/04 10:51:14.477 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:14.484 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:14.485 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:14.485 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:14.485 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:14.485 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:14.485 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:14.485 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:14.485 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:14.486 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:14.486 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:14.497 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:14.499 +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/04 10:51:14.499 +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/04 10:51:14.499 +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/04 10:51:14.499 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=68] [disk-quota=348.5GiB] [2025/04/04 10:51:14.499 +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=26, Mem=16GiB]"] [2025/04/04 10:51:14.506 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=130] [step=import] [2025/04/04 10:51:14.506 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=68] [step=import] [subtask-id=130] [2025/04/04 10:51:14.510 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:51:14.513 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:51:14.513 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=339] [2025/04/04 10:51:14.518 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=68] [mode=Import] [2025/04/04 10:51:14.538 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=68] [2025/04/04 10:51:14.563 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=339] [key=file.csv:0] [2025/04/04 10:51:14.565 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=339] [key=file.csv:0] [readDur=963.943Β΅s] [encodeDur=404.552Β΅s] [checksum="{cksum=13354276772020868135,size=37,kvs=1}"] [deliverDur=352.578Β΅s] [type=file] [takeTime=2.037335ms] [] [2025/04/04 10:51:14.566 +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/0f526a36-d78d-43e9-978d-53b72b5e0d51.sst] [firstKey=7480000000000001535F728000000000000001] [lastKey=7480000000000001535F728000000000000001] [2025/04/04 10:51:14.566 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/04 10:51:14.566 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/04 10:51:14.566 +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/04 10:51:14.568 +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.017114ms] [] [2025/04/04 10:51:14.568 +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/04 10:51:14.572 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:14.594 +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/04 10:51:14.594 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:14.596 +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/04 10:51:14.607 +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/04 10:51:14.609 +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.092537ms] [] [2025/04/04 10:51:14.609 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 10:51:14.610 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=973.298Β΅s] [] [2025/04/04 10:51:14.610 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/04 10:51:14.610 +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/04 10:51:14.611 +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.463323ms] [] [2025/04/04 10:51:14.611 +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/04 10:51:14.615 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:51:14.615 +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.708644ms] [] [2025/04/04 10:51:14.615 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 10:51:14.616 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=887.573Β΅s] [] [2025/04/04 10:51:14.616 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=68] [step=import] [subtask-id=130] [takeTime=109.951301ms] [] [2025/04/04 10:51:14.616 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=130] [step=import] [takeTime=110.088332ms] [] [2025/04/04 10:51:14.716 +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/04 10:51:14.717 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:14.718 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:14.718 +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/04 10:51:14.750 +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/04 10:51:14.751 +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/04 10:51:14.751 +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=26] [subtasks=1] [2025/04/04 10:51:14.773 +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/04 10:51:14.773 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=68] [step=import] [2025/04/04 10:51:14.775 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:14.775 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:14.775 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:14.775 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:14.775 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:14.775 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:14.775 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:14.775 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:14.775 +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/04 10:51:14.775 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:14.775 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:14.775 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:14.777 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:14.777 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:14.777 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:14.777 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:14.777 +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=26, Mem=16GiB]"] [takeTime=278.121996ms] [] [2025/04/04 10:51:14.777 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=68] [type=ImportInto] [2025/04/04 10:51:14.787 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=68] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:14.806 +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=26, Mem=16GiB]"] [2025/04/04 10:51:14.815 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=131] [step=post-process] [2025/04/04 10:51:14.815 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [2025/04/04 10:51:14.816 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [2025/04/04 10:51:14.816 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [2025/04/04 10:51:14.816 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [takeTime=2.393Β΅s] [] [2025/04/04 10:51:14.816 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [groupId=-1] [size=37] [kvs=1] [checksum=13354276772020868135] [2025/04/04 10:51:14.816 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [checksum="{cksum=13354276772020868135,size=37,kvs=1}"] [2025/04/04 10:51:14.816 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [weight=30] [2025/04/04 10:51:14.816 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [concurrency=15] [2025/04/04 10:51:14.818 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=339] [physicalTableID=339] [indexID=-1] [checksum=13354276772020868135] [totalKvs=1] [totalBytes=37] [2025/04/04 10:51:14.818 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:14.818 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [local="{cksum=13354276772020868135,size=37,kvs=1}"] [2025/04/04 10:51:14.818 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [takeTime=2.67637ms] [] [2025/04/04 10:51:14.818 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=131] [takeTime=2.837757ms] [] [2025/04/04 10:51:14.818 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=131] [step=post-process] [takeTime=3.010823ms] [] [2025/04/04 10:51:14.856 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:14.917 +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/04 10:51:14.917 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=68] [step=post-process] [state=running] [] [2025/04/04 10:51:14.919 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=68] [2025/04/04 10:51:14.938 +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=26, Mem=16GiB]"] [takeTime=131.15275ms] [] [2025/04/04 10:51:14.938 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=68] [type=ImportInto] [2025/04/04 10:51:15.012 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=68] [2025/04/04 10:51:15.018 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:15.018 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=68] [2025/04/04 10:51:15.040 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:15.212 +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.984433918\n# Parse_time: 0.0000843\n# Compile_time: 0.000512372\n# Rewrite_time: 0.000173539\n# Optimize_time: 0.000245598\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My42bXMsIG9wZW46NjgzbnMsIGNsb3NlOjc4Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My42bXMsIG9wZW46NjgzbnMsIGNsb3NlOjc4Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:15.226 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:51:15.226 +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/04 10:51:15.227 +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/04 10:51:15.267 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [concurrency=2] [target-table=`load_data`.`dst`] [target-table-id=341] [2025/04/04 10:51:15.274 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:15.274 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:15.275 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:15.275 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:15.275 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:15.275 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:15.275 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:15.275 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:15.276 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:15.276 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:15.288 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:15.289 +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/04 10:51:15.289 +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/04 10:51:15.293 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 10:51:15.297 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 10:51:15.302 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [key=import-from-select] [2025/04/04 10:51:15.303 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [key=import-from-select] [readDur=7.891Β΅s] [encodeDur=234.407Β΅s] [checksum="{cksum=13133787126228658672,size=37,kvs=1}"] [deliverDur=45.718Β΅s] [type=query] [takeTime=786.172Β΅s] [] [2025/04/04 10:51:15.306 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [key=import-from-select] [2025/04/04 10:51:15.317 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=10.976849ms] [] [2025/04/04 10:51:15.318 +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/04 10:51:15.318 +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/49ab7f09-b560-4c7b-b632-12dbcedd31e3/aae7ed10-3950-5c5f-b1f6-563a3ef43f6a.sst/c4c8df8e-25ca-49c6-8ee0-ba08ec206da0.sst] [firstKey=7480000000000001555F728000000000000001] [lastKey=7480000000000001555F728000000000000001] [2025/04/04 10:51:15.320 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=2.088292ms] [] [2025/04/04 10:51:15.320 +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/04 10:51:15.324 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:15.346 +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/04 10:51:15.346 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:15.348 +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/04 10:51:15.358 +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/04 10:51:15.360 +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=39.242104ms] [] [2025/04/04 10:51:15.360 +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/04 10:51:15.361 +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.404635ms] [] [2025/04/04 10:51:15.361 +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/04 10:51:15.365 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 10:51:15.365 +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.502463ms] [] [2025/04/04 10:51:15.365 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [checksum="{\"id=-1\"=\"{cksum=13133787126228658672,size=37,kvs=1}\"}"] [2025/04/04 10:51:15.365 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [2025/04/04 10:51:15.365 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [takeTime=2.167Β΅s] [] [2025/04/04 10:51:15.365 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [checksum="{cksum=13133787126228658672,size=37,kvs=1}"] [2025/04/04 10:51:15.365 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [weight=30] [2025/04/04 10:51:15.365 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [concurrency=15] [2025/04/04 10:51:15.367 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=341] [physicalTableID=341] [indexID=-1] [checksum=13133787126228658672] [totalKvs=1] [totalBytes=37] [2025/04/04 10:51:15.367 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:15.367 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [local="{cksum=13133787126228658672,size=37,kvs=1}"] [2025/04/04 10:51:15.367 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=49ab7f09-b560-4c7b-b632-12dbcedd31e3] [checksum="{\"id=-1\"=\"{cksum=13133787126228658672,size=37,kvs=1}\"}"] [takeTime=2.516152ms] [] [2025/04/04 10:51:15.368 +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/04 10:51:15.368 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=5.832Β΅s] [] [2025/04/04 10:51:15.368 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 10:51:15.369 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=944.469Β΅s] [] [2025/04/04 10:51:15.369 +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/04 10:51:15.369 +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.39Β΅s] [] [2025/04/04 10:51:15.369 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 10:51:15.370 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=805.937Β΅s] [] [2025/04/04 10:51:15.373 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:15.373 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:15.373 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:15.373 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:15.373 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:15.373 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:15.373 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:15.373 +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/04 10:51:15.373 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:15.373 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:15.373 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:15.373 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:15.375 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:15.375 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:15.375 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:15.375 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:15.380 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Del(dummy-task)] [2025/04/04 10:51:15.381 +00:00] [INFO] [db.go:141] ["dec log backup task"] [count=0] [2025/04/04 10:51:15.381 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:51:15.392 +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-04 10:51:15.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 10:51:15.392 +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-04 10:51:15.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:15.397 +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-04 10:51:15.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.405 +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/04 10:51:15.421 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.676487ms] [gotSchemaVersion=245] [phyTblIDs="[339,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:51:15.424 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=245] [2025/04/04 10:51:15.426 +00:00] [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"=8.639235ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.436 +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/04 10:51:15.441 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/04 10:51:15.442 +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-04 10:51:15.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.460 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/04 10:51:15.460 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=245] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 10:51:15.467 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:15.484 +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.59s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTableNotEmpty [2025/04/04 10:51:15.500 +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-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:51:15.500 +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-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:15.505 +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-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=161.767Β΅s] [gotSchemaVersion=246] [phyTblIDs="[341,343]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:15.525 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=246] [2025/04/04 10:51:15.527 +00:00] [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"=7.419485ms] [job="ID:345, Type:drop schema, State:running, SchemaState:write only, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.536 +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-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.549 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=134.698Β΅s] [gotSchemaVersion=247] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:15.552 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=247] [2025/04/04 10:51:15.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=247] ["take time"=6.858417ms] [job="ID:345, Type:drop schema, State:running, SchemaState:delete only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.562 +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-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.568 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:51:15.579 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=192.949Β΅s] [gotSchemaVersion=248] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:15.583 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=248] [2025/04/04 10:51:15.585 +00:00] [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.298864ms] [job="ID:345, Type:drop schema, State:done, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.594 +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/04 10:51:15.599 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=345] [jobType="drop schema"] [2025/04/04 10:51:15.600 +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-04 10:51:15.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.617 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=345] [2025/04/04 10:51:15.617 +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/04 10:51:15.629 +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-04 10:51:15.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:51:15.629 +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-04 10:51:15.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:15.635 +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-04 10:51:15.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.648 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=654.617Β΅s] [gotSchemaVersion=249] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:15.651 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=249] [2025/04/04 10:51:15.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=249] ["take time"=7.776827ms] [job="ID:347, Type:create schema, State:done, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.663 +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-04 10:51:15.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.673 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/04 10:51:15.673 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=249] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 10:51:15.675 +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/04 10:51:15.687 +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-04 10:51:15.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:15.687 +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-04 10:51:15.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:51:15.692 +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-04 10:51:15.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.697 +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/04 10:51:15.712 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.60153ms] [gotSchemaVersion=250] [phyTblIDs="[348]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:15.715 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=250] [2025/04/04 10:51: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=250] ["take time"=8.240818ms] [job="ID:349, Type:create table, State:done, SchemaState:public, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.727 +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-04 10:51:15.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.739 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=349] [2025/04/04 10:51:15.739 +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/04 10:51:15.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117237432025116] [2025/04/04 10:51:15.749 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTableNotEmpty (0.27s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTotalFileSize0 [2025/04/04 10:51:15.771 +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-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:15.771 +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-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 10:51:15.776 +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-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.790 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=142.919Β΅s] [gotSchemaVersion=251] [phyTblIDs="[348]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:15.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=251] [2025/04/04 10:51: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=251] ["take time"=6.760604ms] [job="ID:350, Type:drop schema, State:running, SchemaState:write only, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.804 +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-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=127.243Β΅s] [gotSchemaVersion=252] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:15.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=252] [2025/04/04 10:51:15.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=252] ["take time"=6.762728ms] [job="ID:350, Type:drop schema, State:running, SchemaState:delete only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.830 +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-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.835 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:51:15.846 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=131.126Β΅s] [gotSchemaVersion=253] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:15.849 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=253] [2025/04/04 10:51:15.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=253] ["take time"=7.252101ms] [job="ID:350, Type:drop schema, State:done, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.858 +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/04 10:51:15.863 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=350] [jobType="drop schema"] [2025/04/04 10:51:15.863 +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-04 10:51:15.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.878 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/04 10:51:15.879 +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/04 10:51:15.890 +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-04 10:51:15.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:15.890 +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-04 10:51:15.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 10:51:15.895 +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-04 10:51:15.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.909 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=744.342Β΅s] [gotSchemaVersion=254] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:15.912 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=254] [2025/04/04 10:51:15.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=254] ["take time"=7.916951ms] [job="ID:352, Type:create schema, State:done, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.925 +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-04 10:51:15.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.934 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/04 10:51:15.935 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=254] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 10:51:15.937 +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/04 10:51:15.950 +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-04 10:51:15.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:15.950 +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-04 10:51:15.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 10:51:15.955 +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-04 10:51:15.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.960 +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/04 10:51:15.974 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.591848ms] [gotSchemaVersion=255] [phyTblIDs="[353]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:15.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=255] [2025/04/04 10:51:15.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"=8.329342ms] [job="ID:354, Type:create table, State:done, SchemaState:public, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:15.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:15.990 +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-04 10:51:15.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.000 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/04 10:51:16.001 +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/04 10:51:16.003 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117237510406145] [2025/04/04 10:51:16.010 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:16.025 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTotalFileSize0 (0.27s) === NAME TestImportInto === RUN TestImportInto/TestRegisterTask [2025/04/04 10:51:16.045 +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-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:16.045 +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-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 10:51:16.050 +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-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=152.861Β΅s] [gotSchemaVersion=256] [phyTblIDs="[353]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:16.068 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=256] [2025/04/04 10:51:16.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=256] ["take time"=6.929981ms] [job="ID:355, Type:drop schema, State:running, SchemaState:write only, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.079 +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-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.091 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=134.913Β΅s] [gotSchemaVersion=257] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:16.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=257] [2025/04/04 10:51:16.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=257] ["take time"=6.732213ms] [job="ID:355, Type:drop schema, State:running, SchemaState:delete only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.103 +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-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.108 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:51:16.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=131.74Β΅s] [gotSchemaVersion=258] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:16.120 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=258] [2025/04/04 10:51:16.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=258] ["take time"=6.546446ms] [job="ID:355, Type:drop schema, State:done, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.130 +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/04 10:51:16.134 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop schema"] [2025/04/04 10:51:16.135 +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-04 10:51:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.150 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/04 10:51:16.150 +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/04 10:51:16.161 +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-04 10:51:16.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:16.161 +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-04 10:51:16.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 10:51:16.166 +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-04 10:51:16.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.179 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=707.337Β΅s] [gotSchemaVersion=259] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:16.182 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=259] [2025/04/04 10:51:16.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=259] ["take time"=7.306975ms] [job="ID:357, Type:create schema, State:done, SchemaState:public, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.193 +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-04 10:51:16.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.202 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/04 10:51:16.202 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=259] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 10:51:16.214 +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-04 10:51:16.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:16.214 +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-04 10:51:16.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [2025/04/04 10:51:16.219 +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-04 10:51:16.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.223 +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/04 10:51:16.238 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.571947ms] [gotSchemaVersion=260] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:16.241 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=260] [2025/04/04 10:51:16.243 +00:00] [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"=8.10429ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.253 +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-04 10:51:16.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.264 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/04 10:51:16.264 +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/04 10:51:16.270 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:16.316 +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/04 10:51:16.333 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=69] [task-id=69] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 10:51:16.347 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=69] [2025/04/04 10:51:16.347 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 10:51:16.450 +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/04 10:51:16.451 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:16.452 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=69] [curr-step=init] [next-step=import] [2025/04/04 10:51:16.459 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:16.461 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 10:51:16.461 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 10:51:16.462 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=41.133Β΅s] [2025/04/04 10:51:16.462 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=130.057Β΅s] [] [2025/04/04 10:51:16.462 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=69] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:16.462 +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=26] [subtasks=1] [2025/04/04 10:51:16.498 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=69] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 10:51:16.517 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=69] [step=import] [2025/04/04 10:51:16.517 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:16.524 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:16.524 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:16.525 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:16.525 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:16.525 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:16.525 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:16.525 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:16.525 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:16.526 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:16.526 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:16.537 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:16.539 +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/04 10:51:16.539 +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/04 10:51:16.539 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=69] [disk-quota=348.5GiB] [2025/04/04 10:51:16.539 +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/04 10:51:16.539 +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=26, Mem=16GiB]"] [2025/04/04 10:51:16.546 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=132] [step=import] [2025/04/04 10:51:16.546 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=69] [step=import] [subtask-id=132] [2025/04/04 10:51:16.550 +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/04 10:51:16.553 +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/04 10:51:16.553 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=358] [2025/04/04 10:51:16.555 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=69] [mode=Import] [2025/04/04 10:51:16.570 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=69] [2025/04/04 10:51:16.570 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=69] [2025/04/04 10:51:16.584 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=358] [key=register_task-1.tsv:0] [2025/04/04 10:51:16.586 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=358] [key=register_task-1.tsv:0] [readDur=836.701Β΅s] [encodeDur=223.287Β΅s] [checksum="{cksum=16609841413703989000,size=37,kvs=1}"] [deliverDur=246.418Β΅s] [type=file] [takeTime=1.554909ms] [] [2025/04/04 10:51:16.586 +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/3a03089c-16df-43f4-9c89-11a3463be6f5.sst] [firstKey=7480000000000001665F728000000000000001] [lastKey=7480000000000001665F728000000000000001] [2025/04/04 10:51:16.587 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/04 10:51:16.587 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/04 10:51:16.587 +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/04 10:51:16.589 +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=1.995296ms] [] [2025/04/04 10:51:16.589 +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/04 10:51:16.593 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:16.614 +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/04 10:51:16.615 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:16.616 +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/04 10:51:16.626 +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/04 10:51:16.628 +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.111045ms] [] [2025/04/04 10:51:16.628 +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/04 10:51:16.629 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [takeTime=956.157Β΅s] [] [2025/04/04 10:51:16.629 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/04 10:51:16.629 +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/04 10:51:16.631 +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.622312ms] [] [2025/04/04 10:51:16.631 +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/04 10:51:16.634 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:51:16.635 +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.780825ms] [] [2025/04/04 10:51:16.635 +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/04 10:51:16.636 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=870.192Β΅s] [] [2025/04/04 10:51:16.636 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=69] [step=import] [subtask-id=132] [takeTime=89.420292ms] [] [2025/04/04 10:51:16.636 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=132] [step=import] [takeTime=89.555298ms] [] [2025/04/04 10:51:16.654 +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/04 10:51:16.655 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:16.656 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:16.657 +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/04 10:51:16.685 +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/04 10:51:16.686 +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/04 10:51:16.687 +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=26] [subtasks=1] [2025/04/04 10:51:16.724 +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/04 10:51:16.730 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=69] [step=import] [2025/04/04 10:51:16.733 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:16.733 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:16.733 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:16.733 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:16.733 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:16.733 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:16.733 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:16.733 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:16.733 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:16.733 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:16.733 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:16.733 +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/04 10:51:16.735 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:16.735 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:16.735 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:16.735 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:16.735 +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=26, Mem=16GiB]"] [takeTime=196.192806ms] [] [2025/04/04 10:51:16.737 +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=26, Mem=16GiB]"] [2025/04/04 10:51:16.745 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=52] [new=16] [2025/04/04 10:51:16.745 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=133] [step=post-process] [2025/04/04 10:51:16.745 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [2025/04/04 10:51:16.745 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [2025/04/04 10:51:16.745 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [2025/04/04 10:51:16.751 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [takeTime=5.667412ms] [] [2025/04/04 10:51:16.751 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [groupId=-1] [size=37] [kvs=1] [checksum=16609841413703989000] [2025/04/04 10:51:16.751 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [checksum="{cksum=16609841413703989000,size=37,kvs=1}"] [2025/04/04 10:51:16.751 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [weight=30] [2025/04/04 10:51:16.751 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [concurrency=15] [2025/04/04 10:51:16.753 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=358] [physicalTableID=358] [indexID=-1] [checksum=16609841413703989000] [totalKvs=1] [totalBytes=37] [2025/04/04 10:51:16.753 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:16.753 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [local="{cksum=16609841413703989000,size=37,kvs=1}"] [2025/04/04 10:51:16.753 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [takeTime=8.481628ms] [] [2025/04/04 10:51:16.753 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=133] [takeTime=8.61533ms] [] [2025/04/04 10:51:16.753 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=133] [step=post-process] [takeTime=8.751831ms] [] [2025/04/04 10:51:16.779 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:16.855 +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/04 10:51:16.855 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=69] [step=post-process] [state=running] [] [2025/04/04 10:51:16.856 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=69] [2025/04/04 10:51:16.856 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=69] [2025/04/04 10:51:16.871 +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=26, Mem=16GiB]"] [takeTime=133.84366ms] [] [2025/04/04 10:51:16.871 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=69] [type=ImportInto] [2025/04/04 10:51:16.949 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=69] [2025/04/04 10:51:16.949 +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.684511026\n# Parse_time: 0.000072202\n# Compile_time: 0.000441303\n# Rewrite_time: 0.000150839\n# Optimize_time: 0.000233473\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My43bXMsIG9wZW46NjU4bnMsIGNsb3NlOjEuMTPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4My43bXMsIG9wZW46NjU4bnMsIGNsb3NlOjEuMTPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:16.955 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:16.955 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=69] [2025/04/04 10:51:16.963 +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-04 10:51:16.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:16.963 +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-04 10:51:16.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.register_task;"] [2025/04/04 10:51:16.968 +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-04 10:51:16.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.976 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:16.976 +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/04 10:51:16.991 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.559671ms] [gotSchemaVersion=261] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:51:16.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=261] [2025/04/04 10:51:16.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=261] ["take time"=8.326464ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:17.006 +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/04 10:51:17.010 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/04 10:51:17.011 +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-04 10:51:16.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:17.028 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/04 10:51:17.029 +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/04 10:51:17.034 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:17.081 +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/04 10:51:17.101 +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/04 10:51:17.114 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=70] [2025/04/04 10:51:17.114 +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/04 10:51:17.216 +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/04 10:51:17.217 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:17.218 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=70] [curr-step=init] [next-step=import] [2025/04/04 10:51:17.226 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:17.228 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 10:51:17.228 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 10:51:17.228 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=51.325Β΅s] [2025/04/04 10:51:17.229 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=140.105Β΅s] [] [2025/04/04 10:51:17.229 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=70] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:17.229 +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/04 10:51:17.257 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=70] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:17.275 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=70] [step=import] [2025/04/04 10:51:17.276 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:17.283 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:17.283 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:17.283 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:17.284 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:17.284 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:17.284 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:17.284 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:17.284 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:17.284 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:17.284 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:17.295 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:17.297 +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/04 10:51:17.297 +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/04 10:51:17.297 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=70] [disk-quota=348.5GiB] [2025/04/04 10:51:17.297 +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/04 10:51:17.297 +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/04 10:51:17.304 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [subtaskID=134] [step=import] [2025/04/04 10:51:17.304 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=70] [step=import] [subtask-id=134] [2025/04/04 10:51:17.308 +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/04 10:51:17.311 +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/04 10:51:17.311 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=360] [2025/04/04 10:51:17.323 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=70] [mode=Import] [2025/04/04 10:51:17.339 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=70] [2025/04/04 10:51:17.339 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=70] [2025/04/04 10:51:19.289 +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/04 10:51:20.311 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=70] [step=import] [subtask-id=134] [takeTime=3.006563627s] [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/04 10:51:20.311 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [subtaskID=134] [step=import] [takeTime=3.006924852s] [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/04 10:51:20.311 +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/04 10:51:20.319 +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/04 10:51:20.428 +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/04 10:51:20.443 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=70] [step=import] [2025/04/04 10:51:20.446 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:20.446 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:20.446 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:20.446 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:20.446 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:20.446 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:20.446 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:20.446 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:20.446 +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/04 10:51:20.446 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:20.446 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:20.446 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:20.448 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:20.448 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:20.448 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:20.448 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:20.448 +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.150919053s] [] [2025/04/04 10:51:20.449 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=70] [type=ImportInto] [2025/04/04 10:51:20.521 +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/04 10:51:20.523 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=70] [step=import] [mode=Normal] [2025/04/04 10:51:20.536 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=70] [2025/04/04 10:51:20.536 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=70] [2025/04/04 10:51:20.617 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=70] [2025/04/04 10:51:20.624 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:20.624 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=70] [2025/04/04 10:51:20.645 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:20.714 +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/04 10:51:20.715 +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.6855292139999998\n# Parse_time: 0.000084671\n# Compile_time: 0.000430459\n# Rewrite_time: 0.000129461\n# Optimize_time: 0.000281812\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjhzLCBvcGVuOjY5OG5zLCBjbG9zZTo3MTNucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTozLjY4cywgb3Blbjo2OThucywgY2xvc2U6NzEzbnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 10:51:20.723 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:20.771 +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/04 10:51:20.791 +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/04 10:51:20.888 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=71] [2025/04/04 10:51:20.889 +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/04 10:51:20.991 +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/04 10:51:20.992 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:20.994 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=71] [curr-step=init] [next-step=import] [2025/04/04 10:51:21.002 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:21.004 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 10:51:21.004 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 10:51:21.004 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=49.173Β΅s] [2025/04/04 10:51:21.004 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=145.094Β΅s] [] [2025/04/04 10:51:21.004 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=71] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:21.005 +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/04 10:51:21.038 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=71] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:21.057 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=71] [step=import] [2025/04/04 10:51:21.058 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:21.065 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:21.065 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:21.066 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:21.066 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:21.066 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:21.066 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:21.066 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:21.066 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:21.067 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:21.067 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:21.079 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:21.081 +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/04 10:51:21.081 +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/04 10:51:21.081 +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/04 10:51:21.081 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=71] [disk-quota=348.5GiB] [2025/04/04 10:51:21.082 +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/04 10:51:21.089 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=135] [step=import] [2025/04/04 10:51:21.089 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=71] [step=import] [subtask-id=135] [2025/04/04 10:51:21.093 +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/04 10:51:21.096 +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/04 10:51:21.096 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=360] testkit.go:123: RefreshSession rand seed: 1743763881097024065 [2025/04/04 10:51:21.097 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=71] [mode=Import] [2025/04/04 10:51:21.111 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:21.117 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=71] [2025/04/04 10:51:21.505 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=360] [key=register_task-1.tsv:0] [2025/04/04 10:51:21.508 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=360] [key=register_task-1.tsv:0] [readDur=996.357Β΅s] [encodeDur=1.144741ms] [checksum="{cksum=18276122673824376811,size=37,kvs=1}"] [deliverDur=270.344Β΅s] [type=file] [takeTime=2.731058ms] [] [2025/04/04 10:51:21.508 +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/0e237dc7-f43a-47b2-b568-ef2db4e6164a.sst] [firstKey=7480000000000001685F728000000000000001] [lastKey=7480000000000001685F728000000000000001] [2025/04/04 10:51:21.509 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/04 10:51:21.509 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/04 10:51:21.509 +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/04 10:51:21.511 +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.12337ms] [] [2025/04/04 10:51:21.511 +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/04 10:51:21.516 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:21.538 +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/04 10:51:21.539 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:21.540 +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/04 10:51:21.552 +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/04 10:51:21.554 +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.713707ms] [] [2025/04/04 10:51:21.554 +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/04 10:51:21.555 +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.095545ms] [] [2025/04/04 10:51:21.555 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/04 10:51:21.555 +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/04 10:51:21.557 +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.550824ms] [] [2025/04/04 10:51:21.557 +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/04 10:51:21.561 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 10:51:21.561 +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=4.06311ms] [] [2025/04/04 10:51:21.561 +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/04 10:51:21.562 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=926.064Β΅s] [] [2025/04/04 10:51:21.562 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=71] [step=import] [subtask-id=135] [takeTime=473.055679ms] [] [2025/04/04 10:51:21.562 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=135] [step=import] [takeTime=473.258251ms] [] [2025/04/04 10:51:21.596 +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/04 10:51:21.598 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:21.600 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:21.600 +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/04 10:51:21.632 +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/04 10:51:21.634 +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/04 10:51:21.634 +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/04 10:51:21.669 +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/04 10:51:21.676 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=71] [step=import] [2025/04/04 10:51:21.679 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:21.679 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:21.679 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:21.679 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:21.679 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:21.679 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:21.679 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:21.679 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:21.679 +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/04 10:51:21.679 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:21.679 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:21.679 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:21.682 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:21.682 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:21.682 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:21.682 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:21.682 +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=600.911854ms] [] [2025/04/04 10:51:21.684 +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/04 10:51:21.692 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=136] [step=post-process] [2025/04/04 10:51:21.692 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [2025/04/04 10:51:21.692 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [2025/04/04 10:51:21.693 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [2025/04/04 10:51:21.700 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [takeTime=7.299533ms] [] [2025/04/04 10:51:21.700 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [groupId=-1] [size=37] [kvs=1] [checksum=18276122673824376811] [2025/04/04 10:51:21.700 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [checksum="{cksum=18276122673824376811,size=37,kvs=1}"] [2025/04/04 10:51:21.700 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [weight=30] [2025/04/04 10:51:21.700 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [concurrency=15] [2025/04/04 10:51:21.702 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=360] [physicalTableID=360] [indexID=-1] [checksum=18276122673824376811] [totalKvs=1] [totalBytes=37] [2025/04/04 10:51:21.702 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:21.703 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [local="{cksum=18276122673824376811,size=37,kvs=1}"] [2025/04/04 10:51:21.703 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [takeTime=10.063444ms] [] [2025/04/04 10:51:21.703 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=136] [takeTime=10.291321ms] [] [2025/04/04 10:51:21.704 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=136] [step=post-process] [takeTime=11.790558ms] [] [2025/04/04 10:51:21.726 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:21.796 +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/04 10:51:21.796 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=71] [step=post-process] [state=running] [] [2025/04/04 10:51:21.798 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=71] [2025/04/04 10:51:21.823 +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=138.751666ms] [] [2025/04/04 10:51:21.823 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=71] [type=ImportInto] [2025/04/04 10:51:21.891 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=71] [2025/04/04 10:51:21.897 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:21.897 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=71] [2025/04/04 10:51:21.918 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:22.008 +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.290519758\n# Parse_time: 0.00031217\n# Compile_time: 0.000461211\n# Rewrite_time: 0.000127558\n# Optimize_time: 0.000281812\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjU4Nm5zLCBjbG9zZTo3NThucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjU4Nm5zLCBjbG9zZTo3NThucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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 (5.98s) === NAME TestImportInto === RUN TestImportInto/TestSameBehaviourDetachedOrNot [2025/04/04 10:51:22.016 +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/04 10:51:22.028 +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-04 10:51:22.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/04 10:51:22.028 +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-04 10:51:22.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:22.034 +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-04 10:51:22.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.048 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=735.857Β΅s] [gotSchemaVersion=262] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:22.051 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=262] [2025/04/04 10:51:22.053 +00:00] [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.204146ms] [job="ID:363, Type:create schema, State:done, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:22.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.064 +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-04 10:51:22.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.074 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/04 10:51:22.074 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=262] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/04 10:51:22.088 +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-04 10:51:22.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [2025/04/04 10:51:22.088 +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-04 10:51:22.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:22.093 +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-04 10:51:22.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.098 +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/04 10:51:22.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.537ms] [gotSchemaVersion=263] [phyTblIDs="[364]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:22.116 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=263] [2025/04/04 10:51:22.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=263] ["take time"=8.452018ms] [job="ID:365, Type:create table, State:done, SchemaState:public, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:22.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.129 +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-04 10:51:22.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.140 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/04 10:51:22.141 +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/04 10:51:22.153 +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-04 10:51:22.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:22.153 +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-04 10:51:22.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [2025/04/04 10:51:22.159 +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-04 10:51:22.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.164 +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/04 10:51:22.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.582519ms] [gotSchemaVersion=264] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:22.181 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=264] [2025/04/04 10:51:22.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=264] ["take time"=8.478071ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:22.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.194 +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-04 10:51:22.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:22.205 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/04 10:51:22.205 +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/04 10:51:22.212 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:22.258 +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/04 10:51:22.276 +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/04 10:51:22.290 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=72] [2025/04/04 10:51:22.290 +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/04 10:51:22.393 +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/04 10:51:22.394 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:22.395 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=72] [curr-step=init] [next-step=import] [2025/04/04 10:51:22.403 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:22.405 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:51:22.405 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=39] [2025/04/04 10:51:22.405 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=40.159Β΅s] [2025/04/04 10:51:22.405 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=131.01Β΅s] [] [2025/04/04 10:51:22.406 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=72] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:22.406 +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/04 10:51:22.438 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=72] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:51:22.458 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=72] [step=import] [2025/04/04 10:51:22.458 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:22.466 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:22.466 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:22.467 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:22.467 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:22.467 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:22.467 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:22.467 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:22.467 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:22.467 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:22.468 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:22.480 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:22.482 +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/04 10:51:22.482 +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/04 10:51:22.482 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=72] [disk-quota=348.5GiB] [2025/04/04 10:51:22.482 +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/04 10:51:22.482 +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/04 10:51:22.490 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=137] [step=import] [2025/04/04 10:51:22.490 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=72] [step=import] [subtask-id=137] [2025/04/04 10:51:22.494 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:51:22.497 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:51:22.497 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=364] [2025/04/04 10:51:22.499 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=72] [mode=Import] [2025/04/04 10:51:22.520 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=72] [2025/04/04 10:51:22.531 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=364] [key=1.txt:0] [2025/04/04 10:51:22.532 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=364] [key=1.txt:0] [readDur=738.643Β΅s] [encodeDur=409.798Β΅s] [checksum="{cksum=14131645107134293034,size=47,kvs=1}"] [deliverDur=255.001Β΅s] [type=file] [takeTime=1.730337ms] [] [2025/04/04 10:51:22.533 +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/30d13e2a-c4f0-46b3-8894-fa259e2c7560.sst] [firstKey=74800000000000016C5F728000000000000001] [lastKey=74800000000000016C5F728000000000000001] [2025/04/04 10:51:22.533 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/04 10:51:22.533 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/04 10:51:22.533 +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/04 10:51:22.535 +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.084096ms] [] [2025/04/04 10:51:22.535 +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/04 10:51:22.540 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:22.561 +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/04 10:51:22.561 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:22.563 +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/04 10:51:22.574 +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/04 10:51:22.576 +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.22873ms] [] [2025/04/04 10:51:22.576 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:51:22.577 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=925.411Β΅s] [] [2025/04/04 10:51:22.577 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/04 10:51:22.577 +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/04 10:51:22.578 +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.445943ms] [] [2025/04/04 10:51:22.578 +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/04 10:51:22.582 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:51:22.582 +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.703434ms] [] [2025/04/04 10:51:22.582 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:51:22.583 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=983.698Β΅s] [] [2025/04/04 10:51:22.583 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=72] [step=import] [subtask-id=137] [takeTime=93.292287ms] [] [2025/04/04 10:51:22.584 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=137] [step=import] [takeTime=93.469814ms] [] [2025/04/04 10:51:22.599 +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/04 10:51:22.600 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:22.601 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:22.601 +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/04 10:51:22.630 +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/04 10:51:22.632 +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/04 10:51:22.632 +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/04 10:51:22.669 +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/04 10:51:22.676 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=72] [step=import] [2025/04/04 10:51:22.678 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:22.678 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:22.678 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:22.678 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:22.678 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:22.679 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:22.679 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:22.679 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:22.679 +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/04 10:51:22.679 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:22.679 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:22.679 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:22.681 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:22.681 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:22.681 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:22.681 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:22.681 +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=198.476942ms] [] [2025/04/04 10:51:22.682 +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/04 10:51:22.682 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:51:22.689 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=138] [step=post-process] [2025/04/04 10:51:22.690 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [2025/04/04 10:51:22.690 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [2025/04/04 10:51:22.690 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [2025/04/04 10:51:22.696 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [takeTime=6.180588ms] [] [2025/04/04 10:51:22.696 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [groupId=-1] [size=47] [kvs=1] [checksum=14131645107134293034] [2025/04/04 10:51:22.696 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [checksum="{cksum=14131645107134293034,size=47,kvs=1}"] [2025/04/04 10:51:22.696 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [weight=30] [2025/04/04 10:51:22.696 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [concurrency=15] [2025/04/04 10:51:22.698 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=364] [physicalTableID=364] [indexID=-1] [checksum=14131645107134293034] [totalKvs=1] [totalBytes=47] [2025/04/04 10:51:22.698 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:22.698 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [local="{cksum=14131645107134293034,size=47,kvs=1}"] [2025/04/04 10:51:22.698 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [takeTime=8.722981ms] [] [2025/04/04 10:51:22.698 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=138] [takeTime=8.872555ms] [] [2025/04/04 10:51:22.699 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=138] [step=post-process] [takeTime=9.009078ms] [] [2025/04/04 10:51:22.798 +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/04 10:51:22.798 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=72] [step=post-process] [state=running] [] [2025/04/04 10:51:22.801 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=72] [2025/04/04 10:51:22.820 +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=137.526053ms] [] [2025/04/04 10:51:22.820 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=72] [type=ImportInto] [2025/04/04 10:51:22.826 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:22.892 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=72] [2025/04/04 10:51:22.893 +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.686796984\n# Parse_time: 0.000117728\n# Compile_time: 0.000611114\n# Rewrite_time: 0.000229307\n# Optimize_time: 0.000296498\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NS44bXMsIG9wZW46NjczbnMsIGNsb3NlOjczOG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NS44bXMsIG9wZW46NjczbnMsIGNsb3NlOjczOG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:22.898 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:22.898 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=72] [2025/04/04 10:51:22.899 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:22.920 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:22.949 +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/04 10:51:22.970 +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/04 10:51:22.984 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=73] [2025/04/04 10:51:22.984 +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/04 10:51:23.086 +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/04 10:51:23.087 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:23.088 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=73] [curr-step=init] [next-step=import] [2025/04/04 10:51:23.096 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:23.098 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:51:23.098 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=39] [2025/04/04 10:51:23.098 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=41.241Β΅s] [2025/04/04 10:51:23.098 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=127.558Β΅s] [] [2025/04/04 10:51:23.098 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=73] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:23.098 +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/04 10:51:23.128 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=73] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:51:23.148 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=73] [step=import] [2025/04/04 10:51:23.148 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:23.156 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:23.156 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:23.156 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:23.156 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:23.157 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:23.157 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:23.157 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:23.157 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:23.157 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:23.158 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:23.169 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:23.171 +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/04 10:51:23.171 +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/04 10:51:23.171 +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/04 10:51:23.171 +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/04 10:51:23.171 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=73] [disk-quota=348.5GiB] [2025/04/04 10:51:23.179 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=139] [step=import] [2025/04/04 10:51:23.179 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=73] [step=import] [subtask-id=139] [2025/04/04 10:51:23.183 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:51:23.186 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:51:23.186 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=366] [2025/04/04 10:51:23.192 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=73] [mode=Import] [2025/04/04 10:51:23.211 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=73] [2025/04/04 10:51:23.219 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=366] [key=1.txt:0] [2025/04/04 10:51:23.220 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=366] [key=1.txt:0] [readDur=822.283Β΅s] [encodeDur=243.691Β΅s] [checksum="{cksum=16630292482618711024,size=47,kvs=1}"] [deliverDur=237.197Β΅s] [type=file] [takeTime=1.582977ms] [] [2025/04/04 10:51:23.221 +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/ca8c108f-1714-437c-a8eb-42e7a05478e5.sst] [firstKey=74800000000000016E5F728000000000000001] [lastKey=74800000000000016E5F728000000000000001] [2025/04/04 10:51:23.221 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/04 10:51:23.221 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/04 10:51:23.221 +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/04 10:51:23.223 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=2.246291ms] [] [2025/04/04 10:51:23.223 +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/04 10:51:23.228 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:23.249 +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/04 10:51:23.249 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:23.251 +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/04 10:51:23.263 +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/04 10:51:23.265 +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=41.036799ms] [] [2025/04/04 10:51:23.265 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:51:23.266 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=957.476Β΅s] [] [2025/04/04 10:51:23.266 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/04 10:51:23.266 +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/04 10:51:23.267 +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.499128ms] [] [2025/04/04 10:51:23.267 +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/04 10:51:23.271 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:51:23.271 +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.570036ms] [] [2025/04/04 10:51:23.271 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:51:23.272 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=837.161Β΅s] [] [2025/04/04 10:51:23.272 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=73] [step=import] [subtask-id=139] [takeTime=92.67202ms] [] [2025/04/04 10:51:23.272 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=139] [step=import] [takeTime=92.845255ms] [] [2025/04/04 10:51:23.291 +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/04 10:51:23.292 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:23.293 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:23.293 +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/04 10:51:23.322 +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/04 10:51:23.323 +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/04 10:51:23.323 +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/04 10:51:23.356 +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/04 10:51:23.363 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=73] [step=import] [2025/04/04 10:51:23.365 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:23.365 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:23.365 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:23.365 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:23.365 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:23.365 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:23.365 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:23.365 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:23.365 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:23.365 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:23.365 +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/04 10:51:23.365 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:23.367 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:23.367 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:23.367 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:23.367 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:23.368 +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=196.221479ms] [] [2025/04/04 10:51:23.369 +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/04 10:51:23.377 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=140] [step=post-process] [2025/04/04 10:51:23.377 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [2025/04/04 10:51:23.377 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [2025/04/04 10:51:23.377 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [2025/04/04 10:51:23.383 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [takeTime=5.728974ms] [] [2025/04/04 10:51:23.383 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [groupId=-1] [size=47] [kvs=1] [checksum=16630292482618711024] [2025/04/04 10:51:23.383 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [checksum="{cksum=16630292482618711024,size=47,kvs=1}"] [2025/04/04 10:51:23.383 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [weight=30] [2025/04/04 10:51:23.383 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [concurrency=15] [2025/04/04 10:51:23.385 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=366] [physicalTableID=366] [indexID=-1] [checksum=16630292482618711024] [totalKvs=1] [totalBytes=47] [2025/04/04 10:51:23.385 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:23.385 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [local="{cksum=16630292482618711024,size=47,kvs=1}"] [2025/04/04 10:51:23.385 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [takeTime=8.377902ms] [] [2025/04/04 10:51:23.385 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=140] [takeTime=8.520279ms] [] [2025/04/04 10:51:23.385 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=140] [step=post-process] [takeTime=8.631199ms] [] [2025/04/04 10:51:23.411 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:23.492 +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/04 10:51:23.492 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=73] [step=post-process] [state=running] [] [2025/04/04 10:51:23.495 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=73] [2025/04/04 10:51:23.521 +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=152.565239ms] [] [2025/04/04 10:51:23.521 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=73] [type=ImportInto] [2025/04/04 10:51:23.587 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=73] [2025/04/04 10:51:23.593 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:23.593 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=73] [2025/04/04 10:51:23.614 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:23.997 +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-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS test_detached;"] [2025/04/04 10:51:23.997 +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-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:24.002 +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-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.018 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=179.403Β΅s] [gotSchemaVersion=265] [phyTblIDs="[364,366]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:24.021 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=265] [2025/04/04 10:51:24.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=265] ["take time"=7.245484ms] [job="ID:368, Type:drop schema, State:running, SchemaState:write only, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.032 +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-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.044 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=136.281Β΅s] [gotSchemaVersion=266] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:24.048 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=266] [2025/04/04 10:51:24.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=266] ["take time"=6.824862ms] [job="ID:368, Type:drop schema, State:running, SchemaState:delete only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.057 +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-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.062 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:51:24.072 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=148.555Β΅s] [gotSchemaVersion=267] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:24.075 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=267] [2025/04/04 10:51:24.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=267] ["take time"=6.834416ms] [job="ID:368, Type:drop schema, State:done, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.087 +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/04 10:51:24.092 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=368] [jobType="drop schema"] [2025/04/04 10:51:24.093 +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-04 10:51:23.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.108 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=368] [2025/04/04 10:51:24.109 +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/04 10:51:24.120 +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-04 10:51:24.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:24.120 +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-04 10:51:24.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/04 10:51:24.125 +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-04 10:51:24.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.138 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=665.575Β΅s] [gotSchemaVersion=268] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:24.141 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=370] [version=268] [2025/04/04 10:51:24.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=268] ["take time"=7.258407ms] [job="ID:370, Type:create schema, State:done, SchemaState:public, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:24.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.152 +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-04 10:51:24.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.162 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=370] [2025/04/04 10:51:24.162 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=268] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/04 10:51:24.174 +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-04 10:51:24.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:24.174 +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-04 10:51:24.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [2025/04/04 10:51:24.179 +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-04 10:51:24.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.184 +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/04 10:51:24.198 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=1.487408ms] [gotSchemaVersion=269] [phyTblIDs="[371]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:24.201 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=269] [2025/04/04 10:51:24.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=269] ["take time"=8.138035ms] [job="ID:372, Type:create table, State:done, SchemaState:public, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:24.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.214 +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-04 10:51:24.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.225 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/04 10:51:24.226 +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/04 10:51:24.238 +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-04 10:51:24.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:24.238 +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-04 10:51:24.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [2025/04/04 10:51:24.243 +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-04 10:51:24.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.248 +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/04 10:51:24.262 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=1.520976ms] [gotSchemaVersion=270] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:24.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=270] [2025/04/04 10:51:24.267 +00:00] [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.204959ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:24.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.277 +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-04 10:51:24.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:24.288 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/04 10:51:24.288 +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/04 10:51:24.294 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:24.340 +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/04 10:51:24.358 +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/04 10:51:24.372 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=74] [2025/04/04 10:51:24.372 +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/04 10:51:24.475 +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/04 10:51:24.476 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:24.477 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=74] [curr-step=init] [next-step=import] [2025/04/04 10:51:24.484 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:24.486 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:51:24.486 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=5] [2025/04/04 10:51:24.486 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=39.834Β΅s] [2025/04/04 10:51:24.486 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=135.269Β΅s] [] [2025/04/04 10:51:24.486 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=74] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:24.486 +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/04 10:51:24.517 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=74] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:51:24.537 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=74] [step=import] [2025/04/04 10:51:24.537 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:24.544 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:24.544 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:24.545 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:24.545 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:24.545 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:24.545 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:24.545 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:24.545 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:24.546 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:24.546 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:24.558 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:24.560 +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/04 10:51:24.560 +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/04 10:51:24.560 +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/04 10:51:24.560 +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/04 10:51:24.560 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=74] [disk-quota=348.5GiB] [2025/04/04 10:51:24.567 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=141] [step=import] [2025/04/04 10:51:24.567 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=74] [step=import] [subtask-id=141] [2025/04/04 10:51:24.571 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:51:24.574 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:51:24.574 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=371] [2025/04/04 10:51:24.580 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=74] [mode=Import] [2025/04/04 10:51:24.599 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=74] [2025/04/04 10:51:24.607 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=371] [key=1.txt:0] [2025/04/04 10:51:24.609 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=371] [key=1.txt:0] [readDur=742.002Β΅s] [encodeDur=489.203Β΅s] [checksum="{cksum=10389631808286628075,size=33,kvs=1}"] [deliverDur=254.89Β΅s] [type=file] [takeTime=1.797124ms] [] [2025/04/04 10:51:24.610 +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/efee3830-b7e4-451d-bb47-34d0c8d0a77a.sst] [firstKey=7480000000000001735F728000000000000001] [lastKey=7480000000000001735F728000000000000001] [2025/04/04 10:51:24.610 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/04 10:51:24.610 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/04 10:51:24.610 +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/04 10:51:24.612 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.937633ms] [] [2025/04/04 10:51:24.612 +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/04 10:51:24.616 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:24.638 +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/04 10:51:24.638 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:24.639 +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/04 10:51:24.650 +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/04 10:51:24.652 +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.798972ms] [] [2025/04/04 10:51:24.652 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 10:51:24.653 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=975.412Β΅s] [] [2025/04/04 10:51:24.653 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/04 10:51:24.653 +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/04 10:51:24.654 +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.399882ms] [] [2025/04/04 10:51:24.654 +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/04 10:51:24.658 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:51:24.658 +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.461358ms] [] [2025/04/04 10:51:24.658 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 10:51:24.659 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=881.747Β΅s] [] [2025/04/04 10:51:24.659 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=74] [step=import] [subtask-id=141] [takeTime=91.662731ms] [] [2025/04/04 10:51:24.659 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=141] [step=import] [takeTime=91.8638ms] [] [2025/04/04 10:51:24.679 +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/04 10:51:24.680 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:24.681 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:24.682 +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/04 10:51:24.714 +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/04 10:51:24.715 +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/04 10:51:24.715 +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/04 10:51:24.744 +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/04 10:51:24.750 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=74] [step=import] [2025/04/04 10:51:24.753 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:24.753 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:24.753 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:24.753 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:24.753 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:24.753 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:24.753 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:24.753 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:24.753 +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/04 10:51:24.753 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:24.753 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:24.753 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:24.755 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:24.755 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:24.755 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:24.755 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:24.755 +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=195.226397ms] [] [2025/04/04 10:51:24.756 +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/04 10:51:24.763 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=142] [step=post-process] [2025/04/04 10:51:24.763 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [2025/04/04 10:51:24.763 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [2025/04/04 10:51:24.763 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [2025/04/04 10:51:24.769 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [takeTime=5.515285ms] [] [2025/04/04 10:51:24.769 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [groupId=-1] [size=33] [kvs=1] [checksum=10389631808286628075] [2025/04/04 10:51:24.769 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [checksum="{cksum=10389631808286628075,size=33,kvs=1}"] [2025/04/04 10:51:24.769 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [weight=30] [2025/04/04 10:51:24.769 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [concurrency=15] [2025/04/04 10:51:24.771 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=371] [physicalTableID=371] [indexID=-1] [checksum=10389631808286628075] [totalKvs=1] [totalBytes=33] [2025/04/04 10:51:24.771 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:24.771 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [local="{cksum=10389631808286628075,size=33,kvs=1}"] [2025/04/04 10:51:24.771 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [takeTime=7.974178ms] [] [2025/04/04 10:51:24.771 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=142] [takeTime=8.118129ms] [] [2025/04/04 10:51:24.771 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=142] [step=post-process] [takeTime=8.223718ms] [] [2025/04/04 10:51:24.796 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:24.879 +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/04 10:51:24.879 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=74] [step=post-process] [state=running] [] [2025/04/04 10:51:24.881 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=74] [2025/04/04 10:51:24.905 +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=149.277324ms] [] [2025/04/04 10:51:24.906 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=74] [type=ImportInto] [2025/04/04 10:51:24.974 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=74] [2025/04/04 10:51:24.975 +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.686094074\n# Parse_time: 0.000107225\n# Compile_time: 0.00044426\n# Rewrite_time: 0.000158059\n# Optimize_time: 0.000245732\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NS4zbXMsIG9wZW46NjIxbnMsIGNsb3NlOjY1MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NS4zbXMsIG9wZW46NjIxbnMsIGNsb3NlOjY1MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:24.979 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:24.979 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=74] [2025/04/04 10:51:24.981 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:25.000 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:25.026 +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/04 10:51:25.044 +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/04 10:51:25.056 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=75] [2025/04/04 10:51:25.056 +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/04 10:51:25.158 +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/04 10:51:25.160 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:25.160 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=75] [curr-step=init] [next-step=import] [2025/04/04 10:51:25.168 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:25.170 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:51:25.170 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=5] [2025/04/04 10:51:25.170 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=59.148Β΅s] [2025/04/04 10:51:25.170 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=203.839Β΅s] [] [2025/04/04 10:51:25.171 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=75] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:25.171 +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/04 10:51:25.208 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=75] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:51:25.228 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=75] [step=import] [2025/04/04 10:51:25.228 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:25.235 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:25.235 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:25.236 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:25.236 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:25.236 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:25.236 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:25.236 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:25.236 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:25.237 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:25.237 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:25.248 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:25.250 +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/04 10:51:25.250 +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/04 10:51:25.250 +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/04 10:51:25.250 +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/04 10:51:25.250 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=75] [disk-quota=348.5GiB] [2025/04/04 10:51:25.257 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=143] [step=import] [2025/04/04 10:51:25.258 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=75] [step=import] [subtask-id=143] [2025/04/04 10:51:25.261 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:51:25.264 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:51:25.264 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=75] [mode=Import] [2025/04/04 10:51:25.264 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=373] [2025/04/04 10:51:25.267 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=373] [key=1.txt:0] [2025/04/04 10:51:25.269 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=373] [key=1.txt:0] [readDur=702.263Β΅s] [encodeDur=201.152Β΅s] [checksum="{cksum=5264423192021952273,size=33,kvs=1}"] [deliverDur=250.493Β΅s] [type=file] [takeTime=1.479841ms] [] [2025/04/04 10:51:25.269 +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/2bb3b058-8e42-4aba-af31-a6a1476bebec.sst] [firstKey=7480000000000001755F728000000000000001] [lastKey=7480000000000001755F728000000000000001] [2025/04/04 10:51:25.269 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/04 10:51:25.269 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/04 10:51:25.269 +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/04 10:51:25.271 +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.888857ms] [] [2025/04/04 10:51:25.271 +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/04 10:51:25.275 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:25.286 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=75] [2025/04/04 10:51:25.297 +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/04 10:51:25.297 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:25.299 +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/04 10:51:25.309 +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/04 10:51:25.311 +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=39.155742ms] [] [2025/04/04 10:51:25.311 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 10:51:25.312 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=930.435Β΅s] [] [2025/04/04 10:51:25.312 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/04 10:51:25.312 +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/04 10:51:25.313 +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.442946ms] [] [2025/04/04 10:51:25.313 +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/04 10:51:25.317 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:51:25.317 +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.44163ms] [] [2025/04/04 10:51:25.317 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 10:51:25.318 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=740.254Β΅s] [] [2025/04/04 10:51:25.318 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=75] [step=import] [subtask-id=143] [takeTime=60.105389ms] [] [2025/04/04 10:51:25.318 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=143] [step=import] [takeTime=60.237392ms] [] [2025/04/04 10:51:25.363 +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/04 10:51:25.364 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:25.365 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:25.365 +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/04 10:51:25.398 +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/04 10:51:25.399 +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/04 10:51:25.399 +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/04 10:51:25.418 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:51:25.424 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=75] [step=import] [2025/04/04 10:51:25.427 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:25.427 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:25.427 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:25.427 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:25.427 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:25.427 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:25.427 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:25.427 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:25.427 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:25.427 +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/04 10:51:25.427 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:25.427 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:25.429 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:25.429 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:25.429 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:25.429 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:25.429 +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=178.393087ms] [] [2025/04/04 10:51:25.430 +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/04 10:51:25.437 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=144] [step=post-process] [2025/04/04 10:51:25.437 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [2025/04/04 10:51:25.437 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [2025/04/04 10:51:25.437 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [2025/04/04 10:51:25.443 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [takeTime=5.753178ms] [] [2025/04/04 10:51:25.443 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [groupId=-1] [size=33] [kvs=1] [checksum=5264423192021952273] [2025/04/04 10:51:25.443 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [checksum="{cksum=5264423192021952273,size=33,kvs=1}"] [2025/04/04 10:51:25.443 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [weight=30] [2025/04/04 10:51:25.443 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [concurrency=15] [2025/04/04 10:51:25.445 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=373] [physicalTableID=373] [indexID=-1] [checksum=5264423192021952273] [totalKvs=1] [totalBytes=33] [2025/04/04 10:51:25.446 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:25.446 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [local="{cksum=5264423192021952273,size=33,kvs=1}"] [2025/04/04 10:51:25.446 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [takeTime=8.563947ms] [] [2025/04/04 10:51:25.446 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=144] [takeTime=8.720837ms] [] [2025/04/04 10:51:25.446 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=144] [step=post-process] [takeTime=8.879155ms] [] [2025/04/04 10:51:25.463 +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/04 10:51:25.463 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=75] [step=post-process] [state=running] [] [2025/04/04 10:51:25.466 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=75] [2025/04/04 10:51:25.467 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:25.495 +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=64.982079ms] [] [2025/04/04 10:51:25.495 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=75] [type=ImportInto] [2025/04/04 10:51:25.559 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=75] [2025/04/04 10:51:25.565 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:25.565 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=75] [2025/04/04 10:51:25.585 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestSameBehaviourDetachedOrNot (4.05s) === NAME TestImportInto === RUN TestImportInto/TestShowDetachedJob [2025/04/04 10:51:26.061 +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/04 10:51:26.072 +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-04 10:51:26.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:26.072 +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-04 10:51:26.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database show_detached_job"] [2025/04/04 10:51:26.077 +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-04 10:51:26.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.090 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=633.271Β΅s] [gotSchemaVersion=271] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:26.093 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=376] [version=271] [2025/04/04 10:51: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=271] ["take time"=7.368378ms] [job="ID:376, Type:create schema, State:done, SchemaState:public, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:26.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.105 +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-04 10:51:26.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.114 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=376] [2025/04/04 10:51:26.114 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=271] [cur_db=] [sql="create database show_detached_job"] [user=root@%] [2025/04/04 10:51:26.127 +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-04 10:51:26.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:26.127 +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-04 10:51:26.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 10:51:26.132 +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-04 10:51:26.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.136 +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/04 10:51:26.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.352055ms] [gotSchemaVersion=272] [phyTblIDs="[377]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:26.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=378] [version=272] [2025/04/04 10:51:26.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=272] ["take time"=7.942525ms] [job="ID:378, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:26.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.164 +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-04 10:51:26.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.174 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=378] [2025/04/04 10:51:26.175 +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/04 10:51:26.188 +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-04 10:51:26.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:26.188 +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-04 10:51:26.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 10:51:26.193 +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-04 10:51:26.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.197 +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/04 10:51:26.210 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.356074ms] [gotSchemaVersion=273] [phyTblIDs="[379]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:26.213 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=273] [2025/04/04 10:51:26.215 +00:00] [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"=7.676826ms] [job="ID:380, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:26.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.224 +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-04 10:51:26.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.234 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/04 10:51:26.235 +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/04 10:51:26.246 +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-04 10:51:26.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:26.246 +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-04 10:51:26.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/04 10:51:26.251 +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-04 10:51:26.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.256 +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/04 10:51:26.268 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.340206ms] [gotSchemaVersion=274] [phyTblIDs="[381]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:26.271 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=382] [version=274] [2025/04/04 10:51:26.273 +00:00] [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"=7.979005ms] [job="ID:382, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:26.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.283 +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-04 10:51:26.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:26.293 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=382] [2025/04/04 10:51:26.294 +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/04 10:51:26.300 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:26.345 +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/04 10:51:26.362 +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/04 10:51:26.376 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=76] [2025/04/04 10:51:26.376 +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/04 10:51:26.478 +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/04 10:51:26.479 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:26.480 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=76] [curr-step=init] [next-step=import] [2025/04/04 10:51:26.488 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:26.491 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:51:26.491 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 10:51:26.491 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=51.536Β΅s] [2025/04/04 10:51:26.491 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=173.046Β΅s] [] [2025/04/04 10:51:26.491 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=76] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:26.491 +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/04 10:51:26.528 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=76] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:26.547 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=76] [step=import] [2025/04/04 10:51:26.548 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:26.557 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:26.557 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:26.558 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:26.558 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:26.558 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:26.558 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:26.558 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:26.558 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:26.559 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:26.559 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:26.571 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:26.572 +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/04 10:51:26.572 +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/04 10:51:26.572 +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/04 10:51:26.573 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=76] [disk-quota=348.5GiB] [2025/04/04 10:51:26.573 +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/04 10:51:26.580 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=145] [step=import] [2025/04/04 10:51:26.580 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=76] [step=import] [subtask-id=145] [2025/04/04 10:51:26.583 +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/04 10:51:26.584 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=76] [mode=Import] [2025/04/04 10:51:26.587 +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/04 10:51:26.587 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=377] [2025/04/04 10:51:26.590 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=377] [key=t.csv:0] [2025/04/04 10:51:26.592 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=377] [key=t.csv:0] [readDur=966.804Β΅s] [encodeDur=206.538Β΅s] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=411.708Β΅s] [type=file] [takeTime=1.89403ms] [] [2025/04/04 10:51:26.593 +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/5a585433-2d63-4497-8c46-7fdebc2d417a.sst] [firstKey=7480000000000001795F728000000000000001] [lastKey=7480000000000001795F728000000000000002] [2025/04/04 10:51:26.593 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/04 10:51:26.593 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/04 10:51:26.593 +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/04 10:51:26.596 +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.345622ms] [] [2025/04/04 10:51:26.596 +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/04 10:51:26.600 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:26.602 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=76] [2025/04/04 10:51:26.622 +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/04 10:51:26.622 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:26.623 +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/04 10:51:26.634 +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/04 10:51:26.636 +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.265642ms] [] [2025/04/04 10:51:26.636 +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/04 10:51:26.637 +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.055886ms] [] [2025/04/04 10:51:26.637 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/04 10:51:26.637 +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/04 10:51:26.639 +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.415946ms] [] [2025/04/04 10:51:26.639 +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/04 10:51:26.643 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 10:51:26.643 +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=4.403571ms] [] [2025/04/04 10:51:26.643 +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/04 10:51:26.645 +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.199708ms] [] [2025/04/04 10:51:26.645 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=76] [step=import] [subtask-id=145] [takeTime=64.843585ms] [] [2025/04/04 10:51:26.645 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=145] [step=import] [takeTime=65.036824ms] [] [2025/04/04 10:51:26.683 +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/04 10:51:26.684 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:26.685 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:26.685 +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/04 10:51:26.714 +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/04 10:51:26.715 +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/04 10:51:26.715 +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/04 10:51:26.736 +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/04 10:51:26.742 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=76] [step=import] [2025/04/04 10:51:26.745 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:26.745 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:26.745 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:26.745 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:26.745 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:26.745 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:26.745 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:26.745 +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/04 10:51:26.745 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:26.745 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:26.745 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:26.745 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:26.747 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:26.747 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:26.747 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:26.748 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:26.748 +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=174.925527ms] [] [2025/04/04 10:51:26.748 +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/04 10:51:26.756 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=146] [step=post-process] [2025/04/04 10:51:26.757 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [2025/04/04 10:51:26.757 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [2025/04/04 10:51:26.757 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [2025/04/04 10:51:26.757 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [takeTime=2.196Β΅s] [] [2025/04/04 10:51:26.757 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 10:51:26.757 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:51:26.757 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [weight=30] [2025/04/04 10:51:26.757 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [concurrency=15] [2025/04/04 10:51:26.759 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=377] [physicalTableID=377] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:51:26.759 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:26.759 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:51:26.759 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [takeTime=2.631508ms] [] [2025/04/04 10:51:26.759 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=146] [takeTime=2.797362ms] [] [2025/04/04 10:51:26.759 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=146] [step=post-process] [takeTime=2.967961ms] [] [2025/04/04 10:51:26.784 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:26.784 +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/04 10:51:26.784 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=76] [step=post-process] [state=running] [] [2025/04/04 10:51:26.787 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=76] [2025/04/04 10:51:26.805 +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=56.184205ms] [] [2025/04/04 10:51:26.805 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=76] [type=ImportInto] [2025/04/04 10:51:26.878 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=76] [2025/04/04 10:51:26.880 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:26.884 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:26.884 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=76] [2025/04/04 10:51:26.905 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:26.929 +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/04 10:51:26.949 +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/04 10:51:26.963 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=77] [2025/04/04 10:51:26.964 +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/04 10:51:27.066 +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/04 10:51:27.066 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:27.067 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=77] [curr-step=init] [next-step=import] [2025/04/04 10:51:27.075 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:27.077 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:51:27.077 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 10:51:27.077 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=52.178Β΅s] [2025/04/04 10:51:27.078 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=154.626Β΅s] [] [2025/04/04 10:51:27.078 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=77] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:27.078 +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/04 10:51:27.109 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=77] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:27.129 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=77] [step=import] [2025/04/04 10:51:27.129 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:27.138 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:27.138 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:27.138 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:27.139 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:27.139 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:27.139 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:27.139 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:27.139 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:27.139 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:27.140 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:27.152 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:27.154 +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/04 10:51:27.154 +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/04 10:51:27.154 +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/04 10:51:27.154 +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/04 10:51:27.154 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=77] [disk-quota=348.5GiB] [2025/04/04 10:51:27.162 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=147] [step=import] [2025/04/04 10:51:27.162 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=77] [step=import] [subtask-id=147] [2025/04/04 10:51:27.166 +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/04 10:51:27.169 +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/04 10:51:27.169 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=379] [2025/04/04 10:51:27.172 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=379] [key=t2.csv:0] [2025/04/04 10:51:27.172 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=77] [mode=Import] [2025/04/04 10:51:27.174 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=379] [key=t2.csv:0] [readDur=955.157Β΅s] [encodeDur=353.265Β΅s] [checksum="{cksum=0,size=50,kvs=2}"] [deliverDur=167.219Β΅s] [type=file] [takeTime=1.781005ms] [] [2025/04/04 10:51:27.174 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=74800000000000017B5F728000000000000001] [2025/04/04 10:51:27.174 +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/3e46d9a4-36bd-4c59-a1f2-1c5fd0a79be9.sst] [firstKey=74800000000000017B5F728000000000000001] [lastKey=74800000000000017B5F728000000000000001] [2025/04/04 10:51:27.174 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/04 10:51:27.175 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/04 10:51:27.175 +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/04 10:51:27.177 +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.230498ms] [] [2025/04/04 10:51:27.177 +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/04 10:51:27.181 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:27.191 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=77] [2025/04/04 10:51:27.203 +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/04 10:51:27.203 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:27.205 +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/04 10:51:27.215 +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/04 10:51:27.217 +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.613652ms] [] [2025/04/04 10:51:27.217 +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/04 10:51:27.218 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [takeTime=992.368Β΅s] [] [2025/04/04 10:51:27.218 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/04 10:51:27.218 +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/04 10:51:27.219 +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.455773ms] [] [2025/04/04 10:51:27.219 +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/04 10:51:27.223 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 10:51:27.223 +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.533686ms] [] [2025/04/04 10:51:27.223 +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/04 10:51:27.224 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [takeTime=789.1Β΅s] [] [2025/04/04 10:51:27.224 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=77] [step=import] [subtask-id=147] [takeTime=61.912848ms] [] [2025/04/04 10:51:27.224 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=147] [step=import] [takeTime=62.188891ms] [] [2025/04/04 10:51:27.272 +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/04 10:51:27.272 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:27.273 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:27.273 +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/04 10:51:27.303 +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/04 10:51:27.304 +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/04 10:51:27.304 +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/04 10:51:27.328 +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/04 10:51:27.334 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=77] [step=import] [2025/04/04 10:51:27.337 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:27.337 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:27.337 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:27.337 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:27.337 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:27.337 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:27.337 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:27.337 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:27.337 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:27.337 +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/04 10:51:27.337 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:27.337 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:27.340 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:27.340 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:27.340 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:27.340 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:27.340 +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=185.158889ms] [] [2025/04/04 10:51:27.341 +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/04 10:51:27.348 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=148] [step=post-process] [2025/04/04 10:51:27.348 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [2025/04/04 10:51:27.348 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [2025/04/04 10:51:27.348 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [2025/04/04 10:51:27.348 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [takeTime=1.476Β΅s] [] [2025/04/04 10:51:27.348 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [groupId=-1] [size=50] [kvs=2] [checksum=0] [2025/04/04 10:51:27.348 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [checksum="{cksum=0,size=50,kvs=2}"] [2025/04/04 10:51:27.348 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [weight=30] [2025/04/04 10:51:27.348 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [concurrency=15] [2025/04/04 10:51:27.350 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=379] [physicalTableID=379] [indexID=-1] [checksum=5324322070113961250] [totalKvs=1] [totalBytes=25] [2025/04/04 10:51:27.350 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:27.351 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [takeTime=2.506342ms] [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/04 10:51:27.351 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=148] [takeTime=2.830371ms] [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/04 10:51:27.351 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=148] [step=post-process] [takeTime=3.166602ms] [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/04 10:51:27.351 +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/04 10:51:27.357 +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/04 10:51:27.374 +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/04 10:51:27.376 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:27.388 +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.08895ms] [] [2025/04/04 10:51:27.388 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=77] [type=ImportInto] [2025/04/04 10:51:27.471 +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/04 10:51:27.472 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=77] [step=post-process] [mode=Normal] [2025/04/04 10:51:27.477 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=77] [2025/04/04 10:51:27.566 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=77] [2025/04/04 10:51:27.572 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:27.572 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=77] [2025/04/04 10:51:27.593 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:27.963 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:28.013 +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/04 10:51:28.031 +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/04 10:51:28.045 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=78] [2025/04/04 10:51:28.045 +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/04 10:51:28.147 +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/04 10:51:28.148 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:28.149 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=78] [curr-step=init] [next-step=import] [2025/04/04 10:51:28.156 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:28.159 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/04 10:51:28.159 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=536870912000] [after=3] [2025/04/04 10:51:28.159 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=57.147Β΅s] [2025/04/04 10:51:28.159 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=150.256Β΅s] [] [2025/04/04 10:51:28.159 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=78] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:28.159 +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/04 10:51:28.198 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=78] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:28.218 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=78] [step=import] [2025/04/04 10:51:28.218 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:28.226 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:28.226 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:28.227 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:28.227 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:28.227 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:28.227 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:28.227 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:28.227 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:28.228 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:28.228 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:28.241 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:28.243 +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/04 10:51:28.243 +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/04 10:51:28.243 +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/04 10:51:28.243 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=78] [disk-quota=348.5GiB] [2025/04/04 10:51:28.243 +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/04 10:51:28.251 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [subtaskID=149] [step=import] [2025/04/04 10:51:28.251 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=78] [step=import] [subtask-id=149] [2025/04/04 10:51:28.254 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=78] [mode=Import] [2025/04/04 10:51:28.254 +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/04 10:51:28.258 +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/04 10:51:28.258 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=381] [2025/04/04 10:51:28.258 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=78] [step=import] [subtask-id=149] [takeTime=7.530507ms] [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/04 10:51:28.259 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [subtaskID=149] [step=import] [takeTime=7.891584ms] [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/04 10:51:28.259 +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/04 10:51:28.270 +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/04 10:51:28.274 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=78] [2025/04/04 10:51:28.356 +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/04 10:51:28.375 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=78] [step=import] [2025/04/04 10:51:28.378 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:28.378 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:28.378 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:28.378 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:28.378 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:28.378 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:28.378 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:28.378 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:28.378 +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/04 10:51:28.378 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:28.378 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:28.378 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:28.380 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:28.380 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:28.380 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:28.380 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:28.380 +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=137.499121ms] [] [2025/04/04 10:51:28.381 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=78] [type=ImportInto] [2025/04/04 10:51:28.453 +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/04 10:51:28.454 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=78] [step=import] [mode=Normal] [2025/04/04 10:51:28.468 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=78] --- PASS: TestImportInto/TestShowDetachedJob (2.48s) === NAME TestImportInto === RUN TestImportInto/TestShowJob [2025/04/04 10:51:28.547 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=78] [2025/04/04 10:51:28.550 +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/04 10:51:28.554 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:28.554 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=78] [2025/04/04 10:51:28.563 +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-04 10:51:28.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:28.563 +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-04 10:51:28.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_show_job"] [2025/04/04 10:51:28.568 +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-04 10:51:28.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.574 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:28.582 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=789.235Β΅s] [gotSchemaVersion=275] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:28.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=384] [version=275] [2025/04/04 10:51:28.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=275] ["take time"=8.44021ms] [job="ID:384, Type:create schema, State:done, SchemaState:public, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:28.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.599 +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-04 10:51:28.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.609 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=384] [2025/04/04 10:51:28.609 +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/04 10:51:28.622 +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-04 10:51:28.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:28.622 +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-04 10:51:28.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 10:51:28.627 +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-04 10:51:28.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.632 +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/04 10:51:28.645 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.355307ms] [gotSchemaVersion=276] [phyTblIDs="[385]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:28.649 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=276] [2025/04/04 10:51:28.650 +00:00] [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.369919ms] [job="ID:386, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:28.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.661 +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-04 10:51:28.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.671 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/04 10:51:28.672 +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/04 10:51:28.684 +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-04 10:51:28.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:28.684 +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-04 10:51:28.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 10:51:28.689 +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-04 10:51:28.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.694 +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/04 10:51:28.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.347268ms] [gotSchemaVersion=277] [phyTblIDs="[387]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:28.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=277] [2025/04/04 10:51:28.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=277] ["take time"=7.888737ms] [job="ID:388, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:28.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.722 +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-04 10:51:28.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=388] [2025/04/04 10:51:28.733 +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/04 10:51:28.746 +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-04 10:51:28.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/04 10:51:28.746 +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-04 10:51:28.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:28.752 +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-04 10:51:28.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.756 +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/04 10:51:28.771 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.429798ms] [gotSchemaVersion=278] [phyTblIDs="[389]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:28.774 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=390] [version=278] [2025/04/04 10:51:28.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=278] ["take time"=8.643689ms] [job="ID:390, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:28.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.787 +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-04 10:51:28.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:28.798 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=390] [2025/04/04 10:51:28.798 +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/04 10:51:28.861 +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/04 10:51:28.900 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="create user test_show_job1@localhost"] [user=root@%] [2025/04/04 10:51:28.947 +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/04 10:51:29.006 +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/04 10:51:29.049 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="create user test_show_job2@localhost"] [user=root@%] [2025/04/04 10:51:29.210 +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/04 10:51:29.220 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:29.269 +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/04 10:51:29.288 +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/04 10:51:29.302 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=79] [2025/04/04 10:51:29.302 +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/04 10:51:29.405 +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/04 10:51:29.405 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:29.406 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=79] [curr-step=init] [next-step=import] [2025/04/04 10:51:29.413 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:29.416 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 10:51:29.416 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 10:51:29.416 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=37.676Β΅s] [2025/04/04 10:51:29.417 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=138.016Β΅s] [] [2025/04/04 10:51:29.417 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=79] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:29.417 +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/04 10:51:29.447 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=79] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:29.467 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=79] [step=import] [2025/04/04 10:51:29.467 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:29.474 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:29.474 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:29.475 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:29.475 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:29.475 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:29.475 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:29.475 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:29.475 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:29.475 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:29.476 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:29.487 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:29.489 +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/04 10:51:29.489 +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/04 10:51:29.489 +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/04 10:51:29.489 +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/04 10:51:29.489 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=79] [disk-quota=348.5GiB] [2025/04/04 10:51:29.496 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=150] [step=import] [2025/04/04 10:51:29.496 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=79] [step=import] [subtask-id=150] [2025/04/04 10:51:29.499 +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/04 10:51:29.502 +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/04 10:51:29.503 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=385] [2025/04/04 10:51:29.510 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=79] [mode=Import] [2025/04/04 10:51:29.526 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=385] [key=t.csv:0] [2025/04/04 10:51:29.528 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=385] [key=t.csv:0] [readDur=1.17627ms] [encodeDur=228.183Β΅s] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=431.432Β΅s] [type=file] [takeTime=2.177724ms] [] [2025/04/04 10:51:29.529 +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/d8853c7f-c928-4ffe-a7ab-3125d5e6922f.sst] [firstKey=7480000000000001815F728000000000000001] [lastKey=7480000000000001815F728000000000000002] [2025/04/04 10:51:29.529 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/04 10:51:29.529 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/04 10:51:29.529 +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/04 10:51:29.531 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=79] [2025/04/04 10:51:29.531 +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=1.833329ms] [] [2025/04/04 10:51:29.531 +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/04 10:51:29.535 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:29.557 +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/04 10:51:29.557 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:29.559 +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/04 10:51:29.570 +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/04 10:51:29.572 +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.323161ms] [] [2025/04/04 10:51:29.572 +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/04 10:51:29.573 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [takeTime=950.75Β΅s] [] [2025/04/04 10:51:29.573 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/04 10:51:29.573 +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/04 10:51:29.574 +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.431807ms] [] [2025/04/04 10:51:29.574 +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/04 10:51:29.578 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 10:51:29.578 +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.634501ms] [] [2025/04/04 10:51:29.578 +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/04 10:51:29.579 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [takeTime=850.392Β΅s] [] [2025/04/04 10:51:29.579 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=79] [step=import] [subtask-id=150] [takeTime=83.256316ms] [] [2025/04/04 10:51:29.579 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=150] [step=import] [takeTime=83.414031ms] [] [2025/04/04 10:51:29.609 +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/04 10:51:29.610 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:29.611 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:29.611 +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/04 10:51:29.639 +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/04 10:51:29.640 +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/04 10:51:29.640 +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/04 10:51:29.674 +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/04 10:51:29.680 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=79] [step=import] [2025/04/04 10:51:29.683 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:29.683 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:29.683 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:29.683 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:29.683 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:29.683 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:29.683 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:29.683 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:29.683 +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/04 10:51:29.683 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:29.683 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:29.683 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:29.685 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:29.686 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:29.686 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:29.686 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:29.686 +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=196.679206ms] [] [2025/04/04 10:51:29.687 +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/04 10:51:29.696 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=151] [step=post-process] [2025/04/04 10:51:29.696 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [2025/04/04 10:51:29.696 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [2025/04/04 10:51:29.696 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [2025/04/04 10:51:29.696 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [takeTime=1.866Β΅s] [] [2025/04/04 10:51:29.696 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 10:51:29.696 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:51:29.696 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [weight=30] [2025/04/04 10:51:29.696 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [concurrency=15] [2025/04/04 10:51:29.698 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=385] [physicalTableID=385] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:51:29.698 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:29.698 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:51:29.698 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [takeTime=2.373796ms] [] [2025/04/04 10:51:29.698 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=151] [takeTime=2.511465ms] [] [2025/04/04 10:51:29.698 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=151] [step=post-process] [takeTime=2.635699ms] [] [2025/04/04 10:51:29.709 +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/04 10:51:29.710 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=79] [step=post-process] [state=running] [] [2025/04/04 10:51:29.712 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=79] [2025/04/04 10:51:29.719 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:29.726 +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=39.144604ms] [] [2025/04/04 10:51:29.726 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=79] [type=ImportInto] [2025/04/04 10:51:29.804 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=79] [2025/04/04 10:51:29.811 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:29.811 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=79] [2025/04/04 10:51:29.831 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:29.905 +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.691071183\n# Parse_time: 0.00007764\n# Compile_time: 0.000513257\n# Rewrite_time: 0.000181981\n# Optimize_time: 0.000040534\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC4ybXMsIG9wZW46NjEzbnMsIGNsb3NlOjEuMTTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5MC4ybXMsIG9wZW46NjEzbnMsIGNsb3NlOjEuMTTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:29.918 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:29.966 +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/04 10:51:29.984 +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/04 10:51:29.999 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=80] [2025/04/04 10:51:29.999 +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/04 10:51:30.101 +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/04 10:51:30.102 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:30.103 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=80] [curr-step=init] [next-step=import] [2025/04/04 10:51:30.111 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:30.113 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 10:51:30.113 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 10:51:30.113 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=53.556Β΅s] [2025/04/04 10:51:30.113 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=149.165Β΅s] [] [2025/04/04 10:51:30.113 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=80] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:30.114 +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/04 10:51:30.149 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=80] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:30.168 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=80] [step=import] [2025/04/04 10:51:30.169 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:30.176 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:30.176 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:30.177 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:30.177 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:30.177 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:30.177 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:30.177 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:30.177 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:30.178 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:30.178 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:30.190 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:30.192 +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/04 10:51:30.192 +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/04 10:51:30.192 +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/04 10:51:30.192 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=80] [disk-quota=348.5GiB] [2025/04/04 10:51:30.192 +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/04 10:51:30.200 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=152] [step=import] [2025/04/04 10:51:30.200 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=80] [step=import] [subtask-id=152] [2025/04/04 10:51:30.204 +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/04 10:51:30.207 +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/04 10:51:30.207 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=387] [2025/04/04 10:51:30.208 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=80] [mode=Import] [2025/04/04 10:51:30.229 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=80] [2025/04/04 10:51:30.230 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=387] [key=t.csv:0] [2025/04/04 10:51:30.232 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=387] [key=t.csv:0] [readDur=866.064Β΅s] [encodeDur=208.703Β΅s] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=234.076Β΅s] [type=file] [takeTime=1.563171ms] [] [2025/04/04 10:51:30.233 +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/1d2165c9-887b-4d4f-8294-18e4562a65c7.sst] [firstKey=7480000000000001835F728000000000000001] [lastKey=7480000000000001835F728000000000000002] [2025/04/04 10:51:30.233 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/04 10:51:30.233 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/04 10:51:30.233 +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/04 10:51:30.235 +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=1.915391ms] [] [2025/04/04 10:51:30.235 +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/04 10:51:30.239 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:30.261 +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/04 10:51:30.261 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:30.262 +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/04 10:51:30.273 +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/04 10:51:30.274 +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=39.143939ms] [] [2025/04/04 10:51:30.274 +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/04 10:51:30.275 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [takeTime=886.892Β΅s] [] [2025/04/04 10:51:30.275 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/04 10:51:30.275 +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/04 10:51:30.277 +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.394487ms] [] [2025/04/04 10:51:30.277 +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/04 10:51:30.280 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 10:51:30.280 +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.474549ms] [] [2025/04/04 10:51:30.280 +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/04 10:51:30.281 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [takeTime=807.463Β΅s] [] [2025/04/04 10:51:30.281 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=80] [step=import] [subtask-id=152] [takeTime=81.766297ms] [] [2025/04/04 10:51:30.282 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=152] [step=import] [takeTime=82.170404ms] [] [2025/04/04 10:51:30.307 +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/04 10:51:30.308 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:30.309 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:30.309 +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/04 10:51:30.337 +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/04 10:51:30.338 +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/04 10:51:30.338 +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/04 10:51:30.370 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 10:51:30.377 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=80] [step=import] [2025/04/04 10:51:30.380 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:30.380 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:30.380 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:30.380 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:30.380 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:30.380 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:30.380 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:30.380 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:30.380 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:30.380 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:30.380 +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/04 10:51:30.380 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:30.382 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:30.382 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:30.382 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:30.382 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:30.382 +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=189.985031ms] [] [2025/04/04 10:51:30.383 +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/04 10:51:30.390 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=153] [step=post-process] [2025/04/04 10:51:30.390 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [2025/04/04 10:51:30.391 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [2025/04/04 10:51:30.391 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [2025/04/04 10:51:30.391 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [takeTime=3.935Β΅s] [] [2025/04/04 10:51:30.391 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 10:51:30.391 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:51:30.391 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [weight=30] [2025/04/04 10:51:30.391 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [concurrency=15] [2025/04/04 10:51:30.392 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=387] [physicalTableID=387] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 10:51:30.393 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:30.393 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 10:51:30.393 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [takeTime=2.418165ms] [] [2025/04/04 10:51:30.393 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=153] [takeTime=2.54215ms] [] [2025/04/04 10:51:30.393 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=153] [step=post-process] [takeTime=2.688478ms] [] [2025/04/04 10:51:30.407 +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/04 10:51:30.407 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=80] [step=post-process] [state=running] [] [2025/04/04 10:51:30.409 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=80] [2025/04/04 10:51:30.416 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:30.438 +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=54.952364ms] [] [2025/04/04 10:51:30.438 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=80] [type=ImportInto] [2025/04/04 10:51:30.501 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=80] [2025/04/04 10:51:30.507 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:30.507 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=80] [2025/04/04 10:51:30.528 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:30.600 +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.688091672\n# Parse_time: 0.000062797\n# Compile_time: 0.00046552\n# Rewrite_time: 0.000159349\n# Optimize_time: 0.000047042\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny4zbXMsIG9wZW46NzEwbnMsIGNsb3NlOjg1OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ny4zbXMsIG9wZW46NzEwbnMsIGNsb3NlOjg1OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:30.657 +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: 1743763890662186024 [2025/04/04 10:51:30.670 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:30.715 +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/04 10:51:30.732 +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/04 10:51:30.747 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=81] [2025/04/04 10:51:30.747 +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/04 10:51:30.849 +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/04 10:51:30.850 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:30.851 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=81] [curr-step=init] [next-step=import] [2025/04/04 10:51:30.858 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:30.860 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/04 10:51:30.861 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=1] [after=1] [2025/04/04 10:51:30.861 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=52.964Β΅s] [2025/04/04 10:51:30.861 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=143.211Β΅s] [] [2025/04/04 10:51:30.861 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=81] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 10:51:30.861 +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/04 10:51:30.898 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=81] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 10:51:30.918 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=81] [step=import] [2025/04/04 10:51:30.919 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:30.926 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:30.926 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:30.927 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:30.927 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:30.927 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:30.927 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:30.927 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:30.927 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:30.927 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:30.928 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:30.940 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:30.942 +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/04 10:51:30.942 +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/04 10:51:30.942 +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/04 10:51:30.942 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=81] [disk-quota=348.5GiB] [2025/04/04 10:51:30.942 +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/04 10:51:30.949 +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/04 10:51:30.949 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=154] [2025/04/04 10:51:30.953 +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/04 10:51:30.956 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=81] [mode=Import] [2025/04/04 10:51:30.956 +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/04 10:51:30.956 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/04 10:51:30.986 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=81] [2025/04/04 10:51:30.989 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=t.csv:0] [2025/04/04 10:51:30.992 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=t.csv:0] [readDur=936.354Β΅s] [encodeDur=216.463Β΅s] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=1.541636ms] [type=file] [takeTime=3.033381ms] [] [2025/04/04 10:51:30.993 +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/54f1aebd-822a-4fac-9a2e-0d1dda36b6ad.sst] [firstKey=7480000000000001855F728000000000000001] [lastKey=7480000000000001855F728000000000000002] [2025/04/04 10:51:30.993 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/04 10:51:30.993 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/04 10:51:30.993 +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/04 10:51:30.995 +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=2.073763ms] [] [2025/04/04 10:51:30.995 +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/04 10:51:30.999 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:31.020 +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/04 10:51:31.021 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:31.022 +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/04 10:51:31.033 +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/04 10:51:31.035 +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=39.920475ms] [] [2025/04/04 10:51:31.035 +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/04 10:51:31.036 +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.154452ms] [] [2025/04/04 10:51:31.036 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/04 10:51:31.036 +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/04 10:51:31.038 +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.713343ms] [] [2025/04/04 10:51:31.038 +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/04 10:51:31.042 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 10:51:31.042 +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.636272ms] [] [2025/04/04 10:51:31.042 +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/04 10:51:31.043 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [takeTime=970.774Β΅s] [] [2025/04/04 10:51:31.043 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=154] [takeTime=93.577757ms] [] [2025/04/04 10:51:31.043 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=154] [step=import] [takeTime=93.741239ms] [] [2025/04/04 10:51:31.091 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=155] [step=import] [2025/04/04 10:51:31.091 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=155] [2025/04/04 10:51:31.094 +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/04 10:51:31.098 +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/04 10:51:31.098 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/04 10:51:31.142 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=t2.csv:0] [2025/04/04 10:51:31.144 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=t2.csv:0] [readDur=1.083261ms] [encodeDur=232.702Β΅s] [checksum="{cksum=17045318164640841348,size=50,kvs=2}"] [deliverDur=31.331Β΅s] [type=file] [takeTime=1.868793ms] [] [2025/04/04 10:51:31.145 +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/8ba6d2b0-2ea2-4911-9d70-fbec11eb16e6.sst] [firstKey=7480000000000001855F728000000000000003] [lastKey=7480000000000001855F728000000000000004] [2025/04/04 10:51:31.145 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/04 10:51:31.146 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/04 10:51:31.146 +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/04 10:51:31.149 +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=3.093787ms] [] [2025/04/04 10:51:31.149 +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/04 10:51:31.154 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:31.176 +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/04 10:51:31.177 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:31.178 +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/04 10:51:31.190 +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/04 10:51:31.192 +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=42.845339ms] [] [2025/04/04 10:51:31.192 +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/04 10:51:31.193 +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.018241ms] [] [2025/04/04 10:51:31.193 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/04 10:51:31.193 +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/04 10:51:31.194 +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.336427ms] [] [2025/04/04 10:51:31.194 +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/04 10:51:31.198 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 10:51:31.198 +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.830825ms] [] [2025/04/04 10:51:31.198 +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/04 10:51:31.199 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [takeTime=834.872Β΅s] [] [2025/04/04 10:51:31.199 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=155] [takeTime=108.555948ms] [] [2025/04/04 10:51:31.199 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=155] [step=import] [takeTime=108.701275ms] [] [2025/04/04 10:51:31.256 +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/04 10:51:31.257 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:31.257 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:31.257 +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/04 10:51:31.287 +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/04 10:51:31.288 +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/04 10:51:31.288 +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/04 10:51:31.310 +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/04 10:51:31.317 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=81] [step=import] [2025/04/04 10:51:31.322 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:31.322 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:31.322 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:31.322 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:31.322 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:31.322 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:31.322 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:31.322 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:31.322 +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/04 10:51:31.322 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:31.322 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:31.322 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:31.324 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:31.324 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:31.324 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:31.324 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:31.324 +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=382.525886ms] [] [2025/04/04 10:51:31.325 +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/04 10:51:31.333 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=156] [step=post-process] [2025/04/04 10:51:31.333 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [2025/04/04 10:51:31.333 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [2025/04/04 10:51:31.333 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [2025/04/04 10:51:31.333 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [takeTime=2.135Β΅s] [] [2025/04/04 10:51:31.333 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [groupId=-1] [size=100] [kvs=4] [checksum=10068981574061626288] [2025/04/04 10:51:31.334 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [checksum="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/04 10:51:31.334 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [weight=30] [2025/04/04 10:51:31.334 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [concurrency=15] [2025/04/04 10:51:31.336 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=389] [indexID=-1] [checksum=10068981574061626288] [totalKvs=4] [totalBytes=100] [2025/04/04 10:51:31.336 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:31.336 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [local="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/04 10:51:31.336 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [takeTime=2.923648ms] [] [2025/04/04 10:51:31.336 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=156] [takeTime=3.073107ms] [] [2025/04/04 10:51:31.336 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=156] [step=post-process] [takeTime=3.202228ms] [] [2025/04/04 10:51:31.355 +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/04 10:51:31.355 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=81] [step=post-process] [state=running] [] [2025/04/04 10:51:31.356 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:31.357 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=81] [2025/04/04 10:51:31.381 +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=55.308042ms] [] [2025/04/04 10:51:31.381 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=81] [type=ImportInto] [2025/04/04 10:51:31.450 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=81] [2025/04/04 10:51:31.456 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:31.456 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=81] [2025/04/04 10:51:31.476 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:31.649 +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.985018483\n# Parse_time: 0.000133204\n# Compile_time: 0.000591219\n# Rewrite_time: 0.00021559\n# Optimize_time: 0.000049631\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NG1zLCBvcGVuOjc0MG5zLCBjbG9zZTo2MzNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk4NG1zLCBvcGVuOjc0MG5zLCBjbG9zZTo2MzNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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.11s) === NAME TestImportInto === RUN TestImportInto/TestZeroDateTime [2025/04/04 10:51:31.665 +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-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:31.665 +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-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS import_into;"] [2025/04/04 10:51:31.669 +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-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=291.678Β΅s] [gotSchemaVersion=279] [phyTblIDs="[256,258]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:31.692 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=279] [2025/04/04 10:51:31.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=279] ["take time"=10.240198ms] [job="ID:391, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.703 +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-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=155.165Β΅s] [gotSchemaVersion=280] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:31.719 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=280] [2025/04/04 10:51:31.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=280] ["take time"=7.35694ms] [job="ID:391, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.729 +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-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.736 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 10:51:31.746 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=134.491Β΅s] [gotSchemaVersion=281] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 10:51:31.750 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=281] [2025/04/04 10:51:31.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=281] ["take time"=6.78535ms] [job="ID:391, Type:drop schema, State:done, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.759 +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/04 10:51:31.764 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=391] [jobType="drop schema"] [2025/04/04 10:51:31.765 +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-04 10:51:31.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.780 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/04 10:51:31.781 +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/04 10:51:31.792 +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-04 10:51:31.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:31.792 +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-04 10:51:31.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE import_into;"] [2025/04/04 10:51:31.797 +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-04 10:51:31.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.811 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=686.554Β΅s] [gotSchemaVersion=282] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:51:31.814 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=282] [2025/04/04 10:51:31.816 +00:00] [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.654788ms] [job="ID:393, Type:create schema, State:done, SchemaState:public, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:31.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.827 +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-04 10:51:31.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/04 10:51:31.838 +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/04 10:51:31.851 +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-04 10:51:31.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:31.851 +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-04 10:51:31.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table import_into.zero_time_table(t datetime)"] [2025/04/04 10:51:31.856 +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-04 10:51:31.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.860 +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/04 10:51:31.875 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.478013ms] [gotSchemaVersion=283] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:31.878 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=283] [2025/04/04 10:51:31.880 +00:00] [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.741309ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:31.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.890 +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-04 10:51:31.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:31.901 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/04 10:51:31.901 +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/04 10:51:31.908 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:31.952 +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/04 10:51:31.968 +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/04 10:51:31.981 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=82] [2025/04/04 10:51:31.981 +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/04 10:51:32.083 +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/04 10:51:32.084 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:32.084 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=82] [curr-step=init] [next-step=import] [2025/04/04 10:51:32.091 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:32.094 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/04 10:51:32.094 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/04 10:51:32.094 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=63.903Β΅s] [2025/04/04 10:51:32.094 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=188.293Β΅s] [] [2025/04/04 10:51:32.094 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=82] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:32.094 +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/04 10:51:32.129 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=82] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:32.148 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=82] [step=import] [2025/04/04 10:51:32.148 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:32.155 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:32.156 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:32.156 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:32.156 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:32.156 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:32.156 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:32.156 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:32.156 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:32.157 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:32.157 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:32.168 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:32.170 +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/04 10:51:32.170 +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/04 10:51:32.170 +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/04 10:51:32.170 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=82] [disk-quota=348.5GiB] [2025/04/04 10:51:32.170 +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/04 10:51:32.178 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=157] [step=import] [2025/04/04 10:51:32.178 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=82] [step=import] [subtask-id=157] [2025/04/04 10:51:32.181 +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/04 10:51:32.185 +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/04 10:51:32.185 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=394] [2025/04/04 10:51:32.189 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=82] [mode=Import] [2025/04/04 10:51:32.207 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=82] [2025/04/04 10:51:32.207 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=394] [key=zero_time.csv:0] [2025/04/04 10:51:32.209 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=394] [key=zero_time.csv:0] [readDur=906.296Β΅s] [encodeDur=416.373Β΅s] [checksum="{cksum=17635129825516565724,size=36,kvs=1}"] [deliverDur=175.736Β΅s] [type=file] [takeTime=1.706827ms] [] [2025/04/04 10:51:32.210 +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/ec23b9cb-8ddb-4502-bd7a-fe80ca32b4c0.sst] [firstKey=74800000000000018A5F728000000000000001] [lastKey=74800000000000018A5F728000000000000001] [2025/04/04 10:51:32.210 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/04 10:51:32.210 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/04 10:51:32.210 +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/04 10:51:32.212 +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.666237ms] [] [2025/04/04 10:51:32.212 +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/04 10:51:32.216 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 10:51:32.237 +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/04 10:51:32.238 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 10:51:32.239 +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/04 10:51:32.250 +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/04 10:51:32.252 +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=39.964863ms] [] [2025/04/04 10:51:32.252 +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/04 10:51:32.253 +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=937.612Β΅s] [] [2025/04/04 10:51:32.253 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/04 10:51:32.253 +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/04 10:51:32.254 +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.249251ms] [] [2025/04/04 10:51:32.254 +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/04 10:51:32.258 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 10:51:32.258 +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.40901ms] [] [2025/04/04 10:51:32.258 +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/04 10:51:32.259 +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=894.739Β΅s] [] [2025/04/04 10:51:32.259 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=82] [step=import] [subtask-id=157] [takeTime=81.094191ms] [] [2025/04/04 10:51:32.259 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=157] [step=import] [takeTime=81.533403ms] [] [2025/04/04 10:51:32.288 +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/04 10:51:32.289 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:32.289 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [2025/04/04 10:51:32.289 +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/04 10:51:32.319 +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/04 10:51:32.320 +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/04 10:51:32.320 +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/04 10:51:32.340 +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/04 10:51:32.346 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=82] [step=import] [2025/04/04 10:51:32.349 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:32.349 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:32.349 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:32.349 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:32.349 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:32.349 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:32.349 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:32.349 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:32.349 +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/04 10:51:32.349 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:32.349 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:32.349 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:32.351 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:32.351 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:32.351 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:32.351 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:32.351 +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=180.926384ms] [] [2025/04/04 10:51:32.352 +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/04 10:51:32.360 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=158] [step=post-process] [2025/04/04 10:51:32.360 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [2025/04/04 10:51:32.360 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [2025/04/04 10:51:32.360 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [2025/04/04 10:51:32.365 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [takeTime=5.018953ms] [] [2025/04/04 10:51:32.365 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [groupId=-1] [size=36] [kvs=1] [checksum=17635129825516565724] [2025/04/04 10:51:32.365 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [checksum="{cksum=17635129825516565724,size=36,kvs=1}"] [2025/04/04 10:51:32.365 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [weight=30] [2025/04/04 10:51:32.366 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [concurrency=15] [2025/04/04 10:51:32.367 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=394] [physicalTableID=394] [indexID=-1] [checksum=17635129825516565724] [totalKvs=1] [totalBytes=36] [2025/04/04 10:51:32.368 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 10:51:32.368 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [local="{cksum=17635129825516565724,size=36,kvs=1}"] [2025/04/04 10:51:32.368 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [takeTime=7.690058ms] [] [2025/04/04 10:51:32.368 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=158] [takeTime=7.826859ms] [] [2025/04/04 10:51:32.368 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=158] [step=post-process] [takeTime=7.958493ms] [] [2025/04/04 10:51:32.388 +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/04 10:51:32.388 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=82] [step=post-process] [state=running] [] [2025/04/04 10:51:32.390 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=82] [2025/04/04 10:51:32.395 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 10:51:32.413 +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=61.109129ms] [] [2025/04/04 10:51:32.414 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=82] [type=ImportInto] [2025/04/04 10:51:32.483 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=82] [2025/04/04 10:51:32.489 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:32.489 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=82] [2025/04/04 10:51:32.508 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:32.586 +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.683541393\n# Parse_time: 0.000066655\n# Compile_time: 0.000417864\n# Rewrite_time: 0.000131574\n# Optimize_time: 0.000197585\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Mi44bXMsIG9wZW46Nzk4bnMsIGNsb3NlOjgyOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Mi44bXMsIG9wZW46Nzk4bnMsIGNsb3NlOjgyOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\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/04 10:51:32.601 +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-04 10:51:32.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:32.601 +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-04 10:51:32.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table import_into.zero_time_table"] [2025/04/04 10:51:32.606 +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-04 10:51:32.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:32.613 +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/04 10:51:32.626 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.340784ms] [gotSchemaVersion=284] [phyTblIDs="[394,396]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:51:32.630 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=284] [2025/04/04 10:51:32.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=284] ["take time"=7.962142ms] [job="ID:397, Type:truncate table, State:done, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:32.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:32.641 +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/04 10:51:32.645 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=397] [jobType="truncate table"] [2025/04/04 10:51:32.646 +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-04 10:51:32.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:32.661 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/04 10:51:32.661 +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/04 10:51:32.667 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:32.711 +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/04 10:51:32.730 +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/04 10:51:32.745 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=83] [2025/04/04 10:51:32.745 +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/04 10:51:32.847 +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/04 10:51:32.848 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 10:51:32.849 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=83] [curr-step=init] [next-step=import] [2025/04/04 10:51:32.856 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:32.858 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/04 10:51:32.858 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/04 10:51:32.858 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=44.185Β΅s] [2025/04/04 10:51:32.858 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=151.493Β΅s] [] [2025/04/04 10:51:32.858 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=83] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 10:51:32.859 +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/04 10:51:32.887 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=83] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 10:51:32.907 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=83] [step=import] [2025/04/04 10:51:32.907 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 10:51:32.915 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 10:51:32.915 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407868217435202] [2025/04/04 10:51:32.915 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:32.915 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 10:51:32.916 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:32.916 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:32.916 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:32.916 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:32.916 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:32.916 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:32.928 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 10:51:32.930 +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/04 10:51:32.930 +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/04 10:51:32.930 +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/04 10:51:32.930 +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/04 10:51:32.930 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=83] [disk-quota=348.5GiB] [2025/04/04 10:51:32.937 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [subtaskID=159] [step=import] [2025/04/04 10:51:32.937 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=83] [step=import] [subtask-id=159] [2025/04/04 10:51:32.941 +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/04 10:51:32.945 +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/04 10:51:32.946 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=396] [2025/04/04 10:51:32.953 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=83] [mode=Import] [2025/04/04 10:51:32.973 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=83] [2025/04/04 10:51:32.989 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=396] [key=zero_time.csv:0] [2025/04/04 10:51:32.990 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=396] [key=zero_time.csv:0] [takeTime=1.108843ms] [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/04 10:51:32.990 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=83] [step=import] [subtask-id=159] [takeTime=52.610725ms] [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/04 10:51:32.990 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [subtaskID=159] [step=import] [takeTime=52.924206ms] [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/04 10:51:32.991 +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/04 10:51:32.998 +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/04 10:51:33.056 +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/04 10:51:33.067 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=83] [step=import] [2025/04/04 10:51:33.070 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:33.070 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:33.070 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:33.070 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:33.071 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:33.070 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:33.071 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:33.071 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:33.071 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:33.071 +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/04 10:51:33.071 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:33.071 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:33.073 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 10:51:33.073 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:33.073 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:33.073 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:33.073 +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=143.531837ms] [] [2025/04/04 10:51:33.074 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=83] [type=ImportInto] [2025/04/04 10:51:33.153 +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/04 10:51:33.153 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=83] [step=import] [mode=Normal] [2025/04/04 10:51:33.168 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=83] [2025/04/04 10:51:33.248 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=83] [2025/04/04 10:51:33.254 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 10:51:33.254 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=83] [2025/04/04 10:51:33.274 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 10:51:33.345 +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/04 10:51:33.346 +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.684173747\n# Parse_time: 0.000075341\n# Compile_time: 0.000411278\n# Rewrite_time: 0.000136174\n# Optimize_time: 0.000203079\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('SfBIMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4My41bXMsIG9wZW46NjU2bnMsIGNsb3NlOjEuMcK1cywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjgBQAFSA04vQVovdGltZTo2ODMuNW1zLCBvcGVuOjY1Nm5zLCBjbG9zZToxLjHCtXMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000047595\nIMPORT INTO `import_into`.`zero_time_table` FROM 'gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestZeroDateTime (1.69s) === NAME TestImportInto [2025/04/04 10:51:33.358 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:51:33.358 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:51:33.358 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [] [2025/04/04 10:51:33.358 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.359 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:33.359 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:33.359 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=83.158Β΅s] [2025/04/04 10:51:33.359 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=74.231Β΅s] [2025/04/04 10:51:33.359 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=71.389Β΅s] [2025/04/04 10:51:33.359 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=65.846Β΅s] [2025/04/04 10:51:33.359 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=57.983Β΅s] [2025/04/04 10:51:33.359 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=57.666Β΅s] [2025/04/04 10:51:33.360 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=33.361Β΅s] [2025/04/04 10:51:33.360 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=32.261Β΅s] [2025/04/04 10:51:33.360 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=42.533Β΅s] [2025/04/04 10:51:33.360 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=45.947Β΅s] [2025/04/04 10:51:33.360 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.360 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.361 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:51:33.361 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:51:33.381 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] ["take time"=22.891785ms] [2025/04/04 10:51:33.381 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.381 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:51:33.381 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d8dd55a4-b471-4ad2-a3ad-55171da5399b] [watcherID=1c9b1abf-4380-40d5-a54e-b762f8b1b0ce] [2025/04/04 10:51:33.381 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:51:33.382 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d8dd55a4-b471-4ad2-a3ad-55171da5399b] [2025/04/04 10:51:33.382 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [ttl-worker=task-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [originalCount=4] [newCount=0] [2025/04/04 10:51:33.382 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:33.382 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:33.382 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:33.382 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:33.382 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [ttl-worker=task-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [originalCount=4] [newCount=0] [2025/04/04 10:51:33.385 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:33.385 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:33.385 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:33.385 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:33.387 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.387 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:33.388 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:51:33.388 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.389 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:51:33.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:51:33.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:51:33.389 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:51:33.389 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [2025/04/04 10:51:33.389 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:51:33.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:33.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:33.388 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:33.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:33.388 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.388 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:33.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:33.389 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:51:33.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:33.389 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.390 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.390 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.390 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:51:33.390 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.390 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:51:33.391 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:51:33.391 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:33.391 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:51:33.391 +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/04 10:51:33.391 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5f01f865-1ff2-4516-8bf4-b088346bde99] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:33.391 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:51:33.391 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:33.391 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [error="context canceled"] [2025/04/04 10:51:33.391 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:51:33.391 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [] [2025/04/04 10:51:33.391 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:51:33.391 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.391 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:51:33.391 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:33.391 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.391 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:51:33.391 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [2025/04/04 10:51:33.391 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:33.391 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](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/04 10:51:33.391 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:51:33.391 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:51:33.392 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:33.392 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:51:33.392 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:33.451 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=35f3e291-a1be-4b6b-b42a-d039e2e4d455] [error="context canceled"] [2025/04/04 10:51:33.451 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:51:33.451 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:33.463 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=104.856948ms] [2025/04/04 10:51:33.466 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:33.466 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:33.466 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:33.466 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:33.466 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:33.466 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:33.466 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:33.466 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:33.466 +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/04 10:51:33.466 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:33.466 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:33.466 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:33.467 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (111.89s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest:importintotest_test up-to-date: bazel-bin/tests/realtikvtest/importintotest/importintotest_test_/importintotest_test INFO: Elapsed time: 185.090s, Critical Path: 163.48s INFO: 4748 processes: 4710 remote cache hit, 13 internal, 25 linux-sandbox. INFO: Build completed successfully, 4748 total actions //tests/realtikvtest/importintotest:importintotest_test PASSED in 116.1s PASSED importintotest_test.TestImportInto (111.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 (16.9s) PASSED importintotest_test.TestImportInto/TestCancelJob (4.5s) PASSED importintotest_test.TestImportInto/TestChecksumNotMatch (3.3s) PASSED importintotest_test.TestImportInto/TestColumnsAndUserVars (1.0s) PASSED importintotest_test.TestImportInto/TestDeliverBytesRows (1.7s) PASSED importintotest_test.TestImportInto/TestDetachedLoadParquet (2.1s) PASSED importintotest_test.TestImportInto/TestDiskQuota (1.1s) PASSED importintotest_test.TestImportInto/TestGBK (3.1s) PASSED importintotest_test.TestImportInto/TestGeneratedColumnsAndTSVFile (4.8s) PASSED importintotest_test.TestImportInto/TestIgnoreNLines (2.8s) PASSED importintotest_test.TestImportInto/TestImportIntoPrivilegePositiveCase (3.1s) PASSED importintotest_test.TestImportInto/TestImportIntoWithFK (1.4s) PASSED importintotest_test.TestImportInto/TestImportMode (12.3s) PASSED importintotest_test.TestImportInto/TestInputCountMisMatchAndDefault (3.0s) PASSED importintotest_test.TestImportInto/TestInputNull (2.0s) PASSED importintotest_test.TestImportInto/TestJobFailWhenDispatchSubtask (0.8s) PASSED importintotest_test.TestImportInto/TestKillBeforeFinish (1.8s) PASSED importintotest_test.TestImportInto/TestLoadSQLDump (2.0s) PASSED importintotest_test.TestImportInto/TestMaxWriteSpeed (11.2s) PASSED importintotest_test.TestImportInto/TestMultiValueIndex (1.2s) PASSED importintotest_test.TestImportInto/TestOtherCharset (5.6s) PASSED importintotest_test.TestImportInto/TestPreCheckCDCPiTRTasks (1.6s) 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 (2.5s) PASSED importintotest_test.TestImportInto/TestShowJob (3.1s) PASSED importintotest_test.TestImportInto/TestZeroDateTime (1.7s) Test cases: finished with 33 passing and 0 failing out of 33 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 [4,637 / 4,638] 1 / 1 tests; Testing //tests/realtikvtest/addindextest2:addindextest2_test; 87s remote-cache, linux-sandbox Target //tests/realtikvtest/addindextest2:addindextest2_test up-to-date: bazel-bin/tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test INFO: Elapsed time: 182.687s, Critical Path: 163.02s INFO: 4338 processes: 4238 remote cache hit, 3 internal, 97 linux-sandbox. INFO: Build completed successfully, 4338 total actions //tests/realtikvtest/addindextest2:addindextest2_test PASSED in 87.3s PASSED addindextest2_test.TestAddIndexIngestShowReorgTp (0.7s) PASSED addindextest2_test.TestAlterJobOnDXF (6.4s) PASSED addindextest2_test.TestAlterThreadRightAfterJobFinish (11.8s) PASSED addindextest2_test.TestGlobalSortAddIndexRecoverFromRetryableError (12.4s) PASSED addindextest2_test.TestGlobalSortBasic (9.8s) PASSED addindextest2_test.TestGlobalSortDuplicateErrMsg (4.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange (36.8s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_backfill (2.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_backfill (14.9s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_gs_backfill (17.8s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/txn_backfill (1.2s) PASSED addindextest2_test.TestIngestUseGivenTS (3.8s) Test cases: finished with 12 passing and 0 failing out of 12 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] } [Pipeline] script [Pipeline] { [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 No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // withCredentials [Pipeline] } [Pipeline] } [Pipeline] // timeout [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [4,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/addindextest3:addindextest3_test; 89s remote-cache, linux-sandbox Target //tests/realtikvtest/addindextest3:addindextest3_test up-to-date: bazel-bin/tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test INFO: Elapsed time: 159.030s, Critical Path: 137.11s INFO: 4272 processes: 4248 remote cache hit, 3 internal, 21 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest3:addindextest3_test PASSED in 89.3s PASSED addindextest3_test.TestAddEmptyMultiValueIndex (0.8s) PASSED addindextest3_test.TestAddIndexAdvanceWatermarkFailed (6.1s) PASSED addindextest3_test.TestAddIndexBackfillLostUpdate (3.1s) PASSED addindextest3_test.TestAddIndexDiskQuotaTS (3.3s) PASSED addindextest3_test.TestAddIndexImportFailed (2.1s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorker (0.9s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorkerCountFail (1.7s) PASSED addindextest3_test.TestAddIndexIngestEmptyTable (0.5s) PASSED addindextest3_test.TestAddIndexIngestFailures (5.4s) PASSED addindextest3_test.TestAddIndexIngestLimitOneBackend (2.9s) PASSED addindextest3_test.TestAddIndexIngestMemoryUsage (1.1s) PASSED addindextest3_test.TestAddIndexIngestRestoredData (0.8s) PASSED addindextest3_test.TestAddIndexIngestUniqueKey (1.9s) PASSED addindextest3_test.TestAddIndexIngestWriterCountOnPartitionTable (10.4s) PASSED addindextest3_test.TestAddIndexLoadTableRangeError (2.2s) PASSED addindextest3_test.TestAddIndexMockFlushError (0.6s) PASSED addindextest3_test.TestAddIndexPresplitFunctional (3.6s) PASSED addindextest3_test.TestAddIndexPresplitIndexRegions (5.6s) PASSED addindextest3_test.TestAddIndexRecoverOnDuplicateCheck (3.5s) PASSED addindextest3_test.TestAddIndexRemoteDuplicateCheck (0.8s) PASSED addindextest3_test.TestAddIndexSplitTableRanges (2.1s) PASSED addindextest3_test.TestAddUniqueIndexDuplicatedError (0.6s) PASSED addindextest3_test.TestBackendCtxConcurrentUnregister (0.6s) PASSED addindextest3_test.TestBackfillOperatorPipeline (0.8s) PASSED addindextest3_test.TestBackfillOperatorPipelineException (1.0s) 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.6s) PASSED addindextest3_test.TestConcFastReorg (1.9s) PASSED addindextest3_test.TestDDLTestEstimateTableRowSize (3.9s) PASSED addindextest3_test.TestFirstLitSlowStart (5.2s) PASSED addindextest3_test.TestIngestMVIndexOnPartitionTable (7.0s) PASSED addindextest3_test.TestIssue55808 (2.7s) PASSED addindextest3_test.TestMockMemoryUsedUp (0.0s) PASSED addindextest3_test.TestTiDBEncodeKeyTempIndexKey (3.0s) PASSED addindextest3_test.TestTuneWorkerPoolSize (1.1s) Test cases: finished with 39 passing and 0 failing out of 39 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] // withEnv [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] } ./t/ddl/index_modify.test: ok! 39 test cases passed, take time 7.84685506 s [Pipeline] // node [Pipeline] } [Pipeline] sh No test report files were found. Configuration error? [Pipeline] // dir Post stage [Pipeline] // podTemplate [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] junit Recording test results [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] // dir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] sh No test report files were found. Configuration error? [Pipeline] // stage [Pipeline] } [Pipeline] } [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/ddl/integration.test: ok! 91 test cases passed, take time 5.348644656 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 101s remote-cache, linux-sandbox ./t/ddl/modify_column.test: ok! 672 test cases passed, take time 14.705484479 s [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 161s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 43s remote-cache, linux-sandbox ./t/ddl/multi_schema_change.test: ok! 305 test cases passed, take time 34.328553031 s ./t/ddl/partition.test: ok! 138 test cases passed, take time 9.279365074 s ./t/ddl/primary_key_handle.test: ok! 191 test cases passed, take time 5.66967897 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 161s remote-cache, linux-sandbox [4,582 / 4,583] 1 / 1 tests; Testing //tests/realtikvtest/brietest:brietest_test; 220s remote-cache, linux-sandbox Target //tests/realtikvtest/brietest:brietest_test up-to-date: bazel-bin/tests/realtikvtest/brietest/brietest_test_/brietest_test INFO: Elapsed time: 277.568s, Critical Path: 259.46s INFO: 4580 processes: 4554 remote cache hit, 13 internal, 13 linux-sandbox. INFO: Build completed successfully, 4580 total actions //tests/realtikvtest/brietest:brietest_test PASSED in 220.8s PASSED brietest_test.TestBackupAndRestore (10.7s) PASSED brietest_test.TestCancel (1.4s) PASSED brietest_test.TestExistedTables (9.1s) PASSED brietest_test.TestExistedTablesOfIncremental (20.0s) PASSED brietest_test.TestExistedTablesOfIncremental_1 (11.5s) PASSED brietest_test.TestExistedTablesOfIncremental_2 (11.0s) PASSED brietest_test.TestFailure (0.0s) PASSED brietest_test.TestForCoverage (0.7s) 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.4s) PASSED brietest_test.TestPiTRAndIncrementalRestore (8.4s) PASSED brietest_test.TestPiTRAndManyBackups (31.6s) PASSED brietest_test.TestPiTRAndRestoreFromMid (31.6s) PASSED brietest_test.TestPiTRPauseMessage (3.7s) PASSED brietest_test.TestRestoreMultiTables (16.2s) PASSED brietest_test.TestShowBackupQuery (5.9s) PASSED brietest_test.TestShowBackupQueryRedact (1.4s) Test cases: finished with 21 passing and 0 failing out of 21 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 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 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 103s remote-cache, linux-sandbox ./t/ddl/reorg_partition.test: ok! 212 test cases passed, take time 28.718957177 s ./t/ddl/resource_group.test: ok! 16 test cases passed, take time 0.084496698 s ./t/ddl/sequence.test: ok! 268 test cases passed, take time 2.996869715 s ./t/ddl/serial.test: ok! 77 test cases passed, take time 0.786203171 s ./t/ddl/table_modify.test: ok! 47 test cases passed, take time 0.428960209 s ./t/executor/adapter.test: ok! 6 test cases passed, take time 0.020721761 s FLAKY: //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (Summary) /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/pipelineddmltest/pipelineddmltest_test/test_attempts/attempt_1.log INFO: From Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: ==================== Test output for //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: === RUN TestVariable [2025/04/04 10:49:36.689 +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/04 10:49:36.689 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:36.690 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:49:36.691 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:36.691 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:36.691 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:36.691 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:36.691 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:36.691 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:36.692 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:36.692 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:36.697 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:36.704 +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/04 10:49:36.705 +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/04 10:49:36.705 +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/04 10:49:36.730 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:36.730 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:36.735 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:36.735 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:36.747 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:36.771 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:36.795 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:36.832 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=95] ["lease id"=3eaa960069ddab74] [2025/04/04 10:49:36.835 +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/04 10:49:36.845 +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/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"] [version=0] [2025/04/04 10:49:36.953 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=108.218066ms] [2025/04/04 10:49:36.953 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:36.955 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:49:36.955 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:36.955 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:36.958 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:36.960 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:36.960 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261908275200/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:36.960 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:36.960 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:36.961 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:36.961 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:36.961 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [2025/04/04 10:49:36.963 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb103] [ownerID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [op=none] [2025/04/04 10:49:36.963 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:36.963 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb103] [currRev=98] [2025/04/04 10:49:36.964 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:36.964 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:36.964 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:36.965 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb105] [ownerID=34d177f8-c4c0-4c64-aedb-84913033bf06] [op=none] [2025/04/04 10:49:36.965 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [2025/04/04 10:49:36.965 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [ownerKey=/tidb/br-stream/owner/2231960069ddb105] [currRev=99] [2025/04/04 10:49:36.965 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb103] [ownerID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [op=none] [2025/04/04 10:49:36.965 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [op=none] [2025/04/04 10:49:36.965 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:36.969 +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/04 10:49:36.985 +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-04 10:49:36.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:36.985 +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-04 10:49:36.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 10:49:36.992 +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-04 10:49:36.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.146 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=136.751858ms] [2025/04/04 10:49:37.146 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:37.153 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 10:49:37.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=1] ["take time"=148.238059ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:36.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.171 +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-04 10:49:36.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.187 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 10:49:37.187 +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/04 10:49:37.188 +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/04 10:49:37.193 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Tokyo] [2025/04/04 10:49:37.220 +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-04 10:49:37.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.220 +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-04 10:49:37.161 +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/04 10:49:37.229 +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-04 10:49:37.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.285 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.711097ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.289 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.289 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 10:49:37.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=2] ["take time"=15.764789ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.311 +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-04 10:49:37.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.345 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 10:49:37.345 +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/04 10:49:37.361 +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-04 10:49:37.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.361 +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-04 10:49:37.312 +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/04 10:49:37.368 +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-04 10:49:37.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.390 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.329582ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.393 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 10:49:37.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=3] ["take time"=10.154182ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.408 +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-04 10:49:37.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.422 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 10:49:37.423 +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/04 10:49:37.437 +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-04 10:49:37.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.437 +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-04 10:49:37.411 +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/04 10:49:37.443 +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-04 10:49:37.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.259621ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.467 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 10:49:37.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=4] ["take time"=10.400885ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.481 +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-04 10:49:37.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.494 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 10:49:37.494 +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/04 10:49:37.516 +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-04 10:49:37.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.516 +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-04 10:49:37.461 +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/04 10:49:37.524 +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-04 10:49:37.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.565 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.734539ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.570 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.570 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 10:49:37.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=5] ["take time"=14.046871ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.589 +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-04 10:49:37.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.611 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 10:49:37.611 +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/04 10:49:37.628 +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-04 10:49:37.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.628 +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-04 10:49:37.612 +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/04 10:49:37.635 +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-04 10:49:37.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.659 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.884875ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.663 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.663 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 10:49:37.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=6] ["take time"=10.379979ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.677 +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-04 10:49:37.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.693 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 10:49:37.694 +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/04 10:49:37.709 +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-04 10:49:37.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.709 +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-04 10:49:37.662 +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/04 10:49:37.715 +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-04 10:49:37.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.741 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.788155ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.745 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.745 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 10:49:37.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=7] ["take time"=10.194206ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.759 +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-04 10:49:37.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 10:49:37.775 +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/04 10:49:37.788 +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-04 10:49:37.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.788 +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-04 10:49:37.762 +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/04 10:49:37.793 +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-04 10:49:37.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.811 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.803453ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.815 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.815 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 10:49:37.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"=9.181366ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.828 +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-04 10:49:37.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.840 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 10:49:37.840 +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/04 10:49:37.854 +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-04 10:49:37.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.854 +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-04 10:49:37.812 +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/04 10:49:37.860 +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-04 10:49:37.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.879 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.960442ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.883 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.883 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 10:49:37.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=9] ["take time"=9.418185ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.896 +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-04 10:49:37.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 10:49:37.909 +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/04 10:49:37.924 +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-04 10:49:37.912 +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/04 10:49:37.924 +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-04 10:49:37.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:37.931 +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-04 10:49:37.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.488903ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:37.956 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:37.956 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 10:49:37.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=10] ["take time"=10.305611ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.961 +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/04 10:49:37.972 +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-04 10:49:37.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:37.986 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 10:49:37.986 +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/04 10:49:38.002 +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-04 10:49:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.002 +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-04 10:49:37.961 +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/04 10:49:38.008 +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-04 10:49:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.029 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.351351ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.033 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.033 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 10:49:38.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=11] ["take time"=11.080657ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.049 +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-04 10:49:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.062 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 10:49:38.063 +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/04 10:49:38.065 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:38.081 +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-04 10:49:38.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.081 +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-04 10:49:38.061 +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/04 10:49:38.087 +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-04 10:49:38.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.115 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.205417ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.119 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.119 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 10:49:38.120 +00:00] [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.851927ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.134 +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-04 10:49:38.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.151 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 10:49:38.151 +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/04 10:49:38.168 +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-04 10:49:38.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.168 +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-04 10:49:38.112 +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/04 10:49:38.177 +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-04 10:49:38.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.203 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=3.917952ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.208 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.208 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 10:49:38.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=13] ["take time"=12.874258ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.223 +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-04 10:49:38.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.239 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 10:49:38.239 +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/04 10:49:38.254 +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-04 10:49:38.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.254 +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-04 10:49:38.212 +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/04 10:49:38.261 +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-04 10:49:38.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.283 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.334224ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.286 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.286 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 10:49:38.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=14] ["take time"=9.959147ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.300 +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-04 10:49:38.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.314 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 10:49:38.314 +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/04 10:49:38.334 +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-04 10:49:38.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.334 +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-04 10:49:38.311 +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/04 10:49:38.340 +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-04 10:49:38.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.361 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.199316ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.365 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 10:49:38.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=15] ["take time"=10.042166ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.379 +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-04 10:49:38.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.393 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 10:49:38.393 +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/04 10:49:38.407 +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-04 10:49:38.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.407 +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-04 10:49:38.362 +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/04 10:49:38.413 +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-04 10:49:38.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.434 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.069003ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.437 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.437 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 10:49:38.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=16] ["take time"=9.877247ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.451 +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-04 10:49:38.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.465 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 10:49:38.465 +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/04 10:49:38.480 +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-04 10:49:38.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.480 +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-04 10:49:38.461 +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/04 10:49:38.486 +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-04 10:49:38.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.507 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.464751ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.511 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.511 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 10:49:38.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=17] ["take time"=9.970558ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.525 +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-04 10:49:38.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.539 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 10:49:38.539 +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/04 10:49:38.553 +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-04 10:49:38.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.553 +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-04 10:49:38.512 +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/04 10:49:38.559 +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-04 10:49:38.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.580 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.277121ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.584 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.584 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 10:49:38.585 +00:00] [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.543828ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.597 +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-04 10:49:38.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.611 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 10:49:38.611 +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/04 10:49:38.628 +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-04 10:49:38.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.628 +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-04 10:49:38.612 +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/04 10:49:38.635 +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-04 10:49:38.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.225291ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.665 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 10:49:38.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=19] ["take time"=11.428842ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.680 +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-04 10:49:38.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.697 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 10:49:38.697 +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/04 10:49:38.698 +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/04 10:49:38.719 +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-04 10:49:38.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.719 +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-04 10:49:38.661 +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/04 10:49:38.726 +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-04 10:49:38.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.748 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.296769ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.751 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.751 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 10:49:38.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=20] ["take time"=9.448537ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.764 +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-04 10:49:38.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.779 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 10:49:38.779 +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/04 10:49:38.793 +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-04 10:49:38.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.793 +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-04 10:49:38.762 +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/04 10:49:38.798 +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-04 10:49:38.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.818 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.970148ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.821 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 10:49:38.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=21] ["take time"=9.478968ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.834 +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-04 10:49:38.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 10:49:38.846 +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/04 10:49:38.859 +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-04 10:49:38.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.859 +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-04 10:49:38.812 +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/04 10:49:38.865 +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-04 10:49:38.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.555863ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.885 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 10:49:38.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=22] ["take time"=9.350898ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.898 +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-04 10:49:38.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.910 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 10:49:38.910 +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/04 10:49:38.926 +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-04 10:49:38.912 +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/04 10:49:38.926 +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-04 10:49:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:38.932 +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-04 10:49:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.957 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.839701ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:38.960 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:38.960 +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/04 10:49:38.961 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:38.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 10:49:38.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=23] ["take time"=10.809697ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.976 +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-04 10:49:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:38.992 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 10:49:38.992 +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/04 10:49:39.006 +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-04 10:49:38.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.006 +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-04 10:49:38.961 +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/04 10:49:39.012 +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-04 10:49:38.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.032 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.352522ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.036 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.036 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 10:49:39.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=24] ["take time"=9.594734ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:38.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.048 +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-04 10:49:38.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.062 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 10:49:39.062 +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/04 10:49:39.077 +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-04 10:49:39.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.077 +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-04 10:49:39.061 +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/04 10:49:39.083 +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-04 10:49:39.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.104 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.300764ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.108 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.108 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 10:49:39.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=25] ["take time"=10.20539ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.122 +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-04 10:49:39.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.140 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 10:49:39.140 +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/04 10:49:39.155 +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-04 10:49:39.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.155 +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-04 10:49:39.112 +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/04 10:49:39.162 +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-04 10:49:39.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.181 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.85278ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.185 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.185 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 10:49:39.187 +00:00] [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.416704ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.198 +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-04 10:49:39.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.210 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 10:49:39.210 +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/04 10:49:39.224 +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-04 10:49:39.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.224 +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-04 10:49:39.212 +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/04 10:49:39.230 +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-04 10:49:39.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.250 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.19374ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.254 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.254 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 10:49:39.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=27] ["take time"=9.513944ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.267 +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-04 10:49:39.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.280 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 10:49:39.280 +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/04 10:49:39.294 +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-04 10:49:39.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.294 +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-04 10:49:39.262 +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/04 10:49:39.300 +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-04 10:49:39.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.320 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=2.065213ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.323 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.323 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 10:49:39.325 +00:00] [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.771493ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.336 +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-04 10:49:39.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.350 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 10:49:39.350 +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/04 10:49:39.352 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:39.366 +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-04 10:49:39.312 +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/04 10:49:39.366 +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-04 10:49:39.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.372 +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-04 10:49:39.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.394 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.401282ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.398 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.398 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 10:49:39.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=29] ["take time"=10.307552ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.412 +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-04 10:49:39.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.426 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 10:49:39.426 +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/04 10:49:39.442 +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-04 10:49:39.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.441 +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-04 10:49:39.412 +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/04 10:49:39.448 +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-04 10:49:39.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.471 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.510838ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.474 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.474 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 10:49:39.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=30] ["take time"=9.733232ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.487 +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-04 10:49:39.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.502 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 10:49:39.502 +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/04 10:49:39.517 +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-04 10:49:39.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.517 +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-04 10:49:39.462 +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/04 10:49:39.521 +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-04 10:49:39.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.543 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.648631ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.547 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 10:49:39.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=31] ["take time"=9.777676ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.560 +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-04 10:49:39.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.574 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 10:49:39.574 +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/04 10:49:39.591 +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-04 10:49:39.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.591 +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-04 10:49:39.562 +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/04 10:49:39.598 +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-04 10:49:39.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.626 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.412344ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.630 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.630 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 10:49:39.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=32] ["take time"=10.686077ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.645 +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-04 10:49:39.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.662 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 10:49:39.663 +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/04 10:49:39.675 +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-04 10:49:39.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.675 +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-04 10:49:39.662 +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/04 10:49:39.681 +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-04 10:49:39.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.697 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.619017ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.700 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 10:49:39.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=33] ["take time"=8.526838ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.712 +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-04 10:49:39.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.723 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 10:49:39.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/04 10:49:39.741 +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-04 10:49:39.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.741 +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-04 10:49:39.711 +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/04 10:49:39.747 +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-04 10:49:39.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.770 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.449077ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:39.773 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.773 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 10:49:39.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=34] ["take time"=9.507752ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.787 +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-04 10:49:39.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.802 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 10:49:39.817 +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-04 10:49:39.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.817 +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-04 10:49:39.762 +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/04 10:49:39.821 +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-04 10:49:39.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.843 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.412432ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.846 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 10:49:39.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=35] ["take time"=9.96272ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.860 +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-04 10:49:39.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.875 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 10:49:39.875 +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/04 10:49:39.888 +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-04 10:49:39.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.888 +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-04 10:49:39.862 +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/04 10:49:39.894 +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-04 10:49:39.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.914 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=2.152498ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.918 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.918 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 10:49:39.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=36] ["take time"=9.496787ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.930 +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-04 10:49:39.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.944 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 10:49:39.944 +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/04 10:49:39.959 +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-04 10:49:39.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:39.959 +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-04 10:49:39.911 +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/04 10:49:39.965 +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-04 10:49:39.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:39.990 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=2.164307ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:39.994 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:39.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 10:49:39.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=37] ["take time"=13.064957ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:39.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.008 +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-04 10:49:39.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.020 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 10:49:40.021 +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/04 10:49:40.040 +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-04 10:49:40.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.040 +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-04 10:49:40.012 +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/04 10:49:40.047 +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-04 10:49:40.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.077 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.787376ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.081 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.081 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 10:49:40.083 +00:00] [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"=11.433717ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.097 +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-04 10:49:40.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.115 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 10:49:40.115 +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/04 10:49:40.132 +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-04 10:49:40.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.133 +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-04 10:49:40.111 +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/04 10:49:40.139 +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-04 10:49:40.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.167 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.372464ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.170 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.171 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 10:49:40.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=39] ["take time"=10.723079ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.185 +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-04 10:49:40.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.202 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 10:49:40.203 +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/04 10:49:40.224 +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-04 10:49:40.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.224 +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-04 10:49:40.162 +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/04 10:49:40.230 +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-04 10:49:40.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.261 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.850658ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.265 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 10:49:40.267 +00:00] [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"=11.625107ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.280 +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-04 10:49:40.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.298 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 10:49:40.299 +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/04 10:49:40.317 +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-04 10:49:40.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.317 +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-04 10:49:40.262 +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/04 10:49:40.322 +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-04 10:49:40.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.354 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.876521ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.358 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 10:49:40.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=41] ["take time"=11.497997ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.374 +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-04 10:49:40.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.395 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 10:49:40.395 +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/04 10:49:40.414 +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-04 10:49:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.414 +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-04 10:49:40.362 +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/04 10:49:40.421 +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-04 10:49:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.961035ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.458 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.458 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 10:49:40.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.690015ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.474 +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-04 10:49:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.493 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 10:49:40.494 +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/04 10:49:40.511 +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-04 10:49:40.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.511 +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-04 10:49:40.462 +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/04 10:49:40.518 +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-04 10:49:40.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.547 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.465158ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.551 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.551 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 10:49:40.553 +00:00] [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.938026ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.567 +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-04 10:49:40.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.585 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 10:49:40.585 +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/04 10:49:40.602 +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-04 10:49:40.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.602 +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-04 10:49:40.561 +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/04 10:49:40.608 +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-04 10:49:40.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.635 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.987434ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.639 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.639 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 10:49:40.641 +00:00] [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.816982ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.654 +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-04 10:49:40.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.671 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 10:49:40.671 +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/04 10:49:40.687 +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-04 10:49:40.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.687 +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-04 10:49:40.662 +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/04 10:49:40.694 +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-04 10:49:40.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.723 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.974657ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.727 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.727 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 10:49:40.729 +00:00] [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"=14.03081ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.742 +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-04 10:49:40.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.758 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 10:49:40.758 +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/04 10:49:40.778 +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-04 10:49:40.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.778 +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-04 10:49:40.761 +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/04 10:49:40.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-04 10:49:40.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.067044ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.822 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 10:49:40.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=46] ["take time"=11.530215ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.838 +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-04 10:49:40.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.858 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 10:49:40.859 +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/04 10:49:40.884 +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-04 10:49:40.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.884 +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-04 10:49:40.862 +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/04 10:49:40.892 +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-04 10:49:40.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=4.353861ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:40.925 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:40.925 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 10:49:40.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=47] ["take time"=13.845263ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.944 +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-04 10:49:40.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:40.962 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 10:49:40.962 +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/04 10:49:40.969 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:40.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:40.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:40.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:40.978 +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-04 10:49:40.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:40.978 +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-04 10:49:40.961 +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/04 10:49:40.984 +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-04 10:49:40.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.005 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.31566ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.009 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.009 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 10:49:41.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=48] ["take time"=10.215905ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:40.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.025 +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-04 10:49:40.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.042 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 10:49:41.042 +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/04 10:49:41.057 +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-04 10:49:41.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.057 +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-04 10:49:41.012 +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/04 10:49:41.064 +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-04 10:49:41.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.090 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.09048ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.094 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 10:49:41.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=49] ["take time"=9.220714ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.108 +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-04 10:49:41.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.122 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 10:49:41.122 +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/04 10:49:41.124 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 10:49:41.137 +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-04 10:49:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.137 +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-04 10:49:41.111 +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/04 10:49:41.143 +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-04 10:49:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.164 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.215951ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.167 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.167 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 10:49:41.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=50] ["take time"=9.828399ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.181 +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-04 10:49:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.195 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 10:49:41.195 +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/04 10:49:41.207 +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-04 10:49:41.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 10:49:41.207 +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-04 10:49:41.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.213 +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-04 10:49:41.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.226 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=671.138Β΅s] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 10:49:41.230 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.230 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 10:49:41.231 +00:00] [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.833673ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.241 +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-04 10:49:41.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.252 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 10:49:41.252 +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/04 10:49:41.266 +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-04 10:49:41.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.266 +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-04 10:49:41.212 +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/04 10:49:41.271 +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-04 10:49:41.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.901186ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 10:49:41.294 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 10:49:41.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=52] ["take time"=9.245765ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.307 +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-04 10:49:41.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.321 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 10:49:41.338 +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-04 10:49:41.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.338 +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-04 10:49:41.312 +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/04 10:49:41.345 +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-04 10:49:41.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.372 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.343696ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.376 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.376 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 10:49:41.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=53] ["take time"=11.096838ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.391 +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-04 10:49:41.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.407 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 10:49:41.408 +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/04 10:49:41.423 +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-04 10:49:41.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.423 +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-04 10:49:41.412 +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/04 10:49:41.429 +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-04 10:49:41.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.451 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.331011ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.454 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.454 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 10:49:41.456 +00:00] [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.98463ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.468 +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-04 10:49:41.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.483 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 10:49:41.483 +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/04 10:49:41.499 +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-04 10:49:41.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:41.499 +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-04 10:49:41.462 +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/04 10:49:41.506 +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-04 10:49:41.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.528 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.541007ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:41.532 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 10:49:41.532 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 10:49:41.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=55] ["take time"=10.551826ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:41.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.546 +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-04 10:49:41.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:41.562 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 10:49:41.562 +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/04 10:49:41.718 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.754249804s] [2025/04/04 10:49:41.721 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:41.721 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [] [2025/04/04 10:49:41.721 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:41.721 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.721 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:41.721 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=65.06Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=41.035Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=43.24Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=42.6Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=48.791Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=31.267Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=43.43Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=29.991Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=32.22Β΅s] [2025/04/04 10:49:41.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=29.363Β΅s] [2025/04/04 10:49:41.723 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.723 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.724 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:41.724 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:41.733 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] ["take time"=12.21671ms] [2025/04/04 10:49:41.733 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.734 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=95] [2025/04/04 10:49:41.734 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [] [2025/04/04 10:49:41.734 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:41.734 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:41.734 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:41.734 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:41.734 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:41.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:41.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:41.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:41.734 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [2025/04/04 10:49:41.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:41.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:41.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:41.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:41.735 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [2025/04/04 10:49:41.735 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [2025/04/04 10:49:41.736 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=34d177f8-c4c0-4c64-aedb-84913033bf06] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:41.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:41.736 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:41.736 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:41.736 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:41.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:41.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:41.736 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:41.741 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.937298ms] [2025/04/04 10:49:41.741 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:41.752 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:41.796 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=956] ["lease id"=2231960069ddb178] [2025/04/04 10:49:41.798 +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/04 10:49:41.928 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=126.263826ms] [2025/04/04 10:49:41.928 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:41.937 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:41.937 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:41.939 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [lease=2231960069ddb103] [2025/04/04 10:49:41.940 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:41.940 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261910437888/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:41.940 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:41.940 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:41.940 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:41.940 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [2025/04/04 10:49:41.943 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb103] [ownerID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [op=none] [2025/04/04 10:49:41.943 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.943 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb103] [currRev=279] [2025/04/04 10:49:41.943 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:41.943 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:41.944 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddab7d] [ownerID=6676b63a-06f0-4663-bb4d-d51a80d37e13] [op=none] [2025/04/04 10:49:41.944 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:41.944 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [2025/04/04 10:49:41.944 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [ownerKey=/tidb/br-stream/owner/6f18960069ddab7d] [currRev=280] [2025/04/04 10:49:41.945 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb103] [ownerID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [op=none] [2025/04/04 10:49:41.945 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [op=none] [2025/04/04 10:49:41.945 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:41.953 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.954 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:41.954 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:41.956 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/2231960069ddb181] [ownerID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [op=none] [2025/04/04 10:49:41.957 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.957 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [ownerKey=/tidb/bindinfo/owner/2231960069ddb181] [currRev=281] [2025/04/04 10:49:41.962 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:49:41.966 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:41.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:41.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:41.981 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:41.981 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:41.981 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:41.981 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:41.981 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:41.981 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:41.981 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:41.981 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:41.981 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:41.983 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:41.983 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:41.984 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:41.984 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:41.984 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:41.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:41.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:41.986 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=66] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:41.986 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069ddab82] [ownerID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [op=none] [2025/04/04 10:49:41.986 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.986 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [ownerKey=/tidb/stats/owner/6f18960069ddab82] [currRev=282] [2025/04/04 10:49:41.989 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a34c4d79-21a0-40e5-8f81-4acd54c53562] [2025/04/04 10:49:41.989 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [ttl-worker=task-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [originalCount=0] [newCount=4] [2025/04/04 10:49:41.989 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [ttl-worker=task-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [originalCount=0] [newCount=4] [2025/04/04 10:49:41.989 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:41.991 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:41.998 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:41.998 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:41.999 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763781999128148 [2025/04/04 10:49:42.000 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:42.007 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.874062ms] [2025/04/04 10:49:42.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:42.008 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:42.014 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743763782015774781 [2025/04/04 10:49:42.019 +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/04 10:49:42.029 +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/04 10:49:42.029 +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/04 10:49:42.030 +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/04 10:49:42.031 +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/04 10:49:42.031 +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/04 10:49:42.032 +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/04 10:49:42.054 +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: 1743763782055226651 [2025/04/04 10:49:42.070 +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-04 10:49:42.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:42.070 +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-04 10:49:42.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(id int)"] [2025/04/04 10:49:42.076 +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-04 10:49:42.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.081 +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/04 10:49:42.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=1.838675ms] [gotSchemaVersion=56] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:42.103 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 10:49:42.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=56] ["take time"=10.17893ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:42.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.117 +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-04 10:49:42.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:42.133 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 10:49:42.133 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="create table t(id int)"] [user=] [2025/04/04 10:49:42.144 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117212897968141] [generation=1] [session=2] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=1.099816ms] [2025/04/04 10:49:42.145 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.219737ms] [total_duration=2.606594ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117212897968141] [2025/04/04 10:49:42.146 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117212897968141] [commitTS=457117212897968142] [2025/04/04 10:49:42.146 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457117212897968141] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f728000000000000001] [2025/04/04 10:49:42.146 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457117212897968141] [commitTS=457117212897968142] [session=2] [2025/04/04 10:49:42.153 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:49:42.153 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [] [2025/04/04 10:49:42.153 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:49:42.153 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.153 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:42.153 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:49:42.154 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=48.523Β΅s] [2025/04/04 10:49:42.154 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.154 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.155 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:49:42.155 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:49:42.156 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] ["take time"=2.448616ms] [2025/04/04 10:49:42.156 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.156 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:49:42.156 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a34c4d79-21a0-40e5-8f81-4acd54c53562] [2025/04/04 10:49:42.156 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [ttl-worker=task-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [originalCount=4] [newCount=0] [2025/04/04 10:49:42.156 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:42.156 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:42.156 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:42.156 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:49:42.156 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [ttl-worker=task-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [originalCount=4] [newCount=0] [2025/04/04 10:49:42.158 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:42.158 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:42.159 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:42.159 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:49:42.161 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.161 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=956] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:42.162 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:49:42.163 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:42.162 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.163 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:42.163 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:42.163 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.162 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [2025/04/04 10:49:42.163 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:49:42.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:42.163 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.163 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [2025/04/04 10:49:42.163 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [2025/04/04 10:49:42.163 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.163 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.165 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:49:42.165 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:49:42.165 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6676b63a-06f0-4663-bb4d-d51a80d37e13] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:42.165 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:42.165 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:42.165 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:49:42.165 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [] [2025/04/04 10:49:42.165 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:42.165 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:49:42.165 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.165 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:49:42.165 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:49:42.165 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.165 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:42.165 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [2025/04/04 10:49:42.183 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:49:42.183 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:42.227 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=6848cfdc-0ec6-4f94-9056-a602b574eb3a] [error="context canceled"] [2025/04/04 10:49:42.227 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:49:42.227 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:42.238 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.202289ms] [2025/04/04 10:49:47.147 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117212897968141 commit_ts:457117212897968142 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:49:47.147 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117212897968141 commit_ts:457117212897968142 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:49:47.147 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117212897968141 commit_ts:457117212897968142 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:49:47.147 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:49:47.147 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:49:47.147 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:49:47.147 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:49:47.147 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:49:47.147 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:49:47.148 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:49:47.148 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:49:47.148 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:49:47.147 +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/04 10:49:47.148 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:49:47.148 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:49:47.149 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestVariable (10.47s) === NAME === RUN TestPipelinedDMLPositive [2025/04/04 10:49:47.158 +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/04 10:49:47.159 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:49:47.160 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:49:47.160 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:49:47.160 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:49:47.160 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:49:47.160 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:49:47.161 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:49:47.161 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:49:47.161 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:49:47.161 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:49:47.165 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:49:47.170 +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/04 10:49:47.171 +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/04 10:49:47.172 +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/04 10:49:47.182 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:49:47.191 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:49:47.233 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1511] ["lease id"=2231960069ddb196] [2025/04/04 10:49:47.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/04 10:49:47.357 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=56] ["elapsed time"=119.368161ms] [2025/04/04 10:49:47.357 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:49:47.362 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:49:47.368 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=2ef8f5ea-e912-452c-b857-af17a7f11db6] [runWorker=true] [jobVersion=v2] [2025/04/04 10:49:47.368 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:49:47.370 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:49:47.371 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:49:47.372 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261914656768/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:49:47.372 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:49:47.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:49:47.372 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:47.372 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [2025/04/04 10:49:47.374 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb19b] [ownerID=2ef8f5ea-e912-452c-b857-af17a7f11db6] [op=none] [2025/04/04 10:49:47.374 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:49:47.374 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb19b] [currRev=303] [2025/04/04 10:49:47.375 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:49:47.375 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:47.376 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddab99] [ownerID=218fbea7-2bc5-4d67-b151-3189a9255026] [op=none] [2025/04/04 10:49:47.376 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:49:47.376 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [2025/04/04 10:49:47.376 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [ownerKey=/tidb/br-stream/owner/6f18960069ddab99] [currRev=304] [2025/04/04 10:49:47.376 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb19b] [ownerID=2ef8f5ea-e912-452c-b857-af17a7f11db6] [op=none] [2025/04/04 10:49:47.376 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [op=none] [2025/04/04 10:49:47.377 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:49:47.383 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:49:47.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:49:47.384 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:49:47.394 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:49:47.401 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:49:47.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:49:47.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:49:47.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:49:47.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:49:47.409 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:49:47.409 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:49:47.409 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:49:47.409 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:49:47.409 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:49:47.410 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:49:47.410 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:49:47.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:49:47.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:49:47.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:49:47.412 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:49:47.412 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:47.412 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:49:47.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:49:47.413 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069ddb1a3] [ownerID=2ef8f5ea-e912-452c-b857-af17a7f11db6] [op=none] [2025/04/04 10:49:47.414 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:49:47.414 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:49:47.414 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [ownerKey=/tidb/stats/owner/2231960069ddb1a3] [currRev=306] [2025/04/04 10:49:47.416 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/91c7379c-8125-43fd-b3b7-93a68b01dbe9] [2025/04/04 10:49:47.416 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [ttl-worker=task-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [originalCount=0] [newCount=4] [2025/04/04 10:49:47.416 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [ttl-worker=task-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [originalCount=0] [newCount=4] [2025/04/04 10:49:47.417 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:49:47.418 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:49:47.422 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:49:47.422 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:49:47.422 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763787422663274 [2025/04/04 10:49:47.426 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:49:47.433 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.179505ms] [2025/04/04 10:49:47.433 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:49:47.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:49:47.435 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:49:47.440 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=56] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:49:47.453 +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-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.453 +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-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:49:47.459 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=4] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.96144ms] [gotSchemaVersion=57] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/04 10:49:47.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=57] ["take time"=9.685349ms] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.493 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=4] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.508 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.864531ms] [gotSchemaVersion=58] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.512 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/04 10:49:47.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=58] ["take time"=8.960386ms] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.522 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=4] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.529 +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/04 10:49:47.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.138209ms] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:49:47.548 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2025/04/04 10:49:47.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=59] ["take time"=8.336171ms] [job="ID:114, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.559 +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/04 10:49:47.569 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop table"] [2025/04/04 10:49:47.570 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=114] [conn=4] [job="ID:114, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.595 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/04 10:49:47.596 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=59] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763787596325111 [2025/04/04 10:49:47.600 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=59] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:49:47.613 +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-04 10:49:47.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:49:47.613 +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-04 10:49:47.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/04 10:49:47.619 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=5] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:47.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.624 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 115, Table Name: t)"] [2025/04/04 10:49:47.639 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.709491ms] [gotSchemaVersion=60] [phyTblIDs="[115]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:49:47.643 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/04 10:49:47.644 +00:00] [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.642587ms] [job="ID:116, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 10:49:47.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.656 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=116] [conn=5] [job="ID:116, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 10:49:47.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:49:47.667 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/04 10:49:47.668 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=60] [cur_db=test] [sql="create table t (a int, b int)"] [user=] [2025/04/04 10:49:47.677 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117214352867337] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=1.00126ms] [2025/04/04 10:49:47.677 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.115464ms] [total_duration=1.505348ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117214352867337] [2025/04/04 10:49:47.677 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117214352867337] [startKey=7480000000000000735f728000000000000002] [endKey=7480000000000000735f728000000000000002] [2025/04/04 10:49:47.677 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117214352867337] [commitTS=0] [session=5] [2025/04/04 10:49:47.681 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117214352867340] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=2.21138ms] [2025/04/04 10:49:47.681 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=2.314106ms] [total_duration=2.730707ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117214352867340] [2025/04/04 10:49:47.681 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117214352867340] [startKey=7480000000000000735f728000000000000003] [endKey=7480000000000000735f728000000000000003] [2025/04/04 10:49:47.682 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117214352867340] [commitTS=0] [session=5] [2025/04/04 10:49:47.689 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117214352867342] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=992.174Β΅s] [2025/04/04 10:49:47.689 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.093034ms] [total_duration=5.814043ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117214352867342] [2025/04/04 10:49:47.689 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117214352867342] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 10:49:47.689 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117214352867342] [commitTS=0] [session=5] [2025/04/04 10:49:47.698 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:47.786 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:47.981 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:48.196 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:48.386 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:49:48.386 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:49:48.386 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:49:48.386 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:49:48.416 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:49:48.416 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:49:48.417 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/91c7379c-8125-43fd-b3b7-93a68b01dbe9] [watcherID=b3517917-34f3-4741-8085-053296c24248] [2025/04/04 10:49:48.423 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:49:48.428 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:49:48.428 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:49:48.428 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:49:48.428 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:49:48.966 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:49.166 +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/04 10:49:49.372 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:49:50.415 +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/04 10:49:50.415 +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/04 10:49:50.466 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.330 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.682 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.684 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.688 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.690 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.692 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.695 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.698 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.700 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.702 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.704 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.706 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.708 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.710 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.712 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.714 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.716 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.718 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.720 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.722 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.724 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.726 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.729 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117214352867344] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.730 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867342, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.732 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117214352867344] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=5.03456419s] [2025/04/04 10:49:52.732 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.034656978s] [total_duration=5.040722034s] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117214352867344] [2025/04/04 10:49:52.732 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117214352867344] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 10:49:52.732 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117214352867344] [commitTS=0] [session=5] [2025/04/04 10:49:52.735 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117214352867344, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.737 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000002, primary: 7480000000000000735f728000000000000002, txnStartTS: 457117214352867337, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.738 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000003, primary: 7480000000000000735f728000000000000003, txnStartTS: 457117214352867340, lockForUpdateTS:0, minCommitTs:457117214352867345, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.740 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117215676694531] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=835.38Β΅s] [2025/04/04 10:49:52.740 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=930.38Β΅s] [total_duration=6.549886ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117215676694531] [2025/04/04 10:49:52.740 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117215676694531] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 10:49:52.741 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117215676694531] [commitTS=0] [session=5] [2025/04/04 10:49:52.745 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.844 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:52.976 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:53.221 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:54.015 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:54.945 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:56.922 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.773 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.775 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.776 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.777 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.778 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.779 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117215676694533] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.780 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694531, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.782 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117215676694533] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.03736742s] [2025/04/04 10:49:57.782 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.037461117s] [total_duration=5.040027417s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117215676694533] [2025/04/04 10:49:57.782 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117215676694533] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 10:49:57.782 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117215676694533] [commitTS=0] [session=5] [2025/04/04 10:49:57.785 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117217000521731] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=916.608Β΅s] [2025/04/04 10:49:57.785 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.067613ms] [total_duration=1.484503ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117217000521731] [2025/04/04 10:49:57.785 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117217000521731] [startKey=7480000000000000735f728000000000000004] [endKey=7480000000000000735f728000000000000004] [2025/04/04 10:49:57.785 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117217000521731] [commitTS=0] [session=5] [2025/04/04 10:49:57.790 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117215676694533, lockForUpdateTS:0, minCommitTs:457117215676694534, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.794 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117217000521733] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=958.494Β΅s] [2025/04/04 10:49:57.794 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.060095ms] [total_duration=5.673607ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117217000521733] [2025/04/04 10:49:57.794 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117217000521733] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 10:49:57.794 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117217000521733] [commitTS=0] [session=5] [2025/04/04 10:49:57.802 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117217000521736] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=900.845Β΅s] [2025/04/04 10:49:57.802 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=997.865Β΅s] [total_duration=5.915681ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117217000521736] [2025/04/04 10:49:57.802 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117217000521736] [startKey=7480000000000000735f728000000000000005] [endKey=7480000000000000735f728000000000000005] [2025/04/04 10:49:57.803 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117217000521736] [commitTS=0] [session=5] [2025/04/04 10:49:57.810 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:57.872 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:58.021 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:58.399 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:59.190 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:49:59.375 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [daemon-id=LogBackup::Advancer] [2025/04/04 10:49:59.375 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:49:59.375 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:50:00.483 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.117 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.820 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.821 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.822 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.824 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.824 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.825 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.826 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.827 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.828 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117217000521738] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.830 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521733, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.831 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117217000521738] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.021719478s] [2025/04/04 10:50:02.831 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.021819145s] [total_duration=5.02751923s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117217000521738] [2025/04/04 10:50:02.832 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117217000521738] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 10:50:02.832 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117217000521738] [commitTS=0] [session=5] [2025/04/04 10:50:02.864 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=60] [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/04 10:50:02.895 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=60] [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/04 10:50:02.927 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=60] [cur_db=test] [sql="create global binding for delete from t using delete /*+ SET_VAR(tidb_dml_type=bulk) */ from t"] [user=] [2025/04/04 10:50:02.931 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457117217000521738, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.933 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000004, primary: 7480000000000000735f728000000000000004, txnStartTS: 457117217000521731, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.934 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000005, primary: 7480000000000000735f728000000000000005, txnStartTS: 457117217000521736, lockForUpdateTS:0, minCommitTs:457117217000521739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:50:02.936 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117218350563333] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=958.212Β΅s] [2025/04/04 10:50:02.936 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.052844ms] [total_duration=8.031134ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117218350563333] [2025/04/04 10:50:02.937 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117218350563333] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 10:50:02.937 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117218350563333] [commitTS=0] [session=5] pipelineddml_test.go:248: Error Trace: tests/realtikvtest/pipelineddmltest/pipelineddml_test.go:248 Error: An error is expected but got nil. Test: TestPipelinedDMLPositive Messages: insert into t select * from t [2025/04/04 10:50:02.943 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [] [2025/04/04 10:50:02.943 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:02.943 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:02.943 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.943 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:02.943 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:02.943 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=47.122Β΅s] [2025/04/04 10:50:02.943 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=32.039Β΅s] [2025/04/04 10:50:02.943 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.943 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.944 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:02.944 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:02.945 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=2ef8f5ea-e912-452c-b857-af17a7f11db6] ["take time"=2.666398ms] [2025/04/04 10:50:02.945 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.946 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:02.946 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:50:02.946 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/91c7379c-8125-43fd-b3b7-93a68b01dbe9] [watcherID=b3517917-34f3-4741-8085-053296c24248] [2025/04/04 10:50:02.946 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/91c7379c-8125-43fd-b3b7-93a68b01dbe9] [2025/04/04 10:50:02.946 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [ttl-worker=task-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [originalCount=4] [newCount=0] [2025/04/04 10:50:02.946 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:02.946 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:02.946 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:02.946 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:02.946 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [ttl-worker=task-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [originalCount=4] [newCount=0] [2025/04/04 10:50:02.948 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:02.948 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:02.949 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:02.949 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:02.951 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.951 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1511] [2025/04/04 10:50:02.952 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:02.952 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:50:02.952 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [] [2025/04/04 10:50:02.952 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:02.952 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:02.952 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:02.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:02.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:02.952 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:02.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:02.952 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:02.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:02.953 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.953 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:02.952 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:02.953 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:02.953 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.953 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [2025/04/04 10:50:02.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:02.953 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:02.953 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:02.953 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:02.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:02.954 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:02.954 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=218fbea7-2bc5-4d67-b151-3189a9255026] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:02.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:02.954 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:02.954 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:02.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:02.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:02.954 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:50:02.955 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:02.955 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:02.955 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:02.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:02.956 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [error="context canceled"] [2025/04/04 10:50:02.956 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [2025/04/04 10:50:02.956 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [error="context canceled"] [2025/04/04 10:50:02.956 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=2ef8f5ea-e912-452c-b857-af17a7f11db6] [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/04 10:50:02.974 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:02.974 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:03.016 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:03.016 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:03.028 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.836661ms] [2025/04/04 10:50:07.833 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117217000521738 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:07.833 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117217000521738 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:07.833 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117217000521738 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:07.938 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117218350563333 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:07.938 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117218350563333 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:07.938 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117218350563333 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:07.938 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:07.938 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:07.938 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:07.938 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:07.938 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:07.938 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:07.938 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:07.938 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:07.938 +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/04 10:50:07.938 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:07.938 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:07.938 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:07.940 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- FAIL: TestPipelinedDMLPositive (20.79s) === NAME === RUN TestPipelinedDMLNegative [2025/04/04 10:50:07.948 +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/04 10:50:07.949 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:07.949 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:07.950 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:07.950 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:07.950 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:07.950 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:07.950 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:07.950 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:07.951 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:07.951 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:07.954 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:07.959 +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/04 10:50:07.960 +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/04 10:50:07.960 +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/04 10:50:07.970 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:07.980 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:08.013 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1366] ["lease id"=3eaa960069ddac60] [2025/04/04 10:50:08.015 +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/04 10:50:08.147 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=60] ["elapsed time"=129.173561ms] [2025/04/04 10:50:08.147 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:08.151 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:08.158 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:08.158 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:08.160 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.161 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:08.161 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267605401600/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:08.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:08.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:08.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:08.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:08.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:08.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:08.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:08.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:08.161 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:08.162 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:08.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:08.162 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:08.162 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [2025/04/04 10:50:08.164 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb1de] [ownerID=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [op=none] [2025/04/04 10:50:08.164 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.164 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb1de] [currRev=341] [2025/04/04 10:50:08.164 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:08.164 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:08.165 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb1e0] [ownerID=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [op=none] [2025/04/04 10:50:08.165 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [2025/04/04 10:50:08.165 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [ownerKey=/tidb/br-stream/owner/2231960069ddb1e0] [currRev=341] [2025/04/04 10:50:08.165 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:08.166 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb1de] [ownerID=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [op=none] [2025/04/04 10:50:08.166 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [op=none] [2025/04/04 10:50:08.166 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:08.179 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.179 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:08.180 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:08.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:08.197 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:08.204 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:08.204 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:08.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:08.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:08.205 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:08.205 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:08.205 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:08.205 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:08.205 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:08.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:08.206 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:08.207 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:08.207 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:08.207 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:08.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:08.209 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:08.209 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069ddac6a] [ownerID=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [op=none] [2025/04/04 10:50:08.209 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.209 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [ownerKey=/tidb/stats/owner/3eaa960069ddac6a] [currRev=343] [2025/04/04 10:50:08.211 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a99275f4-0e69-40d2-8f55-ac066d260061] [2025/04/04 10:50:08.211 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [ttl-worker=task-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [originalCount=0] [newCount=4] [2025/04/04 10:50:08.211 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [ttl-worker=task-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [originalCount=0] [newCount=4] [2025/04/04 10:50:08.211 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.215 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:08.215 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:08.215 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763808215534355 [2025/04/04 10:50:08.218 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:08.225 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:08.231 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.431096ms] [2025/04/04 10:50:08.231 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:08.231 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:08.236 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:08.238 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=60] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:08.252 +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-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:08.252 +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-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:50:08.258 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.276 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.176809ms] [gotSchemaVersion=61] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:08.279 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=61] [2025/04/04 10:50:08.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=61] ["take time"=9.633428ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.292 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.308 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=2.108533ms] [gotSchemaVersion=62] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:08.312 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/04 10:50:08.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=62] ["take time"=9.489579ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.322 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.328 +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: t)"] [2025/04/04 10:50:08.347 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.196221ms] [gotSchemaVersion=63] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:08.351 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=63] [2025/04/04 10:50:08.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=63] ["take time"=11.993249ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.362 +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/04 10:50:08.372 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2025/04/04 10:50:08.372 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.399 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 10:50:08.399 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=63] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763808400168332 [2025/04/04 10:50:08.403 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=63] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:50:08.417 +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-04 10:50:08.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:08.417 +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-04 10:50:08.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:50:08.422 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=7] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:08.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.426 +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/04 10:50:08.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.599502ms] [gotSchemaVersion=64] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:08.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=64] [2025/04/04 10:50:08.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=64] ["take time"=8.921487ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.459 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=7] [job="ID:119, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:08.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:08.470 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 10:50:08.471 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=64] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:50:08.473 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117219805462534] [2025/04/04 10:50:08.491 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117219805462542] [2025/04/04 10:50:08.499 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117219805462545] [2025/04/04 10:50:08.515 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/04 10:50:08.538 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=off] [2025/04/04 10:50:08.541 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117219818569738] [2025/04/04 10:50:08.550 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/04 10:50:08.564 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=ON] [2025/04/04 10:50:08.569 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:08.569 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [] [2025/04/04 10:50:08.569 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.569 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:08.569 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:08.569 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:08.569 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=34.733Β΅s] [2025/04/04 10:50:08.569 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=38.87Β΅s] [2025/04/04 10:50:08.570 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.570 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.571 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:08.571 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:08.571 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] ["take time"=2.434017ms] [2025/04/04 10:50:08.571 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.572 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:08.572 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a99275f4-0e69-40d2-8f55-ac066d260061] [2025/04/04 10:50:08.572 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [ttl-worker=task-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [originalCount=4] [newCount=0] [2025/04/04 10:50:08.572 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:08.572 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:08.572 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:08.572 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:08.572 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [ttl-worker=task-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [originalCount=4] [newCount=0] [2025/04/04 10:50:08.574 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:08.574 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:08.574 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:08.574 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:08.577 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.577 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:08.577 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1366] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:08.578 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:08.579 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [] [2025/04/04 10:50:08.579 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.579 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:08.579 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.578 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [2025/04/04 10:50:08.579 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:08.579 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.579 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:08.579 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [2025/04/04 10:50:08.578 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:08.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:08.580 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:08.580 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:08.580 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:08.580 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e9895f8b-7d5f-492b-a80d-bf5d3bae80af] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:08.580 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:08.580 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:08.580 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:08.580 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:08.580 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:08.580 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:08.580 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:08.581 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [error="context canceled"] [2025/04/04 10:50:08.581 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [2025/04/04 10:50:08.581 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [error="context canceled"] [2025/04/04 10:50:08.581 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=06203ef2-fe75-4fd3-8c77-f7fc1e0dd44a] [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/04 10:50:08.599 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:08.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:08.645 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:08.645 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:08.655 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.584888ms] [2025/04/04 10:50:08.657 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:08.657 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:08.657 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:08.657 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:08.657 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:08.657 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:08.657 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:08.657 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:08.657 +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/04 10:50:08.657 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:08.657 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:08.657 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:08.658 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLNegative (0.72s) === NAME === RUN TestPipelinedDMLInsert [2025/04/04 10:50:08.663 +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/04 10:50:08.664 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:08.664 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:08.665 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:08.665 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:08.665 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:08.665 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:08.665 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:08.665 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:08.666 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:08.666 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:08.669 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:08.674 +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/04 10:50:08.675 +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/04 10:50:08.675 +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/04 10:50:08.684 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:08.693 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:08.726 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=135] ["lease id"=3eaa960069ddac81] [2025/04/04 10:50:08.727 +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/04 10:50:08.851 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=121.493716ms] [2025/04/04 10:50:08.851 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:08.856 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:08.862 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:08.862 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:08.864 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:08.865 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:08.865 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267605438464/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:08.865 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:08.865 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:08.865 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:08.865 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [2025/04/04 10:50:08.867 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddabfd] [ownerID=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [op=none] [2025/04/04 10:50:08.867 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:08.867 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddabfd] [currRev=372] [2025/04/04 10:50:08.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:08.868 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:08.868 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:08.869 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb1fb] [ownerID=03e9c97e-a364-4c03-bf59-aeba402526d7] [op=none] [2025/04/04 10:50:08.869 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [2025/04/04 10:50:08.869 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [ownerKey=/tidb/br-stream/owner/2231960069ddb1fb] [currRev=373] [2025/04/04 10:50:08.869 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddabfd] [ownerID=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [op=none] [2025/04/04 10:50:08.869 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [op=none] [2025/04/04 10:50:08.869 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:08.883 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:08.884 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:08.884 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:08.895 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:08.903 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:08.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:08.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:08.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:08.910 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:08.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:08.910 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:08.910 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:08.910 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:08.910 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:08.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:08.911 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:08.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:08.913 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:08.913 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:08.913 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:08.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:08.915 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:08.915 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069ddac8d] [ownerID=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [op=none] [2025/04/04 10:50:08.915 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:08.915 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [ownerKey=/tidb/stats/owner/3eaa960069ddac8d] [currRev=375] [2025/04/04 10:50:08.917 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/86c2e049-5702-41ae-bd15-bdd4b8c806e3] [2025/04/04 10:50:08.917 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [ttl-worker=task-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [originalCount=0] [newCount=4] [2025/04/04 10:50:08.917 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [ttl-worker=task-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [originalCount=0] [newCount=4] [2025/04/04 10:50:08.917 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:08.919 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:08.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:08.920 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:08.920 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763808920828971 [2025/04/04 10:50:08.927 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:08.933 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.522934ms] [2025/04/04 10:50:08.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:08.933 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:08.941 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:08.962 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:08.964 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=64] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:08.977 +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-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:08.976 +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-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:50:08.982 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=8] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.078 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=81.570009ms] [2025/04/04 10:50:09.078 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 10:50:09.079 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:09.082 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=65] [2025/04/04 10:50:09.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=65] ["take time"=89.172475ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.094 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=8] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.745915ms] [gotSchemaVersion=66] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:09.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=66] [2025/04/04 10:50:09.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=66] ["take time"=8.723876ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.122 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=8] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.129 +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/04 10:50:09.142 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=983.991Β΅s] [gotSchemaVersion=67] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:09.145 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=67] [2025/04/04 10:50:09.147 +00:00] [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.22783ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.156 +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/04 10:50:09.163 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/04 10:50:09.164 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=8] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:08.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/04 10:50:09.183 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=67] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763809183284315 [2025/04/04 10:50:09.195 +00:00] [INFO] [set.go:172] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:09.198 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=67] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:50:09.211 +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-04 10:50:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:09.211 +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-04 10:50:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:50:09.216 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=9] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.221 +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/04 10:50:09.237 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.61725ms] [gotSchemaVersion=68] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:09.241 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=68] [2025/04/04 10:50: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=68] ["take time"=8.858622ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.254 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=9] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 10:50:09.265 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=68] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:50:09.278 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:09.278 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:50:09.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=9] [job="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:09.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.289 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 123, Table Name: _t)"] [2025/04/04 10:50:09.304 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.638138ms] [gotSchemaVersion=69] [phyTblIDs="[123]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:09.308 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=69] [2025/04/04 10:50:09.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=69] ["take time"=8.977618ms] [job="ID:124, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.322 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=9] [job="ID:124, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:09.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 10:50:09.334 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=69] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:50:09.337 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220028284937] [2025/04/04 10:50:09.341 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220028284941] [2025/04/04 10:50:09.345 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220028284944] [2025/04/04 10:50:09.350 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220028284947] [2025/04/04 10:50:09.354 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220028284950] [2025/04/04 10:50:09.358 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220028284953] [2025/04/04 10:50:09.362 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220028284956] [2025/04/04 10:50:09.366 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392131] [2025/04/04 10:50:09.370 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392137] [2025/04/04 10:50:09.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392141] [2025/04/04 10:50:09.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392144] [2025/04/04 10:50:09.382 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392147] [2025/04/04 10:50:09.387 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392150] [2025/04/04 10:50:09.391 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392153] [2025/04/04 10:50:09.395 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392156] [2025/04/04 10:50:09.400 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392159] [2025/04/04 10:50:09.404 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392162] [2025/04/04 10:50:09.408 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392165] [2025/04/04 10:50:09.413 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220041392168] [2025/04/04 10:50:09.417 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499331] [2025/04/04 10:50:09.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499334] [2025/04/04 10:50:09.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499338] [2025/04/04 10:50:09.429 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499341] [2025/04/04 10:50:09.433 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499344] [2025/04/04 10:50:09.437 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499347] [2025/04/04 10:50:09.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499350] [2025/04/04 10:50:09.445 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499353] [2025/04/04 10:50:09.449 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499356] [2025/04/04 10:50:09.453 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499359] [2025/04/04 10:50:09.456 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499362] [2025/04/04 10:50:09.461 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220054499365] [2025/04/04 10:50:09.464 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606530] [2025/04/04 10:50:09.468 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606533] [2025/04/04 10:50:09.472 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606537] [2025/04/04 10:50:09.476 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606540] [2025/04/04 10:50:09.480 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606543] [2025/04/04 10:50:09.484 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606546] [2025/04/04 10:50:09.487 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606549] [2025/04/04 10:50:09.491 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606552] [2025/04/04 10:50:09.495 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606555] [2025/04/04 10:50:09.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606558] [2025/04/04 10:50:09.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606561] [2025/04/04 10:50:09.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606564] [2025/04/04 10:50:09.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606567] [2025/04/04 10:50:09.513 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220067606570] [2025/04/04 10:50:09.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713731] [2025/04/04 10:50:09.520 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713734] [2025/04/04 10:50:09.524 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713739] [2025/04/04 10:50:09.528 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713742] [2025/04/04 10:50:09.533 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713745] [2025/04/04 10:50:09.537 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713748] [2025/04/04 10:50:09.541 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713751] [2025/04/04 10:50:09.545 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713754] [2025/04/04 10:50:09.549 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713757] [2025/04/04 10:50:09.553 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713760] [2025/04/04 10:50:09.557 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713763] [2025/04/04 10:50:09.561 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220080713766] [2025/04/04 10:50:09.565 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820930] [2025/04/04 10:50:09.568 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820933] [2025/04/04 10:50:09.572 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820937] [2025/04/04 10:50:09.576 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820940] [2025/04/04 10:50:09.580 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820943] [2025/04/04 10:50:09.584 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820946] [2025/04/04 10:50:09.588 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820949] [2025/04/04 10:50:09.592 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820952] [2025/04/04 10:50:09.596 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820955] [2025/04/04 10:50:09.600 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820958] [2025/04/04 10:50:09.604 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820961] [2025/04/04 10:50:09.608 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820964] [2025/04/04 10:50:09.612 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220093820967] [2025/04/04 10:50:09.616 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928131] [2025/04/04 10:50:09.620 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928136] [2025/04/04 10:50:09.624 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928141] [2025/04/04 10:50:09.628 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928144] [2025/04/04 10:50:09.632 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928147] [2025/04/04 10:50:09.636 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928150] [2025/04/04 10:50:09.639 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928153] [2025/04/04 10:50:09.643 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928156] [2025/04/04 10:50:09.647 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928159] [2025/04/04 10:50:09.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928162] [2025/04/04 10:50:09.655 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928165] [2025/04/04 10:50:09.659 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928168] [2025/04/04 10:50:09.663 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220106928171] [2025/04/04 10:50:09.667 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035331] [2025/04/04 10:50:09.671 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035334] [2025/04/04 10:50:09.675 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035338] [2025/04/04 10:50:09.679 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035341] [2025/04/04 10:50:09.683 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035344] [2025/04/04 10:50:09.687 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035347] [2025/04/04 10:50:09.691 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035350] [2025/04/04 10:50:09.694 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035353] [2025/04/04 10:50:09.699 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035356] [2025/04/04 10:50:09.703 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035359] [2025/04/04 10:50:09.707 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035362] [2025/04/04 10:50:09.711 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220120035365] [2025/04/04 10:50:09.715 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220132880386] [2025/04/04 10:50:09.719 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220132880389] [2025/04/04 10:50:09.723 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220132880393] [2025/04/04 10:50:09.726 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220132880396] [2025/04/04 10:50:09.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117220132880399] [2025/04/04 10:50:09.744 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117220132880403] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.658763ms] [2025/04/04 10:50:09.744 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117220132880403] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=33.453Β΅s] [2025/04/04 10:50:09.744 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.768385ms] [total_duration=7.139935ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117220132880403] [2025/04/04 10:50:09.745 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117220132880403] [commitTS=457117220132880404] [2025/04/04 10:50:09.745 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117220132880403] [startKey=74800000000000007b5f728000000000000000] [endKey=74800000000000007b5f728000000000000063] [concurrency=8] [2025/04/04 10:50:09.750 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117220132880403] [startKey=74800000000000007b5f728000000000000000] [endKey=74800000000000007b5f728000000000000063] ["cost time"=5.017373ms] ["completed regions"=1] [2025/04/04 10:50:09.751 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117220132880403] [commitTS=457117220132880404] [session=9] [2025/04/04 10:50:09.764 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117220132880407] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.62126ms] [2025/04/04 10:50:09.764 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117220132880407] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=26.244Β΅s] [2025/04/04 10:50:09.764 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.656669ms] [total_duration=8.231703ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117220132880407] [2025/04/04 10:50:09.765 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117220132880407] [commitTS=457117220146249729] [2025/04/04 10:50:09.766 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117220132880407] [startKey=7480000000000000795f728000000000002710] [endKey=7480000000000000795f728000000000002773] [concurrency=8] [2025/04/04 10:50:09.769 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117220132880407] [startKey=7480000000000000795f728000000000002710] [endKey=7480000000000000795f728000000000002773] ["cost time"=3.087203ms] ["completed regions"=1] [2025/04/04 10:50:09.769 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117220132880407] [commitTS=457117220146249729] [session=9] [2025/04/04 10:50:09.782 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t"] [2025/04/04 10:50:09.782 +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:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:09.788 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=9] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:09.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.795 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 125, Table Name: _t, Old Table ID: 123, Old Table Name: _t)"] [2025/04/04 10:50:09.811 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.539708ms] [gotSchemaVersion=70] [phyTblIDs="[123,125]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:09.815 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=70] [2025/04/04 10:50:09.816 +00:00] [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.662387ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.827 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[123]"] [comment="truncate table: table ID"] [2025/04/04 10:50:09.831 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="truncate table"] [2025/04/04 10:50:09.832 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=9] [job="ID:126, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:09.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:09.850 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 10:50:09.850 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=70] [cur_db=test] [sql="truncate table _t"] [user=] [2025/04/04 10:50:09.851 +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"=74800000000000007d5f7280000000000003e8] [2025/04/04 10:50:09.854 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000007d5f7280000000000003e8] ["first new region left"="{Id:28 StartKey:7200000100000000fb EndKey:7480000000000000ff7d5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:29 store_id:2 id:30 store_id:1 id:31 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:50:09.854 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=28] [2025/04/04 10:50:09.855 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f7280000000000003e8] ["new region left"="{Id:28 StartKey:7200000100000000fb EndKey:7480000000000000ff7d5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:29 store_id:2 id:30 store_id:1 id:31 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.855 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=32] [2025/04/04 10:50:09.856 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f7280000000000007d0] ["new region left"="{Id:32 StartKey:7480000000000000ff7d5f728000000000ff0003e80000000000fa EndKey:7480000000000000ff7d5f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:33 store_id:2 id:34 store_id:1 id:35 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.856 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=36] [2025/04/04 10:50:09.857 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f728000000000000bb8] ["new region left"="{Id:36 StartKey:7480000000000000ff7d5f728000000000ff0007d00000000000fa EndKey:7480000000000000ff7d5f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:37 store_id:2 id:38 store_id:1 id:39 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.857 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=40] [2025/04/04 10:50:09.858 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f728000000000000fa0] ["new region left"="{Id:40 StartKey:7480000000000000ff7d5f728000000000ff000bb80000000000fa EndKey:7480000000000000ff7d5f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:41 store_id:2 id:42 store_id:1 id:43 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.858 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=44] [2025/04/04 10:50:09.859 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f728000000000001388] ["new region left"="{Id:44 StartKey:7480000000000000ff7d5f728000000000ff000fa00000000000fa EndKey:7480000000000000ff7d5f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:45 store_id:2 id:46 store_id:1 id:47 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.859 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=48] [2025/04/04 10:50:09.860 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f728000000000001770] ["new region left"="{Id:48 StartKey:7480000000000000ff7d5f728000000000ff0013880000000000fa EndKey:7480000000000000ff7d5f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:49 store_id:2 id:50 store_id:1 id:51 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.860 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=52] [2025/04/04 10:50:09.860 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f728000000000001b58] ["new region left"="{Id:52 StartKey:7480000000000000ff7d5f728000000000ff0017700000000000fa EndKey:7480000000000000ff7d5f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:53 store_id:2 id:54 store_id:1 id:55 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.861 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=56] [2025/04/04 10:50:09.862 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f728000000000001f40] ["new region left"="{Id:56 StartKey:7480000000000000ff7d5f728000000000ff001b580000000000fa EndKey:7480000000000000ff7d5f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:57 store_id:2 id:58 store_id:1 id:59 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.862 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=60] [2025/04/04 10:50:09.862 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000007d5f728000000000002328] ["new region left"="{Id:60 StartKey:7480000000000000ff7d5f728000000000ff001f400000000000fa EndKey:7480000000000000ff7d5f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:14} Peers:[id:61 store_id:2 id:62 store_id:1 id:63 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:09.863 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[28,32,36,40,44,48,52,56,60]"] [2025/04/04 10:50:09.863 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=28] [backoff(ms)=299987] [2025/04/04 10:50:09.863 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=28] [2025/04/04 10:50:09.864 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=32] [backoff(ms)=299987] [2025/04/04 10:50:09.864 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=32] [2025/04/04 10:50:09.864 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=36] [backoff(ms)=299986] [2025/04/04 10:50:09.864 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=36] [2025/04/04 10:50:09.864 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=40] [backoff(ms)=299986] [2025/04/04 10:50:09.865 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=40] [2025/04/04 10:50:09.865 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=44] [backoff(ms)=299985] [2025/04/04 10:50:09.865 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=44] [2025/04/04 10:50:09.865 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=48] [backoff(ms)=299985] [2025/04/04 10:50:09.866 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=48] [2025/04/04 10:50:09.866 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=52] [backoff(ms)=299984] [2025/04/04 10:50:09.866 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=52] [2025/04/04 10:50:09.866 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=56] [backoff(ms)=299984] [2025/04/04 10:50:09.867 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=56] [2025/04/04 10:50:09.867 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=60] [backoff(ms)=299983] [2025/04/04 10:50:09.867 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=60] [2025/04/04 10:50:09.879 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:50:09.879 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:09.879 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:09.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:09.889 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117220172201993] [generation=1] [session=9] [keys=200] [size=5.8kB] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=3.846973ms] [2025/04/04 10:50:09.889 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117220172201993] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=27.682Β΅s] [2025/04/04 10:50:09.889 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=200] [flush_wait_duration=3.935391ms] [total_duration=12.289588ms] ["memdb traversal cache hit"=400] ["memdb traversal cache miss"=400] [size=5.8kB] [startTS=457117220172201993] [2025/04/04 10:50:09.890 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117220172201993] [commitTS=457117220172201995] [2025/04/04 10:50:09.890 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117220172201993] [startKey=74800000000000007d5f728000000000000000] [endKey=74800000000000007d5f728000000000002773] [concurrency=8] [2025/04/04 10:50:09.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117220172201993] [startKey=74800000000000007d5f728000000000000000] [endKey=74800000000000007d5f728000000000002773] ["cost time"=8.418964ms] ["completed regions"=10] [2025/04/04 10:50:09.899 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117220172201993] [commitTS=457117220172201995] [session=9] [2025/04/04 10:50:09.902 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [] [2025/04/04 10:50:09.902 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:09.902 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.902 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:09.902 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:09.902 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:09.902 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=39.908Β΅s] [2025/04/04 10:50:09.902 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=32.297Β΅s] [2025/04/04 10:50:09.902 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=32.555Β΅s] [2025/04/04 10:50:09.902 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=34.294Β΅s] [2025/04/04 10:50:09.903 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.903 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.904 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:09.904 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:09.905 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] ["take time"=3.002917ms] [2025/04/04 10:50:09.905 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.905 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:09.905 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/86c2e049-5702-41ae-bd15-bdd4b8c806e3] [2025/04/04 10:50:09.905 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [ttl-worker=task-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [originalCount=4] [newCount=0] [2025/04/04 10:50:09.905 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:09.905 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:09.905 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:09.905 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:09.905 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [ttl-worker=task-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [originalCount=4] [newCount=0] [2025/04/04 10:50:09.908 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:09.908 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:09.908 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:09.908 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:09.910 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.911 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:09.911 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=135] [2025/04/04 10:50:09.911 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:09.911 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:09.911 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:09.911 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:09.912 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:09.912 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:09.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:09.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:09.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:09.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:09.912 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:09.912 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:09.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:09.912 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [2025/04/04 10:50:09.913 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [] [2025/04/04 10:50:09.913 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [2025/04/04 10:50:09.913 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:09.913 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.913 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.915 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=03e9c97e-a364-4c03-bf59-aeba402526d7] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:09.915 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:09.915 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:09.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:09.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:09.915 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:09.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:09.915 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [error="context canceled"] [2025/04/04 10:50:09.915 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:09.915 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:09.916 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:09.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:09.921 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [error="context canceled"] [2025/04/04 10:50:09.921 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [2025/04/04 10:50:09.921 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [error="context canceled"] [2025/04/04 10:50:09.921 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=b7bd744a-e363-41f1-9d0c-9b4baf3fbaca] [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/04 10:50:09.993 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:09.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:10.031 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:10.031 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:10.042 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=140.606396ms] [2025/04/04 10:50:10.670 +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/04 10:50:14.752 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117220132880403 commit_ts:457117220132880404 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:14.751 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117220132880403 commit_ts:457117220132880404 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:14.752 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117220132880403 commit_ts:457117220132880404 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:14.769 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117220132880407 commit_ts:457117220146249729 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:14.770 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117220132880407 commit_ts:457117220146249729 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:14.770 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117220132880407 commit_ts:457117220146249729 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:14.900 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117220172201993 commit_ts:457117220172201995 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:14.900 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117220172201993 commit_ts:457117220172201995 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:14.900 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117220172201993 commit_ts:457117220172201995 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:14.900 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:14.900 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:14.900 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:14.900 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:14.900 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:14.900 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:14.900 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:14.900 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:14.900 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:14.900 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:14.900 +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/04 10:50:14.900 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:14.902 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsert (6.25s) === NAME === RUN TestPipelinedDMLInsertIgnore [2025/04/04 10:50:14.911 +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/04 10:50:14.912 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:14.912 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:14.913 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:14.913 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:14.913 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:14.913 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:14.913 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:14.913 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:14.914 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:14.914 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:14.918 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:14.923 +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/04 10:50:14.924 +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/04 10:50:14.924 +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/04 10:50:14.934 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:14.944 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:14.979 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1020] ["lease id"=6f18960069ddac22] [2025/04/04 10:50:14.981 +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/04 10:50:15.072 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=70] ["elapsed time"=88.399311ms] [2025/04/04 10:50:15.072 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:15.075 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:15.080 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=e4e11514-7078-459e-9000-413c4f39de65] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:15.080 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:15.082 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:15.083 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:15.084 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267610316800/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:15.084 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:15.084 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:15.084 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:15.084 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [2025/04/04 10:50:15.086 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddacbc] [ownerID=e4e11514-7078-459e-9000-413c4f39de65] [op=none] [2025/04/04 10:50:15.086 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:15.086 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddacbc] [currRev=411] [2025/04/04 10:50:15.087 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:15.087 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:15.087 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:15.088 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddacbe] [ownerID=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [op=none] [2025/04/04 10:50:15.088 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [2025/04/04 10:50:15.088 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [ownerKey=/tidb/br-stream/owner/3eaa960069ddacbe] [currRev=412] [2025/04/04 10:50:15.088 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddacbc] [ownerID=e4e11514-7078-459e-9000-413c4f39de65] [op=none] [2025/04/04 10:50:15.088 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [op=none] [2025/04/04 10:50:15.088 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:15.101 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:15.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:15.102 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:15.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:15.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:15.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:15.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:15.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:15.123 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:15.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:15.123 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:15.123 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:15.123 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:15.123 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:15.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:15.124 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:15.126 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:15.126 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:15.126 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:15.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:15.128 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:15.128 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069ddac2c] [ownerID=e4e11514-7078-459e-9000-413c4f39de65] [op=none] [2025/04/04 10:50:15.128 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:15.128 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [ownerKey=/tidb/stats/owner/6f18960069ddac2c] [currRev=414] [2025/04/04 10:50:15.130 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:15.131 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1a2d5296-eba9-4381-84df-c8c0b595fa51] [2025/04/04 10:50:15.131 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [ttl-worker=task-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [originalCount=0] [newCount=4] [2025/04/04 10:50:15.131 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [ttl-worker=task-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [originalCount=0] [newCount=4] [2025/04/04 10:50:15.131 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:15.132 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:15.132 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:15.132 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763815132595350 [2025/04/04 10:50:15.135 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:15.143 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.441011ms] [2025/04/04 10:50:15.143 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:15.143 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:15.145 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:15.165 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:15.167 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=70] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:50:15.168 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=70] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:15.181 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:15.181 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:15.186 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=10] [job="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.202 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.80909ms] [gotSchemaVersion=71] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:15.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=71] [2025/04/04 10:50:15.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=71] ["take time"=8.78935ms] [job="ID:127, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.216 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=10] [job="ID:127, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.231 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.714957ms] [gotSchemaVersion=72] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:15.234 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=72] [2025/04/04 10:50:15.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=72] ["take time"=8.096341ms] [job="ID:127, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.243 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=10] [job="ID:127, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.249 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 125, Old Table Name: _t)"] [2025/04/04 10:50:15.261 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=954.264Β΅s] [gotSchemaVersion=73] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:15.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=73] [2025/04/04 10:50:15.267 +00:00] [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"=7.935171ms] [job="ID:127, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.281 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=127] [tableIDs="[125]"] [comment="drop table: table ID"] [2025/04/04 10:50:15.289 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=127] [jobType="drop table"] [2025/04/04 10:50:15.290 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=10] [job="ID:127, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.309 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/04 10:50:15.320 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:15.320 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:15.325 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=10] [job="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.345 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.967097ms] [gotSchemaVersion=74] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:15.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=74] [2025/04/04 10:50:15.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=74] ["take time"=13.115096ms] [job="ID:128, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.361 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=10] [job="ID:128, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.378 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=2.13002ms] [gotSchemaVersion=75] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:15.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=75] [2025/04/04 10:50:15.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=75] ["take time"=9.475866ms] [job="ID:128, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.393 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=10] [job="ID:128, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.401 +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/04 10:50:15.414 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=1.270398ms] [gotSchemaVersion=76] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:15.417 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=76] [2025/04/04 10:50:15.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=76] ["take time"=8.133155ms] [job="ID:128, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.429 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=128] [tableIDs="[121]"] [comment="drop table: table ID"] [2025/04/04 10:50:15.433 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="drop table"] [2025/04/04 10:50:15.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=10] [job="ID:128, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.453 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 10:50:15.453 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=76] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763815453809722 [2025/04/04 10:50:15.457 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=76] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:50:15.471 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:50:15.471 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:15.477 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=11] [job="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.482 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 129, Table Name: t)"] [2025/04/04 10:50:15.497 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.520474ms] [gotSchemaVersion=77] [phyTblIDs="[129]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:15.501 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=77] [2025/04/04 10:50:15.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=77] ["take time"=8.726678ms] [job="ID:130, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.514 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=11] [job="ID:130, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.525 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/04 10:50:15.525 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=77] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:50:15.539 +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:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:15.539 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:50:15.544 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=11] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.549 +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/04 10:50:15.563 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.557295ms] [gotSchemaVersion=78] [phyTblIDs="[131]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:15.567 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=78] [2025/04/04 10:50:15.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=78] ["take time"=8.63625ms] [job="ID:132, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:15.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.580 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=11] [job="ID:132, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:15.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:15.592 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 10:50:15.592 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=78] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:50:15.595 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221666684943] [2025/04/04 10:50:15.600 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221666684947] [2025/04/04 10:50:15.604 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221666684950] [2025/04/04 10:50:15.609 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221666684953] [2025/04/04 10:50:15.613 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221666684956] [2025/04/04 10:50:15.618 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792131] [2025/04/04 10:50:15.623 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792134] [2025/04/04 10:50:15.627 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792137] [2025/04/04 10:50:15.632 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792140] [2025/04/04 10:50:15.636 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792143] [2025/04/04 10:50:15.641 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792147] [2025/04/04 10:50:15.645 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792150] [2025/04/04 10:50:15.650 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792153] [2025/04/04 10:50:15.654 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792156] [2025/04/04 10:50:15.658 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792159] [2025/04/04 10:50:15.662 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221679792162] [2025/04/04 10:50:15.666 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899331] [2025/04/04 10:50:15.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899334] [2025/04/04 10:50:15.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899337] [2025/04/04 10:50:15.681 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899340] [2025/04/04 10:50:15.688 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899343] [2025/04/04 10:50:15.692 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899347] [2025/04/04 10:50:15.697 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899350] [2025/04/04 10:50:15.701 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899353] [2025/04/04 10:50:15.705 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221692899356] [2025/04/04 10:50:15.726 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006532] [2025/04/04 10:50:15.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006535] [2025/04/04 10:50:15.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006538] [2025/04/04 10:50:15.740 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006542] [2025/04/04 10:50:15.744 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006546] [2025/04/04 10:50:15.748 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006549] [2025/04/04 10:50:15.752 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006552] [2025/04/04 10:50:15.756 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006555] [2025/04/04 10:50:15.760 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221706006558] [2025/04/04 10:50:15.763 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851585] [2025/04/04 10:50:15.768 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851588] [2025/04/04 10:50:15.772 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851591] [2025/04/04 10:50:15.775 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851594] [2025/04/04 10:50:15.779 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851597] [2025/04/04 10:50:15.783 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851600] [2025/04/04 10:50:15.787 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851603] [2025/04/04 10:50:15.791 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851607] [2025/04/04 10:50:15.795 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851610] [2025/04/04 10:50:15.799 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851613] [2025/04/04 10:50:15.804 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851616] [2025/04/04 10:50:15.808 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851619] [2025/04/04 10:50:15.812 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221718851622] [2025/04/04 10:50:15.816 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220931] [2025/04/04 10:50:15.820 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220935] [2025/04/04 10:50:15.824 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220938] [2025/04/04 10:50:15.828 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220941] [2025/04/04 10:50:15.833 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220944] [2025/04/04 10:50:15.837 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220949] [2025/04/04 10:50:15.841 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220955] [2025/04/04 10:50:15.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220958] [2025/04/04 10:50:15.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220961] [2025/04/04 10:50:15.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220964] [2025/04/04 10:50:15.857 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220967] [2025/04/04 10:50:15.861 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221732220970] [2025/04/04 10:50:15.865 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745065986] [2025/04/04 10:50:15.869 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745065989] [2025/04/04 10:50:15.873 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745065992] [2025/04/04 10:50:15.877 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745065995] [2025/04/04 10:50:15.881 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745065998] [2025/04/04 10:50:15.885 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745066001] [2025/04/04 10:50:15.889 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745066004] [2025/04/04 10:50:15.893 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745066008] [2025/04/04 10:50:15.897 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745066011] [2025/04/04 10:50:15.901 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745066014] [2025/04/04 10:50:15.905 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745066017] [2025/04/04 10:50:15.909 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221745066020] [2025/04/04 10:50:15.913 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435329] [2025/04/04 10:50:15.917 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435332] [2025/04/04 10:50:15.921 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435335] [2025/04/04 10:50:15.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435338] [2025/04/04 10:50:15.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435341] [2025/04/04 10:50:15.934 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435344] [2025/04/04 10:50:15.937 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435347] [2025/04/04 10:50:15.942 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435351] [2025/04/04 10:50:15.946 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435354] [2025/04/04 10:50:15.950 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435357] [2025/04/04 10:50:15.954 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435360] [2025/04/04 10:50:15.958 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435363] [2025/04/04 10:50:15.962 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221758435366] [2025/04/04 10:50:15.966 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280387] [2025/04/04 10:50:15.970 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280390] [2025/04/04 10:50:15.974 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280393] [2025/04/04 10:50:15.978 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280396] [2025/04/04 10:50:15.983 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280399] [2025/04/04 10:50:15.987 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280402] [2025/04/04 10:50:15.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280406] [2025/04/04 10:50:15.995 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280409] [2025/04/04 10:50:16.000 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280412] [2025/04/04 10:50:16.004 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280415] [2025/04/04 10:50:16.008 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280418] [2025/04/04 10:50:16.013 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221771280421] [2025/04/04 10:50:16.017 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221784387588] [2025/04/04 10:50:16.021 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117221784387591] [2025/04/04 10:50:16.032 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117221784387595] [generation=1] [session=11] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.302073ms] [2025/04/04 10:50:16.032 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117221784387595] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=36.381Β΅s] [2025/04/04 10:50:16.032 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.527039ms] [total_duration=2.362549ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=290B] [startTS=457117221784387595] [2025/04/04 10:50:16.033 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117221784387595] [commitTS=457117221784387596] [2025/04/04 10:50:16.034 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117221784387595] [startKey=7480000000000000835f728000000000000000] [endKey=7480000000000000835f728000000000000063] [concurrency=8] [2025/04/04 10:50:16.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117221784387595] [startKey=7480000000000000835f728000000000000000] [endKey=7480000000000000835f728000000000000063] ["cost time"=4.47682ms] ["completed regions"=1] [2025/04/04 10:50:16.038 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117221784387595] [commitTS=457117221784387596] [session=11] [2025/04/04 10:50:16.048 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117221784387598] [generation=1] [session=11] [keys=90] [size=2.61kB] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=2.836499ms] [2025/04/04 10:50:16.048 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117221784387598] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=58.47Β΅s] [2025/04/04 10:50:16.048 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=90] [flush_wait_duration=3.005559ms] [total_duration=12.838266ms] ["memdb traversal cache hit"=180] ["memdb traversal cache miss"=290] [size=2.61kB] [startTS=457117221784387598] [2025/04/04 10:50:16.050 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117221784387598] [commitTS=457117221784387600] [2025/04/04 10:50:16.050 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117221784387598] [startKey=7480000000000000835f728000000000000001] [endKey=7480000000000000835f728000000000000062] [concurrency=8] [2025/04/04 10:50:16.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117221784387598] [startKey=7480000000000000835f728000000000000001] [endKey=7480000000000000835f728000000000000062] ["cost time"=3.377892ms] ["completed regions"=1] [2025/04/04 10:50:16.054 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117221784387598] [commitTS=457117221784387600] [session=11] [2025/04/04 10:50:16.057 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:16.057 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:16.057 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [] [2025/04/04 10:50:16.058 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.058 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:16.058 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:16.058 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=51.274Β΅s] [2025/04/04 10:50:16.058 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=34.991Β΅s] [2025/04/04 10:50:16.058 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=32.765Β΅s] [2025/04/04 10:50:16.058 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=34.69Β΅s] [2025/04/04 10:50:16.058 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.058 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.060 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:16.060 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:16.061 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=e4e11514-7078-459e-9000-413c4f39de65] ["take time"=3.465059ms] [2025/04/04 10:50:16.061 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.061 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:16.061 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1a2d5296-eba9-4381-84df-c8c0b595fa51] [2025/04/04 10:50:16.061 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [ttl-worker=task-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [originalCount=4] [newCount=0] [2025/04/04 10:50:16.061 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:16.061 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:16.061 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:16.061 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:16.061 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [ttl-worker=task-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [originalCount=4] [newCount=0] [2025/04/04 10:50:16.064 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:16.064 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:16.064 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:16.064 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:16.066 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.067 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:16.067 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1020] [2025/04/04 10:50:16.067 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [] [2025/04/04 10:50:16.067 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:16.067 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:16.067 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:16.068 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:16.068 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:16.068 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:16.068 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [] [2025/04/04 10:50:16.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:16.069 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.068 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:16.069 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.069 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.069 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:16.070 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:16.070 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [error="context canceled"] [2025/04/04 10:50:16.070 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=44e7dbf5-976a-448e-9b66-9cc9fea1d09d] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:16.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:16.070 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:16.070 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:16.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:16.070 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:16.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:16.070 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:16.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:16.071 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [error="context canceled"] [2025/04/04 10:50:16.071 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [2025/04/04 10:50:16.071 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [error="context canceled"] [2025/04/04 10:50:16.071 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=e4e11514-7078-459e-9000-413c4f39de65] [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/04 10:50:16.088 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:16.088 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:16.131 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:16.131 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:16.142 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.448499ms] [2025/04/04 10:50:16.919 +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/04 10:50:21.039 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117221784387595 commit_ts:457117221784387596 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:21.039 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117221784387595 commit_ts:457117221784387596 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:21.040 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117221784387595 commit_ts:457117221784387596 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:21.055 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117221784387598 commit_ts:457117221784387600 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:21.055 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117221784387598 commit_ts:457117221784387600 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:21.055 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117221784387598 commit_ts:457117221784387600 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:21.055 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:21.055 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:21.055 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:21.055 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:21.055 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:21.055 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:21.055 +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/04 10:50:21.055 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:21.055 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:21.055 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:21.055 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:21.055 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:21.057 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertIgnore (6.16s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdate [2025/04/04 10:50:21.067 +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/04 10:50:21.067 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:21.068 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:21.069 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:21.069 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:21.069 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:21.069 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:21.069 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:21.070 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:21.070 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:21.070 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:21.074 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:21.080 +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/04 10:50:21.081 +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/04 10:50:21.082 +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/04 10:50:21.092 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:21.107 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:21.161 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=242] ["lease id"=6f18960069ddac4e] [2025/04/04 10:50:21.163 +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/04 10:50:21.266 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=78] ["elapsed time"=99.001124ms] [2025/04/04 10:50:21.266 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:21.269 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:21.275 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5c7b1c5a-8821-49ae-be82-13103e169597] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:21.275 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:21.277 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:21.278 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:21.279 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 257557598208/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:21.279 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:21.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:21.279 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:21.279 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [2025/04/04 10:50:21.281 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddac53] [ownerID=5c7b1c5a-8821-49ae-be82-13103e169597] [op=none] [2025/04/04 10:50:21.281 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:21.281 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddac53] [currRev=453] [2025/04/04 10:50:21.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:21.282 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:21.282 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:21.282 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddace7] [ownerID=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [op=none] [2025/04/04 10:50:21.283 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [2025/04/04 10:50:21.283 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [ownerKey=/tidb/br-stream/owner/3eaa960069ddace7] [currRev=454] [2025/04/04 10:50:21.283 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddac53] [ownerID=5c7b1c5a-8821-49ae-be82-13103e169597] [op=none] [2025/04/04 10:50:21.283 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [op=none] [2025/04/04 10:50:21.283 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:21.296 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:21.298 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:21.298 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:21.307 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:21.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:21.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:21.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:21.322 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:21.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:21.323 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:21.323 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:21.323 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:21.323 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:21.323 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:21.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:21.324 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:21.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:21.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:21.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:21.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:21.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:21.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:21.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:21.325 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:21.325 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:21.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:21.325 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:21.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:21.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:21.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:21.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:21.328 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:21.328 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069ddac5b] [ownerID=5c7b1c5a-8821-49ae-be82-13103e169597] [op=none] [2025/04/04 10:50:21.328 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:21.328 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [ownerKey=/tidb/stats/owner/6f18960069ddac5b] [currRev=456] [2025/04/04 10:50:21.331 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/215b0cf0-29d1-42eb-aaa1-990ce8343210] [2025/04/04 10:50:21.331 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:21.331 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [ttl-worker=task-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [originalCount=0] [newCount=4] [2025/04/04 10:50:21.331 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [ttl-worker=task-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [originalCount=0] [newCount=4] [2025/04/04 10:50:21.332 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:21.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:21.332 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:21.332 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763821332468174 [2025/04/04 10:50:21.337 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:21.344 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.415005ms] [2025/04/04 10:50:21.344 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:21.344 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:21.355 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:21.358 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=78] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:50:21.359 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=78] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:21.373 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:21.373 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:21.379 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=12] [job="ID:133, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.986879ms] [gotSchemaVersion=79] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:21.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=79] [2025/04/04 10:50:21.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=79] ["take time"=9.799653ms] [job="ID:133, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.413 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=12] [job="ID:133, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.431 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=2.02019ms] [gotSchemaVersion=80] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:21.434 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=80] [2025/04/04 10:50:21.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=80] ["take time"=9.78979ms] [job="ID:133, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.446 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=12] [job="ID:133, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.452 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 131, Old Table Name: _t)"] [2025/04/04 10:50:21.466 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.190603ms] [gotSchemaVersion=81] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:21.469 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=81] [2025/04/04 10:50:21.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=81] ["take time"=8.559671ms] [job="ID:133, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.481 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=133] [tableIDs="[131]"] [comment="drop table: table ID"] [2025/04/04 10:50:21.488 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=133] [jobType="drop table"] [2025/04/04 10:50:21.489 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=12] [job="ID:133, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.509 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/04 10:50:21.520 +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:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:21.520 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:21.526 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=12] [job="ID:134, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.543 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.950834ms] [gotSchemaVersion=82] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:21.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=82] [2025/04/04 10:50:21.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=82] ["take time"=9.238818ms] [job="ID:134, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.559 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=12] [job="ID:134, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.578 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=2.199657ms] [gotSchemaVersion=83] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:21.582 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=83] [2025/04/04 10:50:21.585 +00:00] [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"=10.700571ms] [job="ID:134, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.594 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=12] [job="ID:134, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.601 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 129, Old Table Name: t)"] [2025/04/04 10:50:21.617 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.455632ms] [gotSchemaVersion=84] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:21.623 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=84] [2025/04/04 10:50:21.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=84] ["take time"=10.684828ms] [job="ID:134, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.635 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=134] [tableIDs="[129]"] [comment="drop table: table ID"] [2025/04/04 10:50:21.639 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="drop table"] [2025/04/04 10:50:21.640 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=12] [job="ID:134, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.659 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 10:50:21.659 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 12\n# Query_time: 0.300062781\n# Parse_time: 0.000050035\n# Compile_time: 0.000255331\n# Rewrite_time: 0.000003336\n# Optimize_time: 0.000041579\n# Wait_TS: 0.000393148\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/04 10:50:21.659 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=84] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763821660045496 [2025/04/04 10:50:21.664 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=84] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:50:21.679 +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-04 10:50:21.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:50:21.679 +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-04 10:50:21.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:21.686 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=13] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.693 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t)"] [2025/04/04 10:50:21.710 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.806525ms] [gotSchemaVersion=85] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:21.713 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=85] [2025/04/04 10:50:21.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=85] ["take time"=9.8854ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.729 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=13] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.740 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/04 10:50:21.741 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=85] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:50:21.755 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:50:21.755 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:21.761 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=13] [job="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.767 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 137, Table Name: _t)"] [2025/04/04 10:50:21.783 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.595674ms] [gotSchemaVersion=86] [phyTblIDs="[137]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:21.787 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=86] [2025/04/04 10:50:21.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=86] ["take time"=8.668157ms] [job="ID:138, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:21.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.801 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=13] [job="ID:138, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:21.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:21.814 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/04 10:50:21.814 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=86] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:50:21.817 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084933] [2025/04/04 10:50:21.822 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084936] [2025/04/04 10:50:21.826 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084939] [2025/04/04 10:50:21.830 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084943] [2025/04/04 10:50:21.834 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084946] [2025/04/04 10:50:21.839 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084950] [2025/04/04 10:50:21.843 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084954] [2025/04/04 10:50:21.847 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084957] [2025/04/04 10:50:21.851 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084960] [2025/04/04 10:50:21.855 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084963] [2025/04/04 10:50:21.859 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084966] [2025/04/04 10:50:21.864 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223305084969] [2025/04/04 10:50:21.868 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192131] [2025/04/04 10:50:21.872 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192134] [2025/04/04 10:50:21.876 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192137] [2025/04/04 10:50:21.881 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192140] [2025/04/04 10:50:21.885 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192143] [2025/04/04 10:50:21.890 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192147] [2025/04/04 10:50:21.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192150] [2025/04/04 10:50:21.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192153] [2025/04/04 10:50:21.902 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192156] [2025/04/04 10:50:21.906 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192159] [2025/04/04 10:50:21.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223318192162] [2025/04/04 10:50:21.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299330] [2025/04/04 10:50:21.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299333] [2025/04/04 10:50:21.922 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299336] [2025/04/04 10:50:21.926 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299339] [2025/04/04 10:50:21.930 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299342] [2025/04/04 10:50:21.934 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299345] [2025/04/04 10:50:21.938 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299350] [2025/04/04 10:50:21.943 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299353] [2025/04/04 10:50:21.947 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299356] [2025/04/04 10:50:21.952 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299359] [2025/04/04 10:50:21.956 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299362] [2025/04/04 10:50:21.960 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223331299365] [2025/04/04 10:50:21.965 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406530] [2025/04/04 10:50:21.969 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406533] [2025/04/04 10:50:21.973 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406536] [2025/04/04 10:50:21.977 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406539] [2025/04/04 10:50:21.981 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406542] [2025/04/04 10:50:21.986 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406546] [2025/04/04 10:50:21.990 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406549] [2025/04/04 10:50:21.994 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406552] [2025/04/04 10:50:21.998 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406555] [2025/04/04 10:50:22.002 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406558] [2025/04/04 10:50:22.007 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406561] [2025/04/04 10:50:22.011 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223344406564] [2025/04/04 10:50:22.015 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513730] [2025/04/04 10:50:22.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513733] [2025/04/04 10:50:22.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513736] [2025/04/04 10:50:22.027 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513740] [2025/04/04 10:50:22.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513744] [2025/04/04 10:50:22.035 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513749] [2025/04/04 10:50:22.039 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513753] [2025/04/04 10:50:22.043 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513756] [2025/04/04 10:50:22.047 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513759] [2025/04/04 10:50:22.051 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513762] [2025/04/04 10:50:22.056 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513765] [2025/04/04 10:50:22.060 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223357513768] [2025/04/04 10:50:22.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358785] [2025/04/04 10:50:22.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358788] [2025/04/04 10:50:22.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358791] [2025/04/04 10:50:22.076 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358794] [2025/04/04 10:50:22.081 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358797] [2025/04/04 10:50:22.085 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358800] [2025/04/04 10:50:22.089 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358804] [2025/04/04 10:50:22.093 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358807] [2025/04/04 10:50:22.097 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358810] [2025/04/04 10:50:22.101 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358813] [2025/04/04 10:50:22.105 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358816] [2025/04/04 10:50:22.109 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358819] [2025/04/04 10:50:22.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223370358822] [2025/04/04 10:50:22.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728131] [2025/04/04 10:50:22.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728134] [2025/04/04 10:50:22.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728137] [2025/04/04 10:50:22.129 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728140] [2025/04/04 10:50:22.133 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728143] [2025/04/04 10:50:22.137 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728147] [2025/04/04 10:50:22.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728151] [2025/04/04 10:50:22.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728154] [2025/04/04 10:50:22.150 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728157] [2025/04/04 10:50:22.154 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728160] [2025/04/04 10:50:22.159 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728163] [2025/04/04 10:50:22.163 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223383728166] [2025/04/04 10:50:22.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835331] [2025/04/04 10:50:22.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835334] [2025/04/04 10:50:22.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835337] [2025/04/04 10:50:22.181 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835340] [2025/04/04 10:50:22.185 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835343] [2025/04/04 10:50:22.190 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835347] [2025/04/04 10:50:22.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835350] [2025/04/04 10:50:22.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835353] [2025/04/04 10:50:22.202 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835356] [2025/04/04 10:50:22.206 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835359] [2025/04/04 10:50:22.210 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223396835362] [2025/04/04 10:50:22.214 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223409942530] [2025/04/04 10:50:22.219 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223409942533] [2025/04/04 10:50:22.222 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223409942536] [2025/04/04 10:50:22.226 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223409942539] [2025/04/04 10:50:22.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223409942542] [2025/04/04 10:50:22.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117223409942547] [2025/04/04 10:50:22.261 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:22.261 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [] [2025/04/04 10:50:22.261 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.261 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:22.261 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:22.261 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:22.261 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=70.575Β΅s] [2025/04/04 10:50:22.261 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=50.392Β΅s] [2025/04/04 10:50:22.261 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=38.321Β΅s] [2025/04/04 10:50:22.262 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=35.972Β΅s] [2025/04/04 10:50:22.262 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.262 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.263 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:22.263 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:22.264 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5c7b1c5a-8821-49ae-be82-13103e169597] ["take time"=3.618771ms] [2025/04/04 10:50:22.264 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.264 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:22.265 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/215b0cf0-29d1-42eb-aaa1-990ce8343210] [2025/04/04 10:50:22.265 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [ttl-worker=task-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [originalCount=4] [newCount=0] [2025/04/04 10:50:22.265 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:22.265 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:22.265 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:22.265 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:22.265 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [ttl-worker=task-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [originalCount=4] [newCount=0] [2025/04/04 10:50:22.267 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:22.267 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:22.267 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:22.268 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:22.270 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.270 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=242] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:22.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:22.273 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:22.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:22.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:22.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:22.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:22.272 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:22.272 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:22.273 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:22.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:22.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:22.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:22.274 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:22.274 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:22.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:22.274 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=ca3c5fbd-06dd-48dc-ba81-ac8f473f6305] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:22.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:22.274 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:22.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:22.274 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:22.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:22.274 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:22.274 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:22.276 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [error="context canceled"] [2025/04/04 10:50:22.276 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [2025/04/04 10:50:22.276 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [error="context canceled"] [2025/04/04 10:50:22.276 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=5c7b1c5a-8821-49ae-be82-13103e169597] [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/04 10:50:22.294 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:22.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:22.336 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:22.336 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:22.347 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.937502ms] [2025/04/04 10:50:22.349 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:22.349 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:22.349 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:22.349 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:22.349 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:22.349 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:22.349 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:22.349 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:22.349 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:22.349 +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/04 10:50:22.349 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:22.349 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:22.350 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.29s) === NAME === RUN TestPipelinedDMLInsertRPC [2025/04/04 10:50:22.356 +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/04 10:50:22.356 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:22.357 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:22.357 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:22.358 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:22.358 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:22.358 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:22.358 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:22.358 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:22.358 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:22.359 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:22.362 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:22.367 +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/04 10:50:22.368 +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/04 10:50:22.369 +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/04 10:50:22.378 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:22.388 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:22.420 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1835] ["lease id"=6f18960069ddac77] [2025/04/04 10:50:22.422 +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/04 10:50:22.510 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=86] ["elapsed time"=84.743541ms] [2025/04/04 10:50:22.510 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:22.513 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:22.519 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:22.519 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:22.521 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:22.522 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:22.522 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 258342461440/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:22.522 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:22.522 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:22.522 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:22.522 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:22.522 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:22.522 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:22.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:22.523 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:22.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:22.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:22.523 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:22.523 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:22.523 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [2025/04/04 10:50:22.525 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddad08] [ownerID=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [op=none] [2025/04/04 10:50:22.525 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:22.525 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddad08] [currRev=493] [2025/04/04 10:50:22.525 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:22.525 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:22.526 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddad0a] [ownerID=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [op=none] [2025/04/04 10:50:22.526 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [2025/04/04 10:50:22.526 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [ownerKey=/tidb/br-stream/owner/3eaa960069ddad0a] [currRev=493] [2025/04/04 10:50:22.526 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:22.527 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddad08] [ownerID=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [op=none] [2025/04/04 10:50:22.527 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [op=none] [2025/04/04 10:50:22.527 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:22.539 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:22.540 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:22.540 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:22.549 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:22.556 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:22.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:22.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:22.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:22.560 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:22.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:22.560 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:22.560 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:22.560 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:22.560 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:22.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:22.561 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:22.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:22.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:22.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:22.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:22.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:22.563 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:22.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:22.563 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:22.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:22.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:22.563 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:22.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:22.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:22.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:22.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:22.565 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:22.565 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069ddac81] [ownerID=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [op=none] [2025/04/04 10:50:22.566 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:22.566 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [ownerKey=/tidb/stats/owner/6f18960069ddac81] [currRev=495] [2025/04/04 10:50:22.568 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:22.568 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/cc6e285e-d566-4ac7-b9a8-faa8d37edef3] [2025/04/04 10:50:22.568 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [ttl-worker=task-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [originalCount=0] [newCount=4] [2025/04/04 10:50:22.568 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [ttl-worker=task-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [originalCount=0] [newCount=4] [2025/04/04 10:50:22.568 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:22.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:22.569 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:22.569 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763822569380749 [2025/04/04 10:50:22.573 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:22.580 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.389095ms] [2025/04/04 10:50:22.580 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:22.580 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:22.590 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:22.593 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=86] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:50:22.594 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=86] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:22.607 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:22.607 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:22.613 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=14] [job="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.630 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.91426ms] [gotSchemaVersion=87] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:22.633 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=87] [2025/04/04 10:50:22.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.439601ms] [job="ID:139, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.646 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=14] [job="ID:139, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.876373ms] [gotSchemaVersion=88] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:22.666 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=88] [2025/04/04 10:50:22.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=88] ["take time"=9.248341ms] [job="ID:139, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.676 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=14] [job="ID:139, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.682 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 137, Old Table Name: _t)"] [2025/04/04 10:50:22.695 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=1.089595ms] [gotSchemaVersion=89] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:22.699 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=89] [2025/04/04 10:50:22.700 +00:00] [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.778215ms] [job="ID:139, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.710 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=139] [tableIDs="[137]"] [comment="drop table: table ID"] [2025/04/04 10:50:22.717 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=139] [jobType="drop table"] [2025/04/04 10:50:22.718 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=139] [conn=14] [job="ID:139, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.738 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/04 10:50:22.749 +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:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:22.749 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:22.754 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=14] [job="ID:140, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.770 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.998768ms] [gotSchemaVersion=90] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:22.773 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=90] [2025/04/04 10:50:22.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=90] ["take time"=9.33363ms] [job="ID:140, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.785 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=14] [job="ID:140, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.801 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.866368ms] [gotSchemaVersion=91] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:22.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=91] [2025/04/04 10:50:22.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=91] ["take time"=8.758412ms] [job="ID:140, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.814 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=14] [job="ID:140, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.823 +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: t)"] [2025/04/04 10:50:22.836 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.153038ms] [gotSchemaVersion=92] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:22.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=92] [2025/04/04 10:50:22.842 +00:00] [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.61865ms] [job="ID:140, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.851 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=140] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/04 10:50:22.856 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop table"] [2025/04/04 10:50:22.857 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=14] [job="ID:140, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.876 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 10:50:22.877 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=92] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763822877542185 [2025/04/04 10:50:22.881 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=92] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:50:22.895 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:22.895 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:50:22.901 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=15] [job="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.906 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 141, Table Name: t1)"] [2025/04/04 10:50:22.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.669885ms] [gotSchemaVersion=93] [phyTblIDs="[141]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:22.924 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=93] [2025/04/04 10:50:22.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=93] ["take time"=9.062521ms] [job="ID:142, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.938 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=15] [job="ID:142, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.949 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/04 10:50:22.949 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=93] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 10:50:22.968 +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:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:22.968 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 10:50:22.974 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=15] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:22.978 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 143, Table Name: _t1)"] [2025/04/04 10:50:22.995 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.613576ms] [gotSchemaVersion=94] [phyTblIDs="[143]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:22.999 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=94] [2025/04/04 10:50:23.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=94] ["take time"=8.861716ms] [job="ID:144, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:22.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.012 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=15] [job="ID:144, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:22.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.024 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/04 10:50:23.024 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=94] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/04 10:50:23.050 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:23.050 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:23.056 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=15] [job="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.064 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 145, Table Name: _t1, Old Table ID: 143, Old Table Name: _t1)"] [2025/04/04 10:50:23.079 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.51458ms] [gotSchemaVersion=95] [phyTblIDs="[143,145]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:23.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=95] [2025/04/04 10:50:23.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=95] ["take time"=8.672457ms] [job="ID:146, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.096 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=146] [tableIDs="[143]"] [comment="truncate table: table ID"] [2025/04/04 10:50:23.100 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="truncate table"] [2025/04/04 10:50:23.101 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=15] [job="ID:146, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.119 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 10:50:23.119 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=95] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:23.127 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223645872131] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.174932ms] [2025/04/04 10:50:23.127 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.299299ms] [total_duration=6.072219ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117223645872131] [2025/04/04 10:50:23.128 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223645872131] [commitTS=457117223645872134] [2025/04/04 10:50:23.128 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223645872131] [startKey=7480000000000000915f728000000000000001] [endKey=7480000000000000915f728000000000000005] [concurrency=8] [2025/04/04 10:50:23.134 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223645872131] [startKey=7480000000000000915f728000000000000001] [endKey=7480000000000000915f728000000000000005] ["cost time"=5.172395ms] ["completed regions"=1] [2025/04/04 10:50:23.134 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223645872131] [commitTS=457117223645872134] [session=15] [2025/04/04 10:50:23.150 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:23.150 +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:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:23.157 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=15] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.166 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 147, Table Name: _t1, Old Table ID: 145, Old Table Name: _t1)"] [2025/04/04 10:50:23.183 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.790961ms] [gotSchemaVersion=96] [phyTblIDs="[145,147]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:23.187 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=96] [2025/04/04 10:50:23.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=96] ["take time"=10.686476ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.201 +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/04 10:50:23.206 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=148] [jobType="truncate table"] [2025/04/04 10:50:23.207 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=15] [job="ID:148, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.226 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/04 10:50:23.226 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=96] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:23.236 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223672086535] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.176005ms] [2025/04/04 10:50:23.236 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.289455ms] [total_duration=7.908269ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117223672086535] [2025/04/04 10:50:23.237 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223672086535] [commitTS=457117223672086539] [2025/04/04 10:50:23.238 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223672086535] [startKey=7480000000000000935f728000000000000001] [endKey=7480000000000000935f728000000000000005] [concurrency=8] [2025/04/04 10:50:23.240 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223672086535] [startKey=7480000000000000935f728000000000000001] [endKey=7480000000000000935f728000000000000005] ["cost time"=2.316203ms] ["completed regions"=1] [2025/04/04 10:50:23.240 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223672086535] [commitTS=457117223672086539] [session=15] [2025/04/04 10:50:23.247 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223672086540] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.108043ms] [2025/04/04 10:50:23.247 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.210887ms] [total_duration=3.318222ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117223672086540] [2025/04/04 10:50:23.248 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223672086540] [commitTS=457117223672086541] [2025/04/04 10:50:23.248 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223672086540] [startKey=7480000000000000935f728000000000000006] [endKey=7480000000000000935f72800000000000000a] [concurrency=8] [2025/04/04 10:50:23.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223672086540] [startKey=7480000000000000935f728000000000000006] [endKey=7480000000000000935f72800000000000000a] ["cost time"=2.570925ms] ["completed regions"=1] [2025/04/04 10:50:23.251 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223672086540] [commitTS=457117223672086541] [session=15] [2025/04/04 10:50:23.255 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223672086542] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.055532ms] [2025/04/04 10:50:23.255 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.149853ms] [total_duration=3.06492ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117223672086542] [2025/04/04 10:50:23.257 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223672086542] [commitTS=457117223672086543] [2025/04/04 10:50:23.257 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223672086542] [startKey=7480000000000000935f72800000000000000b] [endKey=7480000000000000935f72800000000000000f] [concurrency=8] [2025/04/04 10:50:23.259 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223672086542] [startKey=7480000000000000935f72800000000000000b] [endKey=7480000000000000935f72800000000000000f] ["cost time"=2.332498ms] ["completed regions"=1] [2025/04/04 10:50:23.259 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223672086542] [commitTS=457117223672086543] [session=15] [2025/04/04 10:50:23.265 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223672086544] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.02373ms] [2025/04/04 10:50:23.265 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.131989ms] [total_duration=3.135166ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117223672086544] [2025/04/04 10:50:23.266 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223672086544] [commitTS=457117223684931585] [2025/04/04 10:50:23.266 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223672086544] [startKey=7480000000000000935f728000000000000010] [endKey=7480000000000000935f728000000000000014] [concurrency=8] [2025/04/04 10:50:23.268 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223672086544] [startKey=7480000000000000935f728000000000000010] [endKey=7480000000000000935f728000000000000014] ["cost time"=1.991795ms] ["completed regions"=1] [2025/04/04 10:50:23.268 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223672086544] [commitTS=457117223684931585] [session=15] [2025/04/04 10:50:23.282 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:23.282 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:23.289 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=15] [job="ID:149, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.305 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=2.014657ms] [gotSchemaVersion=97] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=97] [2025/04/04 10:50:23.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=97] ["take time"=10.005292ms] [job="ID:149, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.322 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=15] [job="ID:149, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.341 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=2.006892ms] [gotSchemaVersion=98] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.345 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=98] [2025/04/04 10:50:23.347 +00:00] [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"=10.496385ms] [job="ID:149, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.357 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=15] [job="ID:149, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.364 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 141, Old Table Name: t1)"] [2025/04/04 10:50:23.378 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.110692ms] [gotSchemaVersion=99] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.382 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=99] [2025/04/04 10:50:23.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=99] ["take time"=8.813445ms] [job="ID:149, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.395 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=149] [tableIDs="[141]"] [comment="drop table: table ID"] [2025/04/04 10:50:23.400 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=149] [jobType="drop table"] [2025/04/04 10:50:23.401 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=15] [job="ID:149, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.422 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/04 10:50:23.433 +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:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:23.433 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:23.440 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=15] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=1.976629ms] [gotSchemaVersion=100] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.462 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=100] [2025/04/04 10:50:23.464 +00:00] [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"=10.369595ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.475 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=15] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.493 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.004507ms] [gotSchemaVersion=101] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=101] [2025/04/04 10:50:23.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=101] ["take time"=9.65185ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.508 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=15] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.515 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 147, Old Table Name: _t1)"] [2025/04/04 10:50:23.533 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:50:23.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:23.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:23.533 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:23.535 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.142282ms] [gotSchemaVersion=102] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=102] [2025/04/04 10:50:23.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=102] ["take time"=15.051094ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.551 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[147]"] [comment="drop table: table ID"] [2025/04/04 10:50:23.556 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/04 10:50:23.557 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=15] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.568 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:50:23.568 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:50:23.569 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/cc6e285e-d566-4ac7-b9a8-faa8d37edef3] [watcherID=532900dd-6499-4156-bdda-4cff393c5770] [2025/04/04 10:50:23.569 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:50:23.575 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:50:23.575 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:50:23.575 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:50:23.575 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:50:23.578 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 10:50:23.579 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 15\n# Query_time: 0.309987905\n# Parse_time: 0.000114318\n# Compile_time: 0.000302815\n# Rewrite_time: 0.000005192\n# Optimize_time: 0.000102895\n# Wait_TS: 0.000440556\n# DB: test\n# Is_internal: false\n# Digest: fcfe22197a68b81681fc6a88730a3cf2902a4fdaab6ed56438e49c7996f1c0f9\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# Warnings: [{\"Level\":\"Warning\",\"Message\":\"Pipelined DML can only be used for auto-commit INSERT, REPLACE, UPDATE or DELETE. Fallback to standard mode\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table if exists t1, _t1;"] [2025/04/04 10:50:23.579 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=102] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:50:23.595 +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-04 10:50:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:23.595 +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-04 10:50:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 10:50:23.601 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=15] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.606 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: _t1)"] [2025/04/04 10:50:23.621 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.687872ms] [gotSchemaVersion=103] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:23.625 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=103] [2025/04/04 10:50:23.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=103] ["take time"=9.304295ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.640 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=15] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.652 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 10:50:23.652 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=103] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/04 10:50:23.677 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:23.677 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:23.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=154] [conn=15] [job="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.691 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 153, Table Name: _t1, Old Table ID: 151, Old Table Name: _t1)"] [2025/04/04 10:50:23.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.653224ms] [gotSchemaVersion=104] [phyTblIDs="[151,153]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:23.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=154] [version=104] [2025/04/04 10:50:23.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=104] ["take time"=10.06397ms] [job="ID:154, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.725 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=154] [tableIDs="[151]"] [comment="truncate table: table ID"] [2025/04/04 10:50:23.730 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=154] [jobType="truncate table"] [2025/04/04 10:50:23.731 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=154] [conn=15] [job="ID:154, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.751 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=154] [2025/04/04 10:50:23.751 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=104] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:23.758 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223802896398] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.108626ms] [2025/04/04 10:50:23.758 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.204145ms] [total_duration=5.311554ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117223802896398] [2025/04/04 10:50:23.759 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223802896398] [commitTS=457117223802896401] [2025/04/04 10:50:23.760 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223802896398] [startKey=7480000000000000995f728000000000000001] [endKey=7480000000000000995f728000000000000005] [concurrency=8] [2025/04/04 10:50:23.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223802896398] [startKey=7480000000000000995f728000000000000001] [endKey=7480000000000000995f728000000000000005] ["cost time"=2.378405ms] ["completed regions"=1] [2025/04/04 10:50:23.762 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223802896398] [commitTS=457117223802896401] [session=15] [2025/04/04 10:50:23.775 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:23.775 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:23.782 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=15] [job="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.790 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 155, Table Name: _t1, Old Table ID: 153, Old Table Name: _t1)"] [2025/04/04 10:50:23.805 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.58771ms] [gotSchemaVersion=105] [phyTblIDs="[153,155]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:23.808 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=105] [2025/04/04 10:50:23.810 +00:00] [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.756008ms] [job="ID:156, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.822 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=156] [tableIDs="[153]"] [comment="truncate table: table ID"] [2025/04/04 10:50:23.826 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=156] [jobType="truncate table"] [2025/04/04 10:50:23.827 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=156] [conn=15] [job="ID:156, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=156] [2025/04/04 10:50:23.846 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=105] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:23.853 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223829372943] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.07987ms] [2025/04/04 10:50:23.853 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.186291ms] [total_duration=4.94912ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117223829372943] [2025/04/04 10:50:23.854 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223829372943] [commitTS=457117223829372946] [2025/04/04 10:50:23.854 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223829372943] [startKey=74800000000000009b5f728000000000000001] [endKey=74800000000000009b5f728000000000000005] [concurrency=8] [2025/04/04 10:50:23.856 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223829372943] [startKey=74800000000000009b5f728000000000000001] [endKey=74800000000000009b5f728000000000000005] ["cost time"=1.998675ms] ["completed regions"=1] [2025/04/04 10:50:23.856 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223829372943] [commitTS=457117223829372946] [session=15] [2025/04/04 10:50:23.860 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223829372947] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=948.073Β΅s] [2025/04/04 10:50:23.860 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.045817ms] [total_duration=1.707822ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117223829372947] [2025/04/04 10:50:23.862 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223829372947] [commitTS=457117223829372948] [2025/04/04 10:50:23.862 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223829372947] [startKey=74800000000000009b5f728000000000000006] [endKey=74800000000000009b5f72800000000000000a] [concurrency=8] [2025/04/04 10:50:23.864 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223829372947] [startKey=74800000000000009b5f728000000000000006] [endKey=74800000000000009b5f72800000000000000a] ["cost time"=2.064219ms] ["completed regions"=1] [2025/04/04 10:50:23.864 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223829372947] [commitTS=457117223829372948] [session=15] [2025/04/04 10:50:23.866 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223842480129] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=944.558Β΅s] [2025/04/04 10:50:23.866 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.046401ms] [total_duration=1.724389ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117223842480129] [2025/04/04 10:50:23.867 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223842480129] [commitTS=457117223842480130] [2025/04/04 10:50:23.868 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223842480129] [startKey=74800000000000009b5f72800000000000000b] [endKey=74800000000000009b5f72800000000000000f] [concurrency=8] [2025/04/04 10:50:23.870 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223842480129] [startKey=74800000000000009b5f72800000000000000b] [endKey=74800000000000009b5f72800000000000000f] ["cost time"=2.123359ms] ["completed regions"=1] [2025/04/04 10:50:23.870 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223842480129] [commitTS=457117223842480130] [session=15] [2025/04/04 10:50:23.872 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223842480131] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.040215ms] [2025/04/04 10:50:23.872 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.133851ms] [total_duration=1.78019ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117223842480131] [2025/04/04 10:50:23.873 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223842480131] [commitTS=457117223842480132] [2025/04/04 10:50:23.873 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223842480131] [startKey=74800000000000009b5f728000000000000010] [endKey=74800000000000009b5f728000000000000014] [concurrency=8] [2025/04/04 10:50:23.876 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223842480131] [startKey=74800000000000009b5f728000000000000010] [endKey=74800000000000009b5f728000000000000014] ["cost time"=1.969171ms] ["completed regions"=1] [2025/04/04 10:50:23.876 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223842480131] [commitTS=457117223842480132] [session=15] [2025/04/04 10:50:23.887 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:23.887 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:23.893 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=15] [job="ID:157, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.909 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.920735ms] [gotSchemaVersion=106] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.913 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=106] [2025/04/04 10:50:23.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=106] ["take time"=9.369255ms] [job="ID:157, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.925 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=15] [job="ID:157, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.942 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.969412ms] [gotSchemaVersion=107] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.945 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=107] [2025/04/04 10:50:23.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=107] ["take time"=9.449584ms] [job="ID:157, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.958 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=15] [job="ID:157, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.965 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 155, Old Table Name: _t1)"] [2025/04/04 10:50:23.981 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.317648ms] [gotSchemaVersion=108] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:23.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=108] [2025/04/04 10:50:23.987 +00:00] [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.840708ms] [job="ID:157, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:23.998 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=157] [tableIDs="[155]"] [comment="drop table: table ID"] [2025/04/04 10:50:24.002 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=157] [jobType="drop table"] [2025/04/04 10:50:24.003 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=15] [job="ID:157, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.023 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/04 10:50:24.024 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=108] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:50:24.039 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.039 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:50:24.045 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=15] [job="ID:159, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.050 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 158, Table Name: t1)"] [2025/04/04 10:50:24.066 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.724402ms] [gotSchemaVersion=109] [phyTblIDs="[158]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:24.070 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=109] [2025/04/04 10:50: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=109] ["take time"=10.238958ms] [job="ID:159, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.086 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=15] [job="ID:159, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.098 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/04 10:50:24.098 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=109] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 10:50:24.104 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223894646797] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.019901ms] [2025/04/04 10:50:24.105 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.137829ms] [total_duration=5.111841ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117223894646797] [2025/04/04 10:50:24.106 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223894646797] [commitTS=457117223894646801] [2025/04/04 10:50:24.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223894646797] [startKey=74800000000000009e5f728000000000000001] [endKey=74800000000000009e5f728000000000000005] [concurrency=8] [2025/04/04 10:50:24.109 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223894646797] [startKey=74800000000000009e5f728000000000000001] [endKey=74800000000000009e5f728000000000000005] ["cost time"=2.498774ms] ["completed regions"=1] [2025/04/04 10:50:24.109 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223894646797] [commitTS=457117223894646801] [session=15] [2025/04/04 10:50:24.120 +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-04 10:50:24.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 10:50:24.120 +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-04 10:50:24.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.126 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=15] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.131 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 160, Table Name: _t1)"] [2025/04/04 10:50:24.146 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.511585ms] [gotSchemaVersion=110] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:24.150 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=110] [2025/04/04 10:50:24.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=110] ["take time"=9.139604ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.163 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=15] [job="ID:161, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.175 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/04 10:50:24.175 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=110] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/04 10:50:24.196 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.196 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:24.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=15] [job="ID:163, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.210 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 162, Table Name: _t1, Old Table ID: 160, Old Table Name: _t1)"] [2025/04/04 10:50:24.226 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.639027ms] [gotSchemaVersion=111] [phyTblIDs="[160,162]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:24.230 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=111] [2025/04/04 10:50:24.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=111] ["take time"=9.497128ms] [job="ID:163, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.243 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[160]"] [comment="truncate table: table ID"] [2025/04/04 10:50:24.247 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="truncate table"] [2025/04/04 10:50:24.248 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=15] [job="ID:163, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.267 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/04 10:50:24.267 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=111] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:24.272 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223947075586] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.194686ms] [2025/04/04 10:50:24.272 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.34491ms] [total_duration=3.048466ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457117223947075586] [2025/04/04 10:50:24.273 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223947075586] [commitTS=457117223947075587] [2025/04/04 10:50:24.273 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223947075586] [startKey=7480000000000000a25f728000000000000001] [endKey=7480000000000000a25f728000000000000005] [concurrency=8] [2025/04/04 10:50:24.276 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223947075586] [startKey=7480000000000000a25f728000000000000001] [endKey=7480000000000000a25f728000000000000005] ["cost time"=2.24063ms] ["completed regions"=1] [2025/04/04 10:50:24.276 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223947075586] [commitTS=457117223947075587] [session=15] [2025/04/04 10:50:24.287 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.287 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:165, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:24.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=15] [job="ID:165, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.301 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 164, Table Name: _t1, Old Table ID: 162, Old Table Name: _t1)"] [2025/04/04 10:50:24.316 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=1.635336ms] [gotSchemaVersion=112] [phyTblIDs="[162,164]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:24.320 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=112] [2025/04/04 10:50:24.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=112] ["take time"=9.253443ms] [job="ID:165, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.333 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=165] [tableIDs="[162]"] [comment="truncate table: table ID"] [2025/04/04 10:50:24.338 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="truncate table"] [2025/04/04 10:50:24.339 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=165] [conn=15] [job="ID:165, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.357 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/04 10:50:24.357 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=112] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:24.362 +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/04 10:50:24.363 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223960182801] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.039812ms] [2025/04/04 10:50:24.363 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.184045ms] [total_duration=4.152442ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457117223960182801] [2025/04/04 10:50:24.364 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223960182801] [commitTS=457117223973552130] [2025/04/04 10:50:24.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223960182801] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] [concurrency=8] [2025/04/04 10:50:24.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223960182801] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] ["cost time"=1.997566ms] ["completed regions"=1] [2025/04/04 10:50:24.367 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223960182801] [commitTS=457117223973552130] [session=15] [2025/04/04 10:50:24.384 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223973552134] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.247344ms] [2025/04/04 10:50:24.384 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.408286ms] [total_duration=5.408417ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457117223973552134] [2025/04/04 10:50:24.385 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223973552134] [commitTS=457117223973552135] [2025/04/04 10:50:24.385 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223973552134] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f72800000000000000a] [concurrency=8] [2025/04/04 10:50:24.388 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223973552134] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f72800000000000000a] ["cost time"=2.077625ms] ["completed regions"=1] [2025/04/04 10:50:24.388 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223973552134] [commitTS=457117223973552135] [session=15] [2025/04/04 10:50:24.395 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117223973552136] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.083663ms] [2025/04/04 10:50:24.395 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.177324ms] [total_duration=4.030549ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457117223973552136] [2025/04/04 10:50:24.397 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117223973552136] [commitTS=457117223973552137] [2025/04/04 10:50:24.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117223973552136] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] [concurrency=8] [2025/04/04 10:50:24.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117223973552136] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] ["cost time"=2.034374ms] ["completed regions"=1] [2025/04/04 10:50:24.399 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117223973552136] [commitTS=457117223973552137] [session=15] [2025/04/04 10:50:24.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:24.413 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.419 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=15] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.435 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.095613ms] [gotSchemaVersion=113] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:24.439 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=113] [2025/04/04 10:50:24.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=113] ["take time"=9.716367ms] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.452 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=15] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.468 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.989829ms] [gotSchemaVersion=114] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:24.472 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=114] [2025/04/04 10:50:24.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=114] ["take time"=9.753853ms] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.483 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=15] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.490 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 158, Old Table Name: t1)"] [2025/04/04 10:50:24.503 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.138505ms] [gotSchemaVersion=115] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:24.507 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=115] [2025/04/04 10:50:24.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=115] ["take time"=8.432341ms] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.518 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=166] [tableIDs="[158]"] [comment="drop table: table ID"] [2025/04/04 10:50:24.522 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:50:24.522 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=166] [jobType="drop table"] [2025/04/04 10:50:24.523 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=166] [conn=15] [job="ID:166, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=166] [2025/04/04 10:50:24.554 +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:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.554 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:24.559 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=15] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.577 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.247633ms] [gotSchemaVersion=116] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:24.582 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=116] [2025/04/04 10:50:24.584 +00:00] [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"=11.028557ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.595 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=15] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.611 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.838198ms] [gotSchemaVersion=117] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:24.615 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=117] [2025/04/04 10:50:24.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=117] ["take time"=9.528933ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.626 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=15] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.633 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 164, Old Table Name: _t1)"] [2025/04/04 10:50:24.647 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.138658ms] [gotSchemaVersion=118] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:24.651 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=118] [2025/04/04 10:50:24.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=118] ["take time"=8.972678ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.664 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=167] [tableIDs="[164]"] [comment="drop table: table ID"] [2025/04/04 10:50:24.668 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2025/04/04 10:50:24.669 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=15] [job="ID:167, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.689 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/04 10:50:24.689 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=118] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:50:24.703 +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:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.703 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 10:50:24.709 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=15] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.715 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 168, Table Name: _t1)"] [2025/04/04 10:50:24.731 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.789298ms] [gotSchemaVersion=119] [phyTblIDs="[168]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:24.735 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=119] [2025/04/04 10:50:24.737 +00:00] [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.166272ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.749 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=15] [job="ID:169, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.762 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/04 10:50:24.762 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=119] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/04 10:50:24.782 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:171, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.782 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:171, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:24.788 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=171] [conn=15] [job="ID:171, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.796 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 170, Table Name: _t1, Old Table ID: 168, Old Table Name: _t1)"] [2025/04/04 10:50:24.818 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.881823ms] [gotSchemaVersion=120] [phyTblIDs="[168,170]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:24.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=171] [version=120] [2025/04/04 10:50:24.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=120] ["take time"=10.622896ms] [job="ID:171, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.837 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=171] [tableIDs="[168]"] [comment="truncate table: table ID"] [2025/04/04 10:50:24.842 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=171] [jobType="truncate table"] [2025/04/04 10:50:24.843 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=171] [conn=15] [job="ID:171, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.862 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=171] [2025/04/04 10:50:24.863 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=120] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:24.866 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224104624129] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.139416ms] [2025/04/04 10:50:24.866 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.249535ms] [total_duration=1.889711ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457117224104624129] [2025/04/04 10:50:24.867 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224104624129] [commitTS=457117224104624130] [2025/04/04 10:50:24.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224104624129] [startKey=7480000000000000aa5f728000000000000001] [endKey=7480000000000000aa5f728000000000000005] [concurrency=8] [2025/04/04 10:50:24.870 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224104624129] [startKey=7480000000000000aa5f728000000000000001] [endKey=7480000000000000aa5f728000000000000005] ["cost time"=2.345913ms] ["completed regions"=1] [2025/04/04 10:50:24.870 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224104624129] [commitTS=457117224104624130] [session=15] [2025/04/04 10:50:24.882 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:173, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:24.882 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:173, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.888 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=15] [job="ID:173, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.896 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 172, Table Name: _t1, Old Table ID: 170, Old Table Name: _t1)"] [2025/04/04 10:50:24.913 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.665361ms] [gotSchemaVersion=121] [phyTblIDs="[170,172]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:24.917 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=121] [2025/04/04 10:50:24.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=121] ["take time"=9.311919ms] [job="ID:173, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.931 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=173] [tableIDs="[170]"] [comment="truncate table: table ID"] [2025/04/04 10:50:24.936 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=173] [jobType="truncate table"] [2025/04/04 10:50:24.937 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=173] [conn=15] [job="ID:173, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:24.956 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/04 10:50:24.956 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=121] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:24.960 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224117469200] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.265071ms] [2025/04/04 10:50:24.960 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.386436ms] [total_duration=3.260678ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457117224117469200] [2025/04/04 10:50:24.962 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224117469200] [commitTS=457117224117469201] [2025/04/04 10:50:24.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224117469200] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] [concurrency=8] [2025/04/04 10:50:24.964 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224117469200] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] ["cost time"=2.127824ms] ["completed regions"=1] [2025/04/04 10:50:24.964 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224117469200] [commitTS=457117224117469201] [session=15] [2025/04/04 10:50:24.974 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224130838531] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.332589ms] [2025/04/04 10:50:24.974 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.4585ms] [total_duration=3.911209ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457117224130838531] [2025/04/04 10:50:24.976 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224130838531] [commitTS=457117224130838532] [2025/04/04 10:50:24.976 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224130838531] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f72800000000000000a] [concurrency=8] [2025/04/04 10:50:24.978 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224130838531] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f72800000000000000a] ["cost time"=2.330946ms] ["completed regions"=1] [2025/04/04 10:50:24.979 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224130838531] [commitTS=457117224130838532] [session=15] [2025/04/04 10:50:24.982 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224130838534] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=974.453Β΅s] [2025/04/04 10:50:24.982 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.073821ms] [total_duration=3.30177ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457117224130838534] [2025/04/04 10:50:24.984 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224130838534] [commitTS=457117224130838535] [2025/04/04 10:50:24.984 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224130838534] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] [concurrency=8] [2025/04/04 10:50:24.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224130838534] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] ["cost time"=1.890067ms] ["completed regions"=1] [2025/04/04 10:50:24.986 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224130838534] [commitTS=457117224130838535] [session=15] [2025/04/04 10:50:24.998 +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-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:24.998 +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-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:25.004 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=15] [job="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.021 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=2.001404ms] [gotSchemaVersion=122] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=122] [2025/04/04 10:50: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=122] ["take time"=10.141102ms] [job="ID:174, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.038 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=15] [job="ID:174, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.055 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=2.290212ms] [gotSchemaVersion=123] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=123] [2025/04/04 10:50:25.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=123] ["take time"=10.388769ms] [job="ID:174, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.070 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=15] [job="ID:174, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.077 +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: _t1)"] [2025/04/04 10:50:25.091 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=1.183175ms] [gotSchemaVersion=124] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.095 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=124] [2025/04/04 10:50:25.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=124] ["take time"=9.098559ms] [job="ID:174, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.108 +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/04 10:50:25.112 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=174] [jobType="drop table"] [2025/04/04 10:50:25.113 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=174] [conn=15] [job="ID:174, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:24.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.133 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=174] [2025/04/04 10:50:25.133 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=124] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:50:25.147 +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-04 10:50:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:50:25.147 +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-04 10:50:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:25.153 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=15] [job="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.158 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 175, Table Name: t1)"] [2025/04/04 10:50:25.174 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.558372ms] [gotSchemaVersion=125] [phyTblIDs="[175]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:25.178 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=125] [2025/04/04 10:50:25.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=125] ["take time"=9.55068ms] [job="ID:176, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.193 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=176] [conn=15] [job="ID:176, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.205 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/04 10:50:25.205 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=125] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 10:50:25.212 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224183005199] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=976.055Β΅s] [2025/04/04 10:50:25.212 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.077799ms] [total_duration=4.843404ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117224183005199] [2025/04/04 10:50:25.213 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224183005199] [commitTS=457117224196112385] [2025/04/04 10:50:25.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224183005199] [startKey=7480000000000000af5f728000000000000001] [endKey=7480000000000000af5f728000000000000005] [concurrency=8] [2025/04/04 10:50:25.216 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224183005199] [startKey=7480000000000000af5f728000000000000001] [endKey=7480000000000000af5f728000000000000005] ["cost time"=2.218018ms] ["completed regions"=1] [2025/04/04 10:50:25.216 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224183005199] [commitTS=457117224196112385] [session=15] [2025/04/04 10:50:25.227 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:25.227 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 10:50:25.233 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=15] [job="ID:178, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.239 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 177, Table Name: _t1)"] [2025/04/04 10:50:25.261 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.901908ms] [gotSchemaVersion=126] [phyTblIDs="[177]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:25.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=126] [2025/04/04 10:50:25.267 +00:00] [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"=10.855008ms] [job="ID:178, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.282 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=15] [job="ID:178, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/04 10:50:25.295 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=126] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/04 10:50:25.323 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:25.323 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:25.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=15] [job="ID:180, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.338 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 179, Table Name: _t1, Old Table ID: 177, Old Table Name: _t1)"] [2025/04/04 10:50:25.356 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.712552ms] [gotSchemaVersion=127] [phyTblIDs="[177,179]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:25.361 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=127] [2025/04/04 10:50:25.363 +00:00] [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.878782ms] [job="ID:180, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.375 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=180] [tableIDs="[177]"] [comment="truncate table: table ID"] [2025/04/04 10:50:25.380 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=180] [jobType="truncate table"] [2025/04/04 10:50:25.381 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=15] [job="ID:180, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.402 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/04 10:50:25.402 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=127] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:25.410 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224235433998] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.259022ms] [2025/04/04 10:50:25.410 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.364412ms] [total_duration=6.708943ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117224235433998] [2025/04/04 10:50:25.412 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224235433998] [commitTS=457117224235434001] [2025/04/04 10:50:25.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224235433998] [startKey=7480000000000000b35f698000000000000001038000000000000001] [endKey=7480000000000000b35f728000000000000005] [concurrency=8] [2025/04/04 10:50:25.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224235433998] [startKey=7480000000000000b35f698000000000000001038000000000000001] [endKey=7480000000000000b35f728000000000000005] ["cost time"=2.383163ms] ["completed regions"=1] [2025/04/04 10:50:25.415 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224235433998] [commitTS=457117224235434001] [session=15] [2025/04/04 10:50:25.427 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:182, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:25.427 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:182, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:25.433 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=182] [conn=15] [job="ID:182, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.441 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 181, Table Name: _t1, Old Table ID: 179, Old Table Name: _t1)"] [2025/04/04 10:50:25.462 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.791292ms] [gotSchemaVersion=128] [phyTblIDs="[179,181]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:25.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=182] [version=128] [2025/04/04 10:50:25.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=128] ["take time"=10.408691ms] [job="ID:182, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.481 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=182] [tableIDs="[179]"] [comment="truncate table: table ID"] [2025/04/04 10:50:25.486 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=182] [jobType="truncate table"] [2025/04/04 10:50:25.487 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=182] [conn=15] [job="ID:182, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.507 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=182] [2025/04/04 10:50:25.507 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=128] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:25.516 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224261910544] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.11795ms] [2025/04/04 10:50:25.516 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.213606ms] [total_duration=7.67341ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117224261910544] [2025/04/04 10:50:25.518 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224261910544] [commitTS=457117224274755586] [2025/04/04 10:50:25.518 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224261910544] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f728000000000000005] [concurrency=8] [2025/04/04 10:50:25.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224261910544] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f728000000000000005] ["cost time"=2.409746ms] ["completed regions"=1] [2025/04/04 10:50:25.521 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224261910544] [commitTS=457117224274755586] [session=15] [2025/04/04 10:50:25.540 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224274755593] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.216413ms] [2025/04/04 10:50:25.541 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.356821ms] [total_duration=6.151783ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457117224274755593] [2025/04/04 10:50:25.542 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224274755593] [commitTS=457117224274755595] [2025/04/04 10:50:25.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224274755593] [startKey=7480000000000000b55f728000000000000001] [endKey=7480000000000000b55f728000000000000005] [concurrency=8] [2025/04/04 10:50:25.545 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224274755593] [startKey=7480000000000000b55f728000000000000001] [endKey=7480000000000000b55f728000000000000005] ["cost time"=2.526364ms] ["completed regions"=1] [2025/04/04 10:50:25.545 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224274755593] [commitTS=457117224274755595] [session=15] [2025/04/04 10:50:25.554 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224274755597] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.192598ms] [2025/04/04 10:50:25.554 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.303988ms] [total_duration=6.182084ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457117224274755597] [2025/04/04 10:50:25.555 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224274755597] [commitTS=457117224274755598] [2025/04/04 10:50:25.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224274755597] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f72800000000000000a] [concurrency=8] [2025/04/04 10:50:25.558 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224274755597] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f72800000000000000a] ["cost time"=2.309191ms] ["completed regions"=1] [2025/04/04 10:50:25.558 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224274755597] [commitTS=457117224274755598] [session=15] [2025/04/04 10:50:25.573 +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:175, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:25.573 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:25.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=15] [job="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.597 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=2.132519ms] [gotSchemaVersion=129] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.601 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=129] [2025/04/04 10:50:25.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=129] ["take time"=10.383164ms] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.615 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=15] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.632 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=2.052167ms] [gotSchemaVersion=130] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=130] [2025/04/04 10:50:25.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=130] ["take time"=9.973828ms] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.648 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=15] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.662 +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: t1)"] [2025/04/04 10:50:25.678 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=1.235958ms] [gotSchemaVersion=131] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.682 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=131] [2025/04/04 10:50:25.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=131] ["take time"=11.283764ms] [job="ID:183, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.697 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=183] [tableIDs="[175]"] [comment="drop table: table ID"] [2025/04/04 10:50:25.702 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=183] [jobType="drop table"] [2025/04/04 10:50:25.703 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=15] [job="ID:183, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.726 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 10:50:25.741 +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:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:25.741 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:25.747 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=15] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=2.28849ms] [gotSchemaVersion=132] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.770 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=132] [2025/04/04 10:50:25.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=132] ["take time"=11.190388ms] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.785 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=15] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.802 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=2.099461ms] [gotSchemaVersion=133] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.806 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=133] [2025/04/04 10:50:25.809 +00:00] [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"=10.091766ms] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.819 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=15] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.826 +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: _t1)"] [2025/04/04 10:50:25.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=1.214544ms] [gotSchemaVersion=134] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:25.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=134] [2025/04/04 10:50:25.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=134] ["take time"=9.799287ms] [job="ID:184, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.858 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=184] [tableIDs="[181]"] [comment="drop table: table ID"] [2025/04/04 10:50:25.863 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop table"] [2025/04/04 10:50:25.864 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=15] [job="ID:184, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.884 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/04 10:50:25.885 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 15\n# Query_time: 0.325756394\n# Parse_time: 0.000131799\n# Compile_time: 0.000311231\n# Rewrite_time: 0.000006555\n# Optimize_time: 0.000102895\n# Wait_TS: 0.000405183\n# DB: test\n# Is_internal: false\n# Digest: fcfe22197a68b81681fc6a88730a3cf2902a4fdaab6ed56438e49c7996f1c0f9\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# Warnings: [{\"Level\":\"Warning\",\"Message\":\"Pipelined DML can only be used for auto-commit INSERT, REPLACE, UPDATE or DELETE. Fallback to standard mode\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ndrop table if exists t1, _t1;"] [2025/04/04 10:50:25.885 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=134] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:50:25.899 +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-04 10:50:25.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:25.899 +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-04 10:50:25.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 10:50:25.906 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=15] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.911 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: _t1)"] [2025/04/04 10:50:25.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=1.762004ms] [gotSchemaVersion=135] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:25.931 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=135] [2025/04/04 10:50:25.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=135] ["take time"=10.170889ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.946 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=15] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:25.962 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/04 10:50:25.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=135] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/04 10:50:25.986 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:188, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:25.986 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:188, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:25.992 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=15] [job="ID:188, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:25.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.000 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 187, Table Name: _t1, Old Table ID: 185, Old Table Name: _t1)"] [2025/04/04 10:50:26.016 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.621264ms] [gotSchemaVersion=136] [phyTblIDs="[185,187]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:26.020 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=136] [2025/04/04 10:50:26.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=136] ["take time"=9.898334ms] [job="ID:188, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.034 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=188] [tableIDs="[185]"] [comment="truncate table: table ID"] [2025/04/04 10:50:26.039 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=188] [jobType="truncate table"] [2025/04/04 10:50:26.040 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=188] [conn=15] [job="ID:188, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:25.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.058 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/04 10:50:26.058 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=136] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:26.065 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224406089749] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.21075ms] [2025/04/04 10:50:26.065 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.344017ms] [total_duration=5.492986ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117224406089749] [2025/04/04 10:50:26.067 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224406089749] [commitTS=457117224418934786] [2025/04/04 10:50:26.067 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224406089749] [startKey=7480000000000000bb5f698000000000000001038000000000000001] [endKey=7480000000000000bb5f728000000000000005] [concurrency=8] [2025/04/04 10:50:26.069 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224406089749] [startKey=7480000000000000bb5f698000000000000001038000000000000001] [endKey=7480000000000000bb5f728000000000000005] ["cost time"=2.406475ms] ["completed regions"=1] [2025/04/04 10:50:26.069 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224406089749] [commitTS=457117224418934786] [session=15] [2025/04/04 10:50:26.081 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.081 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:190, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:26.088 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=15] [job="ID:190, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:187, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.096 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 189, Table Name: _t1, Old Table ID: 187, Old Table Name: _t1)"] [2025/04/04 10:50:26.112 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=1.762766ms] [gotSchemaVersion=137] [phyTblIDs="[187,189]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:26.116 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=137] [2025/04/04 10:50:26.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=137] ["take time"=9.796827ms] [job="ID:190, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.130 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=190] [tableIDs="[187]"] [comment="truncate table: table ID"] [2025/04/04 10:50:26.135 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="truncate table"] [2025/04/04 10:50:26.136 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=190] [conn=15] [job="ID:190, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.154 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=190] [2025/04/04 10:50:26.155 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=137] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:26.162 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224432042000] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.117804ms] [2025/04/04 10:50:26.162 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.250614ms] [total_duration=6.282309ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117224432042000] [2025/04/04 10:50:26.163 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224432042000] [commitTS=457117224445411329] [2025/04/04 10:50:26.164 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224432042000] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f728000000000000005] [concurrency=8] [2025/04/04 10:50:26.166 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224432042000] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f728000000000000005] ["cost time"=2.284216ms] ["completed regions"=1] [2025/04/04 10:50:26.166 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224432042000] [commitTS=457117224445411329] [session=15] [2025/04/04 10:50:26.177 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224445411332] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.067789ms] [2025/04/04 10:50:26.178 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.178514ms] [total_duration=4.613245ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457117224445411332] [2025/04/04 10:50:26.179 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224445411332] [commitTS=457117224445411333] [2025/04/04 10:50:26.179 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224445411332] [startKey=7480000000000000bd5f728000000000000001] [endKey=7480000000000000bd5f728000000000000005] [concurrency=8] [2025/04/04 10:50:26.182 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224445411332] [startKey=7480000000000000bd5f728000000000000001] [endKey=7480000000000000bd5f728000000000000005] ["cost time"=2.613064ms] ["completed regions"=1] [2025/04/04 10:50:26.182 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224445411332] [commitTS=457117224445411333] [session=15] [2025/04/04 10:50:26.187 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224445411335] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.194616ms] [2025/04/04 10:50:26.188 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.288926ms] [total_duration=4.799576ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457117224445411335] [2025/04/04 10:50:26.189 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224445411335] [commitTS=457117224445411336] [2025/04/04 10:50:26.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224445411335] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f72800000000000000a] [concurrency=8] [2025/04/04 10:50:26.191 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224445411335] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f72800000000000000a] ["cost time"=2.105708ms] ["completed regions"=1] [2025/04/04 10:50:26.191 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224445411335] [commitTS=457117224445411336] [session=15] [2025/04/04 10:50:26.203 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.203 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:26.209 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=15] [job="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:189, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.227 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=2.276524ms] [gotSchemaVersion=138] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.232 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=138] [2025/04/04 10:50:26.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=138] ["take time"=11.463165ms] [job="ID:191, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.246 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=15] [job="ID:191, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:189, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.264 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=2.172532ms] [gotSchemaVersion=139] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.267 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=139] [2025/04/04 10:50:26.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=139] ["take time"=9.962937ms] [job="ID:191, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.279 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=15] [job="ID:191, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:189, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.285 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 189, Old Table Name: _t1)"] [2025/04/04 10:50:26.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=1.089582ms] [gotSchemaVersion=140] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=140] [2025/04/04 10:50:26.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=140] ["take time"=8.428161ms] [job="ID:191, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.314 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=191] [tableIDs="[189]"] [comment="drop table: table ID"] [2025/04/04 10:50:26.319 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="drop table"] [2025/04/04 10:50:26.320 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=191] [conn=15] [job="ID:191, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.338 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/04 10:50:26.338 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=140] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:50:26.351 +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-04 10:50:26.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.351 +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-04 10:50:26.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:50:26.357 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=193] [conn=15] [job="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.362 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 192, Table Name: t1)"] [2025/04/04 10:50:26.378 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.625424ms] [gotSchemaVersion=141] [phyTblIDs="[192]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:26.382 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=141] [2025/04/04 10:50:26.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=141] ["take time"=9.57389ms] [job="ID:193, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.396 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=193] [conn=15] [job="ID:193, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.411 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/04 10:50:26.411 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=141] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 10:50:26.417 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224510685185] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.023398ms] [2025/04/04 10:50:26.417 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.145278ms] [total_duration=5.071513ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117224510685185] [2025/04/04 10:50:26.419 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224510685185] [commitTS=457117224510685189] [2025/04/04 10:50:26.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224510685185] [startKey=7480000000000000c05f728000000000000001] [endKey=7480000000000000c05f728000000000000005] [concurrency=8] [2025/04/04 10:50:26.421 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224510685185] [startKey=7480000000000000c05f728000000000000001] [endKey=7480000000000000c05f728000000000000005] ["cost time"=2.104225ms] ["completed regions"=1] [2025/04/04 10:50:26.421 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224510685185] [commitTS=457117224510685189] [session=15] [2025/04/04 10:50:26.432 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:195, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.432 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:195, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.411 +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/04 10:50:26.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=195] [conn=15] [job="ID:195, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.443 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 194, Table Name: _t1)"] [2025/04/04 10:50:26.459 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.655462ms] [gotSchemaVersion=142] [phyTblIDs="[194]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:26.462 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=195] [version=142] [2025/04/04 10:50:26.464 +00:00] [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.303509ms] [job="ID:195, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.478 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=195] [conn=15] [job="ID:195, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.491 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=195] [2025/04/04 10:50:26.491 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=142] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/04 10:50:26.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:197, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:26.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:197, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.519 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=197] [conn=15] [job="ID:197, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.527 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 196, Table Name: _t1, Old Table ID: 194, Old Table Name: _t1)"] [2025/04/04 10:50:26.543 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.700017ms] [gotSchemaVersion=143] [phyTblIDs="[194,196]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:26.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=197] [version=143] [2025/04/04 10:50:26.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=143] ["take time"=8.978687ms] [job="ID:197, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.559 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=197] [tableIDs="[194]"] [comment="truncate table: table ID"] [2025/04/04 10:50:26.564 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=197] [jobType="truncate table"] [2025/04/04 10:50:26.565 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=197] [conn=15] [job="ID:197, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.585 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=197] [2025/04/04 10:50:26.585 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=143] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:26.590 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224550006806] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.216533ms] [2025/04/04 10:50:26.590 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.326611ms] [total_duration=3.173766ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457117224550006806] [2025/04/04 10:50:26.591 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224550006806] [commitTS=457117224550006807] [2025/04/04 10:50:26.592 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224550006806] [startKey=7480000000000000c45f698000000000000001038000000000000001] [endKey=7480000000000000c45f728000000000000005] [concurrency=8] [2025/04/04 10:50:26.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224550006806] [startKey=7480000000000000c45f698000000000000001038000000000000001] [endKey=7480000000000000c45f728000000000000005] ["cost time"=2.20354ms] ["completed regions"=1] [2025/04/04 10:50:26.594 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224550006806] [commitTS=457117224550006807] [session=15] [2025/04/04 10:50:26.605 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.605 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:199, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:26.611 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=15] [job="ID:199, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.619 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 198, Table Name: _t1, Old Table ID: 196, Old Table Name: _t1)"] [2025/04/04 10:50:26.634 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.629825ms] [gotSchemaVersion=144] [phyTblIDs="[196,198]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:26.638 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=144] [2025/04/04 10:50:26.640 +00:00] [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.2318ms] [job="ID:199, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.651 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=199] [tableIDs="[196]"] [comment="truncate table: table ID"] [2025/04/04 10:50:26.659 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="truncate table"] [2025/04/04 10:50:26.660 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=199] [conn=15] [job="ID:199, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.678 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/04 10:50:26.679 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=144] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:26.685 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224576483336] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.117063ms] [2025/04/04 10:50:26.685 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.267858ms] [total_duration=4.372826ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457117224576483336] [2025/04/04 10:50:26.686 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224576483336] [commitTS=457117224576483337] [2025/04/04 10:50:26.686 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224576483336] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f728000000000000005] [concurrency=8] [2025/04/04 10:50:26.689 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224576483336] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f728000000000000005] ["cost time"=2.287987ms] ["completed regions"=1] [2025/04/04 10:50:26.689 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224576483336] [commitTS=457117224576483337] [session=15] [2025/04/04 10:50:26.705 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224576483339] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.08306ms] [2025/04/04 10:50:26.706 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.178126ms] [total_duration=5.344822ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457117224576483339] [2025/04/04 10:50:26.707 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224576483339] [commitTS=457117224576483340] [2025/04/04 10:50:26.707 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224576483339] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] [concurrency=8] [2025/04/04 10:50:26.710 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224576483339] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] ["cost time"=2.333198ms] ["completed regions"=1] [2025/04/04 10:50:26.710 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224576483339] [commitTS=457117224576483340] [session=15] [2025/04/04 10:50:26.719 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224589590529] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.153153ms] [2025/04/04 10:50:26.719 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.270185ms] [total_duration=5.958317ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457117224589590529] [2025/04/04 10:50:26.720 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224589590529] [commitTS=457117224589590530] [2025/04/04 10:50:26.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224589590529] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] [concurrency=8] [2025/04/04 10:50:26.723 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224589590529] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] ["cost time"=2.448554ms] ["completed regions"=1] [2025/04/04 10:50:26.723 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224589590529] [commitTS=457117224589590530] [session=15] [2025/04/04 10:50:26.736 +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:192, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.736 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:200, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:26.742 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=15] [job="ID:200, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.758 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=1.9812ms] [gotSchemaVersion=145] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.762 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=145] [2025/04/04 10:50:26.764 +00:00] [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.898782ms] [job="ID:200, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.775 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=15] [job="ID:200, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=1.916016ms] [gotSchemaVersion=146] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.796 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=146] [2025/04/04 10:50:26.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=146] ["take time"=9.619909ms] [job="ID:200, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.807 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=15] [job="ID:200, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.813 +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: t1)"] [2025/04/04 10:50:26.827 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=1.113249ms] [gotSchemaVersion=147] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.831 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=147] [2025/04/04 10:50:26.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=147] ["take time"=8.744775ms] [job="ID:200, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.844 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=200] [tableIDs="[192]"] [comment="drop table: table ID"] [2025/04/04 10:50:26.848 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=200] [jobType="drop table"] [2025/04/04 10:50:26.849 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=200] [conn=15] [job="ID:200, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.870 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=200] [2025/04/04 10:50:26.883 +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-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:50:26.883 +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-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:26.889 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=15] [job="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.905 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=2.095149ms] [gotSchemaVersion=148] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.908 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=148] [2025/04/04 10:50:26.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=148] ["take time"=9.749012ms] [job="ID:201, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.921 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=15] [job="ID:201, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.939 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=2.171552ms] [gotSchemaVersion=149] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.943 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=149] [2025/04/04 10:50:26.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=149] ["take time"=9.960003ms] [job="ID:201, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.954 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=15] [job="ID:201, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.961 +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: _t1)"] [2025/04/04 10:50:26.977 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.187595ms] [gotSchemaVersion=150] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:26.981 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=150] [2025/04/04 10:50:26.984 +00:00] [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.758037ms] [job="ID:201, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:26.994 +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/04 10:50:26.999 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=201] [jobType="drop table"] [2025/04/04 10:50:27.000 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=201] [conn=15] [job="ID:201, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:26.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.022 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/04 10:50:27.023 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=150] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:50:27.041 +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-04 10:50:27.012 +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/04 10:50:27.041 +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-04 10:50:27.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:27.048 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=203] [conn=15] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:27.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.054 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 202, Table Name: _t1)"] [2025/04/04 10:50:27.073 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.753029ms] [gotSchemaVersion=151] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:27.077 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=151] [2025/04/04 10:50:27.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=151] ["take time"=9.923097ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.092 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=203] [conn=15] [job="ID:203, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:27.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.104 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/04 10:50:27.105 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=151] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/04 10:50:27.124 +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:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:27.124 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:27.130 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=205] [conn=15] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:27.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.139 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 204, Table Name: _t1, Old Table ID: 202, Old Table Name: _t1)"] [2025/04/04 10:50:27.155 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.790925ms] [gotSchemaVersion=152] [phyTblIDs="[202,204]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:27.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=152] [2025/04/04 10:50:27.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=152] ["take time"=10.090632ms] [job="ID:205, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.173 +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/04 10:50:27.178 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=205] [jobType="truncate table"] [2025/04/04 10:50:27.179 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=205] [conn=15] [job="ID:205, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.198 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/04 10:50:27.198 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=152] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:27.202 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224707555341] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.357497ms] [2025/04/04 10:50:27.202 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.480557ms] [total_duration=2.303316ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457117224707555341] [2025/04/04 10:50:27.203 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224707555341] [commitTS=457117224707555342] [2025/04/04 10:50:27.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224707555341] [startKey=7480000000000000cc5f698000000000000001038000000000000001] [endKey=7480000000000000cc5f728000000000000005] [concurrency=8] [2025/04/04 10:50:27.206 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224707555341] [startKey=7480000000000000cc5f698000000000000001038000000000000001] [endKey=7480000000000000cc5f728000000000000005] ["cost time"=2.326167ms] ["completed regions"=1] [2025/04/04 10:50:27.206 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224707555341] [commitTS=457117224707555342] [session=15] [2025/04/04 10:50:27.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:207, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:50:27.217 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:27.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=15] [job="ID:207, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:27.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.232 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 206, Table Name: _t1, Old Table ID: 204, Old Table Name: _t1)"] [2025/04/04 10:50:27.249 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.882235ms] [gotSchemaVersion=153] [phyTblIDs="[204,206]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:50:27.253 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=153] [2025/04/04 10:50:27.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=153] ["take time"=10.996237ms] [job="ID:207, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.269 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=207] [tableIDs="[204]"] [comment="truncate table: table ID"] [2025/04/04 10:50:27.275 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=207] [jobType="truncate table"] [2025/04/04 10:50:27.276 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=207] [conn=15] [job="ID:207, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:27.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:27.298 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/04 10:50:27.298 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=153] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:50:27.303 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224733769743] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.415961ms] [2025/04/04 10:50:27.303 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.522595ms] [total_duration=3.805503ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457117224733769743] [2025/04/04 10:50:27.305 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224733769743] [commitTS=457117224733769744] [2025/04/04 10:50:27.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224733769743] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f728000000000000005] [concurrency=8] [2025/04/04 10:50:27.307 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224733769743] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f728000000000000005] ["cost time"=2.513581ms] ["completed regions"=1] [2025/04/04 10:50:27.308 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224733769743] [commitTS=457117224733769744] [session=15] [2025/04/04 10:50:27.318 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224746876929] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.462629ms] [2025/04/04 10:50:27.318 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.577305ms] [total_duration=4.829721ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457117224746876929] [2025/04/04 10:50:27.319 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224746876929] [commitTS=457117224746876930] [2025/04/04 10:50:27.319 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224746876929] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] [concurrency=8] [2025/04/04 10:50:27.322 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224746876929] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] ["cost time"=2.429287ms] ["completed regions"=1] [2025/04/04 10:50:27.322 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224746876929] [commitTS=457117224746876930] [session=15] [2025/04/04 10:50:27.328 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117224746876931] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.38079ms] [2025/04/04 10:50:27.328 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.485293ms] [total_duration=5.279984ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457117224746876931] [2025/04/04 10:50:27.329 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117224746876931] [commitTS=457117224746876933] [2025/04/04 10:50:27.330 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117224746876931] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] [concurrency=8] [2025/04/04 10:50:27.331 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:27.331 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [] [2025/04/04 10:50:27.332 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:27.332 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.332 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:27.332 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:27.332 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=135.634Β΅s] [2025/04/04 10:50:27.332 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=60.658Β΅s] [2025/04/04 10:50:27.332 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117224746876931] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] ["cost time"=2.545371ms] ["completed regions"=1] [2025/04/04 10:50:27.332 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=96.73Β΅s] [2025/04/04 10:50:27.332 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117224746876931] [commitTS=457117224746876933] [session=15] [2025/04/04 10:50:27.333 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=60.1Β΅s] [2025/04/04 10:50:27.333 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=55.006Β΅s] [2025/04/04 10:50:27.333 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=46.287Β΅s] [2025/04/04 10:50:27.333 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=37.211Β΅s] [2025/04/04 10:50:27.333 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=43.948Β΅s] [2025/04/04 10:50:27.333 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=39.945Β΅s] [2025/04/04 10:50:27.333 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=48.311Β΅s] [2025/04/04 10:50:27.333 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.333 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.334 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:27.335 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:27.359 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] ["take time"=27.879522ms] [2025/04/04 10:50:27.359 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.359 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:27.359 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/cc6e285e-d566-4ac7-b9a8-faa8d37edef3] [watcherID=532900dd-6499-4156-bdda-4cff393c5770] [2025/04/04 10:50:27.360 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:50:27.360 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/cc6e285e-d566-4ac7-b9a8-faa8d37edef3] [2025/04/04 10:50:27.360 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [ttl-worker=task-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [originalCount=4] [newCount=0] [2025/04/04 10:50:27.360 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:27.360 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:27.360 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:27.360 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:27.360 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [ttl-worker=task-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [originalCount=4] [newCount=0] [2025/04/04 10:50:27.363 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:27.363 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:27.364 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:27.364 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:27.367 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.367 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1835] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:27.368 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:27.368 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:27.368 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:27.369 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:27.368 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:27.369 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:27.369 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:27.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:27.368 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:50:27.368 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:27.369 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:27.370 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:27.369 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.370 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.370 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:27.370 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:27.370 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.370 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:27.370 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.371 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=466c8e16-0aa5-4cd6-8677-848c3d7ad057] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:27.371 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:27.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:27.371 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:27.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:27.371 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:27.371 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [error="context canceled"] [2025/04/04 10:50:27.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:27.372 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:27.372 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:27.372 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:27.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:27.373 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [error="context canceled"] [2025/04/04 10:50:27.373 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [2025/04/04 10:50:27.375 +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.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/04 10:50:27.379 +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/04 10:50:27.380 +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/04 10:50:27.380 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:27.380 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:27.380 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:27.398 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:27.398 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:27.442 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4b98edf7-9c6d-4bb5-b922-dd295a76fcd1] [error="context canceled"] [2025/04/04 10:50:27.442 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:27.442 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:27.454 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=122.980815ms] [2025/04/04 10:50:28.134 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223645872131 commit_ts:457117223645872134 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.134 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223645872131 commit_ts:457117223645872134 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.134 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223645872131 commit_ts:457117223645872134 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223672086535 commit_ts:457117223672086539 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223672086535 commit_ts:457117223672086539 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223672086535 commit_ts:457117223672086539 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.252 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223672086540 commit_ts:457117223672086541 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.252 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223672086540 commit_ts:457117223672086541 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.252 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223672086540 commit_ts:457117223672086541 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.260 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223672086542 commit_ts:457117223672086543 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.260 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223672086542 commit_ts:457117223672086543 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.260 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223672086542 commit_ts:457117223672086543 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.269 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223672086544 commit_ts:457117223684931585 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.269 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223672086544 commit_ts:457117223684931585 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.269 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223672086544 commit_ts:457117223684931585 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.764 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223802896398 commit_ts:457117223802896401 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.764 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223802896398 commit_ts:457117223802896401 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.764 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223802896398 commit_ts:457117223802896401 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.858 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223829372943 commit_ts:457117223829372946 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.858 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223829372943 commit_ts:457117223829372946 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.858 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223829372943 commit_ts:457117223829372946 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.865 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223829372947 commit_ts:457117223829372948 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.865 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223829372947 commit_ts:457117223829372948 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.865 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223829372947 commit_ts:457117223829372948 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.871 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223842480129 commit_ts:457117223842480130 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.871 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223842480129 commit_ts:457117223842480130 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:28.871 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223842480129 commit_ts:457117223842480130 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.876 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223842480131 commit_ts:457117223842480132 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:28.876 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223842480131 commit_ts:457117223842480132 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:28.876 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223842480131 commit_ts:457117223842480132 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.110 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223894646797 commit_ts:457117223894646801 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:29.110 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223894646797 commit_ts:457117223894646801 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.110 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223894646797 commit_ts:457117223894646801 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.277 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223947075586 commit_ts:457117223947075587 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.276 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223947075586 commit_ts:457117223947075587 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:29.277 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223947075586 commit_ts:457117223947075587 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.368 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223960182801 commit_ts:457117223973552130 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.368 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223960182801 commit_ts:457117223973552130 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:29.368 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223960182801 commit_ts:457117223973552130 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.389 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223973552134 commit_ts:457117223973552135 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.389 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223973552134 commit_ts:457117223973552135 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:29.389 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223973552134 commit_ts:457117223973552135 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.400 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117223973552136 commit_ts:457117223973552137 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.400 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117223973552136 commit_ts:457117223973552137 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.400 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117223973552136 commit_ts:457117223973552137 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:29.871 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224104624129 commit_ts:457117224104624130 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.871 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224104624129 commit_ts:457117224104624130 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:29.871 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224104624129 commit_ts:457117224104624130 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.966 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224117469200 commit_ts:457117224117469201 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.966 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224117469200 commit_ts:457117224117469201 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:29.966 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224117469200 commit_ts:457117224117469201 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.979 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224130838531 commit_ts:457117224130838532 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.979 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224130838531 commit_ts:457117224130838532 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:29.979 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224130838531 commit_ts:457117224130838532 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.986 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224130838534 commit_ts:457117224130838535 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:29.986 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224130838534 commit_ts:457117224130838535 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:29.986 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224130838534 commit_ts:457117224130838535 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:30.217 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224183005199 commit_ts:457117224196112385 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:30.217 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224183005199 commit_ts:457117224196112385 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:30.217 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224183005199 commit_ts:457117224196112385 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:30.416 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224235433998 commit_ts:457117224235434001 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:30.416 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224235433998 commit_ts:457117224235434001 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:30.416 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224235433998 commit_ts:457117224235434001 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:30.521 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224261910544 commit_ts:457117224274755586 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:30.521 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224261910544 commit_ts:457117224274755586 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:30.521 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224261910544 commit_ts:457117224274755586 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:30.545 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224274755593 commit_ts:457117224274755595 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:30.545 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224274755593 commit_ts:457117224274755595 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:30.545 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224274755593 commit_ts:457117224274755595 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:30.559 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224274755597 commit_ts:457117224274755598 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:30.559 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224274755597 commit_ts:457117224274755598 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:30.559 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224274755597 commit_ts:457117224274755598 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.070 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224406089749 commit_ts:457117224418934786 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.070 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224406089749 commit_ts:457117224418934786 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:31.070 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224406089749 commit_ts:457117224418934786 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.167 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224432042000 commit_ts:457117224445411329 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.167 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224432042000 commit_ts:457117224445411329 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.167 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224432042000 commit_ts:457117224445411329 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:31.183 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224445411332 commit_ts:457117224445411333 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:31.183 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224445411332 commit_ts:457117224445411333 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.183 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224445411332 commit_ts:457117224445411333 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.192 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224445411335 commit_ts:457117224445411336 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.192 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224445411335 commit_ts:457117224445411336 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:31.192 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224445411335 commit_ts:457117224445411336 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224510685185 commit_ts:457117224510685189 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:31.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224510685185 commit_ts:457117224510685189 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224510685185 commit_ts:457117224510685189 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.595 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224550006806 commit_ts:457117224550006807 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.595 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224550006806 commit_ts:457117224550006807 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.595 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224550006806 commit_ts:457117224550006807 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:31.689 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224576483336 commit_ts:457117224576483337 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.689 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224576483336 commit_ts:457117224576483337 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:31.690 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224576483336 commit_ts:457117224576483337 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.711 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224576483339 commit_ts:457117224576483340 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.711 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224576483339 commit_ts:457117224576483340 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.711 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224576483339 commit_ts:457117224576483340 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:31.724 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224589590529 commit_ts:457117224589590530 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:31.724 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224589590529 commit_ts:457117224589590530 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:31.724 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224589590529 commit_ts:457117224589590530 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:32.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224707555341 commit_ts:457117224707555342 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:32.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224707555341 commit_ts:457117224707555342 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:32.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224707555341 commit_ts:457117224707555342 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:32.308 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224733769743 commit_ts:457117224733769744 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:32.308 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224733769743 commit_ts:457117224733769744 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:32.308 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224733769743 commit_ts:457117224733769744 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:32.322 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224746876929 commit_ts:457117224746876930 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:32.322 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224746876929 commit_ts:457117224746876930 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:32.322 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224746876929 commit_ts:457117224746876930 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:32.334 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117224746876931 commit_ts:457117224746876933 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:32.334 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117224746876931 commit_ts:457117224746876933 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:32.334 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117224746876931 commit_ts:457117224746876933 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:32.334 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:32.334 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:32.334 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:32.334 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:32.334 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:32.334 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:32.334 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:32.334 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:32.334 +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/04 10:50:32.334 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:32.334 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:32.334 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:32.336 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertRPC (9.99s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn [2025/04/04 10:50:32.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/04 10:50:32.348 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:32.349 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:32.350 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:32.350 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:32.350 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:32.350 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:32.350 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:32.350 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:32.351 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:32.351 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:32.356 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:32.361 +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/04 10:50:32.362 +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/04 10:50:32.362 +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/04 10:50:32.374 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:32.385 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:32.423 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=902] ["lease id"=2231960069ddb2fb] [2025/04/04 10:50:32.426 +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/04 10:50:32.523 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=153] ["elapsed time"=94.372508ms] [2025/04/04 10:50:32.523 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:32.526 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:32.532 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:32.533 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:32.535 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:32.536 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:32.536 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267918434304/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:32.536 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:32.536 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:32.536 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:32.536 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [2025/04/04 10:50:32.538 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddada8] [ownerID=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [op=none] [2025/04/04 10:50:32.538 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:32.539 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddada8] [currRev=689] [2025/04/04 10:50:32.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:32.539 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:32.540 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddad06] [ownerID=6dcea777-7c89-472d-8f07-10260d8cbe25] [op=none] [2025/04/04 10:50:32.540 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:32.540 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [2025/04/04 10:50:32.540 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [ownerKey=/tidb/br-stream/owner/6f18960069ddad06] [currRev=690] [2025/04/04 10:50:32.541 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddada8] [ownerID=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [op=none] [2025/04/04 10:50:32.541 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [op=none] [2025/04/04 10:50:32.541 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:32.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.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/04 10:50:32.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.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/04 10:50:32.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.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/04 10:50:32.548 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:32.549 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:32.549 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:32.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:32.566 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:32.571 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:32.571 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:32.571 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:32.571 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:32.571 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:32.571 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:32.571 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:32.571 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:32.571 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:32.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:32.573 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:32.574 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:32.574 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:32.574 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:32.574 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:32.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:32.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:32.576 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:32.577 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069ddb305] [ownerID=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [op=none] [2025/04/04 10:50:32.577 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:32.577 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [ownerKey=/tidb/stats/owner/2231960069ddb305] [currRev=692] [2025/04/04 10:50:32.578 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/3f61acaf-6fe6-48fd-b91e-837eb9c9900c] [2025/04/04 10:50:32.579 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [ttl-worker=task-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [originalCount=0] [newCount=4] [2025/04/04 10:50:32.579 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:32.579 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [ttl-worker=task-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [originalCount=0] [newCount=4] [2025/04/04 10:50:32.579 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:32.580 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:32.580 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:32.580 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763832581058143 [2025/04/04 10:50:32.584 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:32.591 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.608493ms] [2025/04/04 10:50:32.591 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:32.591 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:32.602 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:32.605 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=153] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:50:32.619 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:208, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:32.619 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:208, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`"] [2025/04/04 10:50:32.625 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=208] [conn=16] [job="ID:208, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:206, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.642 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=2.323932ms] [gotSchemaVersion=154] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:32.646 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=154] [2025/04/04 10:50:32.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=154] ["take time"=10.437785ms] [job="ID:208, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.660 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=208] [conn=16] [job="ID:208, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:206, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.677 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=2.171479ms] [gotSchemaVersion=155] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:32.681 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=155] [2025/04/04 10:50:32.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=155] ["take time"=9.602597ms] [job="ID:208, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.692 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=208] [conn=16] [job="ID:208, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:206, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.699 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 206, Old Table Name: _t1)"] [2025/04/04 10:50:32.714 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=1.059147ms] [gotSchemaVersion=156] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:32.719 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=156] [2025/04/04 10:50:32.721 +00:00] [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.573401ms] [job="ID:208, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.731 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=208] [tableIDs="[206]"] [comment="drop table: table ID"] [2025/04/04 10:50:32.739 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=208] [jobType="drop table"] [2025/04/04 10:50:32.740 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=208] [conn=16] [job="ID:208, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.760 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=208] [2025/04/04 10:50:32.760 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=156] [cur_db=test] [sql="drop table `_t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763832760905727 [2025/04/04 10:50:32.765 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=156] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:50:32.779 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:210, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.762 +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/04 10:50:32.779 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:210, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:32.785 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=210] [conn=17] [job="ID:210, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:32.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.790 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 209, Table Name: t1)"] [2025/04/04 10:50:32.807 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=1.785769ms] [gotSchemaVersion=157] [phyTblIDs="[209]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:32.810 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=210] [version=157] [2025/04/04 10:50:32.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=157] ["take time"=8.888287ms] [job="ID:210, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:32.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.824 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=210] [conn=17] [job="ID:210, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:32.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:32.836 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=210] [2025/04/04 10:50:32.836 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=157] [cur_db=test] [sql="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [user=] [2025/04/04 10:50:33.087 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:50:33.411 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117226293526529] [generation=1] [session=17] [keys=3998] [size=253.6kB] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=26.764151ms] [2025/04/04 10:50:33.412 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117226293526529] [generation=2] [session=17] [keys=0] [size=0B] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=41.288Β΅s] [2025/04/04 10:50:33.412 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3998] [flush_wait_duration=26.94722ms] [total_duration=188.883125ms] ["memdb traversal cache hit"=7996] ["memdb traversal cache miss"=7998] [size=253.6kB] [startTS=457117226293526529] [2025/04/04 10:50:33.413 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117226293526529] [commitTS=457117226345955329] [2025/04/04 10:50:33.413 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117226293526529] [startKey=7480000000000000d15f698000000000000001038000000000000000] [endKey=7480000000000000d15f728000000000000f9f] [concurrency=8] [2025/04/04 10:50:33.414 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457117226293526529\n# Conn_ID: 17\n# Query_time: 0.31844319\n# Parse_time: 0.047759657\n# Compile_time: 0.079424666\n# Rewrite_time: 0.010636599\n# Optimize_time: 0.001034872\n# Wait_TS: 0.000402308\n# Commit_primary_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 62.4Β΅s, total_suspend_time: 332.9Β΅s, tikv_grpc_process_time: 10.7Β΅s, tikv_grpc_wait_time: 16.8Β΅s, tikv_wall_time: 430.2Β΅s}, scan_detail: {get_snapshot_time: 12.3Β΅s, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 20.7Β΅s, propose_send_wait: 0s, persist_log: {total: 78.5Β΅s, write_leader_wait: 59ns, sync_log: 46.3Β΅s, write_memtable: 1.05Β΅s}, commit_log: 209.6Β΅s, apply_batch_wait: 11.8Β΅s, apply: {total:57.6Β΅s, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 10.9Β΅s, write_memtable: 17.9Β΅s}, scheduler: {process: 357.5Β΅s, latch_wait: 1.21Β΅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('zgnwdTAJMjdfMQkwCTAJTi9BCTAJdGltZToxNjEuNm1zLCBvcGVuOjEwLjLCtXMsIGNsb3NlOjIxLjHCtXMsIGxvb3BzOjEsIHByZXBhcmU6IDE4LjRtcywgY2hlY2tfaW5zZXJ0OiB7dG90YWxfdGltZTogMTQzLjIBWwxtZW1fCSIRGgQyNgk+NHByZWZldGNoOiAxNi44ASwIZmtfBVMUOiAxMS4yARJgcnBjOntCdWZmZXJCYXRjaEdldDp7bnVtXwEZDDEsIHQZcxw0LjIxbXN9LH4oAAw2Ljc0ASgAICEDGF9kZXRhaWwVvRhwcm9jZXNzDasINW5zEWMsa3ZfcmVhZF93YWxsDR4MOC4wOQGkIHRpa3ZfZ3JwYzo+ABAzMDIuMyVCGSIId2FpMQgEMjQtYAUeHVgINS40BckQIHNjYW4+oQBYa2V5czogMjAwMCwgZ2V0X3NuYXBzaG8RVQwzNS4yBXNIcm9ja3NkYjoge2Jsb2NrOiB7fQEBFCwgY29tbQGEEHhuOiB7FQ8YcHJpbWFyeSVXBCB7JVZsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMTQsIHN0b0UFNDI3LjAuMC4xOjIwMTYwjlABDDYyLjQFngVhHF9zdXNwZW5kLU8QMzMyLjkJHlpRAQwxMC43OiEAPVBBRRkePVAENDNJ2QR9LDpSAUpAAQAxMbNSQAEULCB3cml0XTUlCwRfYkGaBYshmg2kIHByb3Bvc2VfcwHiAadAOiAwcywgcGVyc2lzdF9sb2c5aQw3OC41BbsJXxRsZWFkZXINNQQ1OUGFDHN5bmMJNAQ0Nk1VCSwYbWVtdGFibGFyBC4wAUU54wVjEDIwOS42BVwQYXBwbHkyrAAIMTEuKTIFGxWPBDU3DTIUbXV0ZXhfST8BvAlyMp4AGRcMd2FsOiGiKcMJKx2dADcFGSWDJGhlZHVsZXI6IHttbhA6IDM1Ny0CAGw9TBgxLjIxwrVzQbg0CTUyNS40IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('2gnwZQrVCQoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTYxLjZtcywgb3BlbjoxMC4ywrVzLCBjbG9zZToyMS4xwrVzLCBsb29wczoxYsMDcHJlcGFyZTogMTguNG1zLCBjaGVja19pbgFfIDoge3RvdGFsXwVbOCAxNDMuMm1zLCBtZW1faQmBDRoIMjYuBT40cHJlZmV0Y2g6IDE2LjgBLAxma19jAVMMOiAxMQk+YHJwYzp7QnVmZmVyQmF0Y2hHZXQ6e251bV8BGQgxLCAdcxw0LjIxbXN9LH4oAAw2Ljc0ASgAIAGPGF9kZXRhaWwVvRhwcm9jZXNzDasINW5zEWMoa3ZfcmVhZF93YWwR4ww4LjA5AbYgdGlrdl9ncnBjOj4AEDMwMi4zJVIZIgx3YWl0DV0IMjQuKWEFHh1YCDUuNAXJECBzY2FuPqEAWGtleXM6IDIwMDAsIGdldF9zbmFwc2hvEVUMMzUuMgVzSHJvY2tzZGI6IHtibG9jazoge30BARhitgVjb21tAYUYeG46IHssIA0PGHByaW1hcnklWC3KSDogMC4wMDFzLCByZWdpb25faWQh2BQsIHN0b3JBBjQyNy4wLjAuMToyMDE2MI5RAQw2Mi40BZ8puBhzdXNwZW5kLREQMzMyLjkJHlpSAQwxMC43OiEAPVFBRhkePVEINDMwJRYEfSw6UwFKQQEAMTG0UkEBFCwgd3JpdF02JQsEX2JBmwWLIZsNpCBwcm9wb3NlX3MB4gGnQDogMHMsIHBlcnNpc3RfbG9nOWkMNzguNQW7CV8UbGVhZGVyDTUENTlBhgxzeW5jCTQENDZNVgksGG1lbXRhYmwhkAQuMAFFAH011AVjEDIwOS42BVwQYXBwbHkyrAAIMTEuKTIFGxWPBDU3DTIUbXV0ZXhfSUABvAlyMp4AGRcMd2FsOiGiKcMJKx2dADcFGSWDJGhlZHVsZXI6IHttbxA6IDM1Ny0CAGw9TAgxLjJhI0G5QHCQ6yB4////////////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/04 10:50:33.430 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [] [2025/04/04 10:50:33.430 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:33.430 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.430 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:33.430 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:33.430 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:33.430 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=34.356Β΅s] [2025/04/04 10:50:33.430 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=36.623Β΅s] [2025/04/04 10:50:33.430 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.430 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.431 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:33.431 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:33.432 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] ["take time"=2.331555ms] [2025/04/04 10:50:33.432 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.432 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:33.432 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/3f61acaf-6fe6-48fd-b91e-837eb9c9900c] [2025/04/04 10:50:33.432 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [ttl-worker=task-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [originalCount=4] [newCount=0] [2025/04/04 10:50:33.432 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:33.432 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:33.432 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:33.432 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:33.432 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [ttl-worker=task-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [originalCount=4] [newCount=0] [2025/04/04 10:50:33.435 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:33.435 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:33.435 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:33.436 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:33.439 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.439 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=902] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:33.440 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:33.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:33.440 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [2025/04/04 10:50:33.440 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:33.441 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:33.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:33.441 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:33.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:33.441 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [] [2025/04/04 10:50:33.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:33.440 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:33.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:33.441 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.440 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:33.441 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [2025/04/04 10:50:33.440 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:33.441 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:33.441 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.442 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:33.442 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:33.442 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6dcea777-7c89-472d-8f07-10260d8cbe25] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:33.443 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:33.443 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:33.443 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:33.443 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:33.442 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:33.443 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:33.443 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:33.443 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:33.444 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [error="context canceled"] [2025/04/04 10:50:33.444 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [2025/04/04 10:50:33.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117226293526529] [startKey=7480000000000000d15f698000000000000001038000000000000000] [endKey=7480000000000000d15f728000000000000f9f] ["cost time"=37.39153ms] ["completed regions"=1] [2025/04/04 10:50:33.451 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117226293526529] [commitTS=457117226345955329] [session=17] [2025/04/04 10:50:33.459 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:33.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:33.504 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1dba88c3-c2ba-4444-b9ac-1fddc7b30259] [error="context canceled"] [2025/04/04 10:50:33.505 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:33.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:33.514 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.631271ms] [2025/04/04 10:50:34.356 +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/04 10:50:38.452 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117226293526529 commit_ts:457117226345955329 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:38.452 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117226293526529 commit_ts:457117226345955329 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:38.452 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117226293526529 commit_ts:457117226345955329 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:38.453 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:38.453 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:38.453 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:38.453 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:38.453 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:38.453 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:38.453 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:38.453 +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/04 10:50:38.453 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:38.453 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:38.453 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:38.453 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:38.454 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.12s) === NAME === RUN TestPipelinedDMLDelete [2025/04/04 10:50:38.463 +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/04 10:50:38.464 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:38.464 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:38.465 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:38.465 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:38.465 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:38.465 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:38.465 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:38.465 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:38.466 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:38.466 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:38.470 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:38.478 +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/04 10:50:38.478 +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/04 10:50:38.479 +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/04 10:50:38.490 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:38.501 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:38.540 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1753] ["lease id"=6f18960069ddad24] [2025/04/04 10:50:38.542 +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/04 10:50:38.633 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=157] ["elapsed time"=87.962125ms] [2025/04/04 10:50:38.633 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:38.636 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:38.642 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1aadab84-12c8-4f3d-b383-d46636444a1c] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:38.642 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:38.645 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:38.646 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:38.648 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267928522752/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:38.648 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:38.648 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:38.648 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:38.648 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [2025/04/04 10:50:38.649 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddadcc] [ownerID=1aadab84-12c8-4f3d-b383-d46636444a1c] [op=none] [2025/04/04 10:50:38.649 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:38.649 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddadcc] [currRev=720] [2025/04/04 10:50:38.650 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:38.651 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:38.651 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddadcc] [ownerID=1aadab84-12c8-4f3d-b383-d46636444a1c] [op=none] [2025/04/04 10:50:38.651 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:38.651 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [op=none] [2025/04/04 10:50:38.651 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:38.652 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddadcf] [ownerID=91a71326-3070-4e2c-b6dd-8d4caee303ed] [op=none] [2025/04/04 10:50:38.652 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [2025/04/04 10:50:38.652 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [ownerKey=/tidb/br-stream/owner/3eaa960069ddadcf] [currRev=721] [2025/04/04 10:50:38.657 +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/04 10:50:38.658 +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/04 10:50:38.659 +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/04 10:50:38.659 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:38.660 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:38.661 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:38.670 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:38.677 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:38.684 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:38.684 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:38.684 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:38.684 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:38.684 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:38.684 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:38.684 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:38.684 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:38.684 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:38.685 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:38.685 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:38.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:38.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:38.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:38.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:38.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:38.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:38.686 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:38.686 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:38.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:38.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:38.687 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:38.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:38.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:38.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:38.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:38.688 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:38.689 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069ddad2d] [ownerID=1aadab84-12c8-4f3d-b383-d46636444a1c] [op=none] [2025/04/04 10:50:38.689 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:38.689 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [ownerKey=/tidb/stats/owner/6f18960069ddad2d] [currRev=723] [2025/04/04 10:50:38.691 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/e396fafb-1ea7-4586-8c5d-2efae521a2f6] [2025/04/04 10:50:38.691 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [ttl-worker=task-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [originalCount=0] [newCount=4] [2025/04/04 10:50:38.691 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [ttl-worker=task-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [originalCount=0] [newCount=4] [2025/04/04 10:50:38.691 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:38.692 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:38.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:38.692 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:38.692 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763838693002387 [2025/04/04 10:50:38.697 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:38.704 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.677237ms] [2025/04/04 10:50:38.704 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:38.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:38.708 +00:00] [INFO] [set.go:172] ["set global var"] [conn=18] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:38.711 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=157] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:50:38.724 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:38.724 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:50:38.730 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=18] [job="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.749 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=2.363067ms] [gotSchemaVersion=158] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:38.753 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=158] [2025/04/04 10:50:38.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=158] ["take time"=10.064176ms] [job="ID:211, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.766 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=18] [job="ID:211, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.782 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=2.295673ms] [gotSchemaVersion=159] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:38.786 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=159] [2025/04/04 10:50:38.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=159] ["take time"=9.61934ms] [job="ID:211, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.796 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=18] [job="ID:211, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.803 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 209, Old Table Name: t1)"] [2025/04/04 10:50:38.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=1.117179ms] [gotSchemaVersion=160] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:38.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=160] [2025/04/04 10:50:38.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=160] ["take time"=8.381248ms] [job="ID:211, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.832 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=211] [tableIDs="[209]"] [comment="drop table: table ID"] [2025/04/04 10:50:38.839 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="drop table"] [2025/04/04 10:50:38.840 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=211] [conn=18] [job="ID:211, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.860 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/04 10:50:38.860 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=160] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763838861011181 [2025/04/04 10:50:38.865 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=160] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:50:38.878 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:38.878 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:50:38.884 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=19] [job="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:38.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.889 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 212, Table Name: t)"] [2025/04/04 10:50:38.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=1.617264ms] [gotSchemaVersion=161] [phyTblIDs="[212]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:38.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=161] [2025/04/04 10:50:38.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=161] ["take time"=6.79957ms] [job="ID:213, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.919 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=213] [conn=19] [job="ID:213, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:38.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.930 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/04 10:50:38.931 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=161] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:50:38.944 +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-04 10:50:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:50:38.944 +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-04 10:50:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:38.950 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=215] [conn=19] [job="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.954 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 214, Table Name: _t)"] [2025/04/04 10:50:38.969 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=1.576445ms] [gotSchemaVersion=162] [phyTblIDs="[214]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:38.973 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=162] [2025/04/04 10:50:38.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=162] ["take time"=8.948991ms] [job="ID:215, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:38.986 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=215] [conn=19] [job="ID:215, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:38.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:39.001 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/04 10:50:39.001 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=162] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:50:39.005 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227800854543] [2025/04/04 10:50:39.009 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227800854547] [2025/04/04 10:50:39.013 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227800854550] [2025/04/04 10:50:39.017 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699587] [2025/04/04 10:50:39.021 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699590] [2025/04/04 10:50:39.025 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699593] [2025/04/04 10:50:39.029 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699596] [2025/04/04 10:50:39.033 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699599] [2025/04/04 10:50:39.037 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699602] [2025/04/04 10:50:39.041 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699605] [2025/04/04 10:50:39.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699609] [2025/04/04 10:50:39.048 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699612] [2025/04/04 10:50:39.052 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699615] [2025/04/04 10:50:39.056 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699619] [2025/04/04 10:50:39.060 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227813699622] [2025/04/04 10:50:39.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068930] [2025/04/04 10:50:39.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068933] [2025/04/04 10:50:39.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068936] [2025/04/04 10:50:39.076 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068939] [2025/04/04 10:50:39.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068942] [2025/04/04 10:50:39.083 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068945] [2025/04/04 10:50:39.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068948] [2025/04/04 10:50:39.091 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068951] [2025/04/04 10:50:39.097 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068954] [2025/04/04 10:50:39.101 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068957] [2025/04/04 10:50:39.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068961] [2025/04/04 10:50:39.110 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227827068964] [2025/04/04 10:50:39.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839913985] [2025/04/04 10:50:39.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839913988] [2025/04/04 10:50:39.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839913991] [2025/04/04 10:50:39.124 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839913994] [2025/04/04 10:50:39.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839913997] [2025/04/04 10:50:39.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839914000] [2025/04/04 10:50:39.135 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839914003] [2025/04/04 10:50:39.139 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839914006] [2025/04/04 10:50:39.143 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839914009] [2025/04/04 10:50:39.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839914012] [2025/04/04 10:50:39.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839914016] [2025/04/04 10:50:39.156 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839914022] [2025/04/04 10:50:39.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227839914025] [2025/04/04 10:50:39.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021186] [2025/04/04 10:50:39.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021189] [2025/04/04 10:50:39.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021192] [2025/04/04 10:50:39.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021195] [2025/04/04 10:50:39.180 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021198] [2025/04/04 10:50:39.184 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021201] [2025/04/04 10:50:39.188 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021204] [2025/04/04 10:50:39.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021207] [2025/04/04 10:50:39.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021210] [2025/04/04 10:50:39.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021213] [2025/04/04 10:50:39.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021217] [2025/04/04 10:50:39.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021220] [2025/04/04 10:50:39.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227853021223] [2025/04/04 10:50:39.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390531] [2025/04/04 10:50:39.219 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390534] [2025/04/04 10:50:39.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390537] [2025/04/04 10:50:39.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390540] [2025/04/04 10:50:39.231 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390543] [2025/04/04 10:50:39.235 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390546] [2025/04/04 10:50:39.238 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390549] [2025/04/04 10:50:39.243 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390552] [2025/04/04 10:50:39.246 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390555] [2025/04/04 10:50:39.250 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390558] [2025/04/04 10:50:39.254 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390562] [2025/04/04 10:50:39.258 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390565] [2025/04/04 10:50:39.262 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227866390568] [2025/04/04 10:50:39.266 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497731] [2025/04/04 10:50:39.270 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497734] [2025/04/04 10:50:39.274 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497737] [2025/04/04 10:50:39.278 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497740] [2025/04/04 10:50:39.281 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497743] [2025/04/04 10:50:39.285 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497746] [2025/04/04 10:50:39.289 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497749] [2025/04/04 10:50:39.293 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497752] [2025/04/04 10:50:39.297 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497756] [2025/04/04 10:50:39.301 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497759] [2025/04/04 10:50:39.305 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497763] [2025/04/04 10:50:39.309 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497766] [2025/04/04 10:50:39.313 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227879497769] [2025/04/04 10:50:39.317 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342787] [2025/04/04 10:50:39.321 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342790] [2025/04/04 10:50:39.324 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342793] [2025/04/04 10:50:39.329 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342796] [2025/04/04 10:50:39.333 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342799] [2025/04/04 10:50:39.337 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342802] [2025/04/04 10:50:39.341 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342805] [2025/04/04 10:50:39.345 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342808] [2025/04/04 10:50:39.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342811] [2025/04/04 10:50:39.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342814] [2025/04/04 10:50:39.357 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342818] [2025/04/04 10:50:39.362 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227892342821] [2025/04/04 10:50:39.366 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712131] [2025/04/04 10:50:39.370 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712134] [2025/04/04 10:50:39.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712137] [2025/04/04 10:50:39.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712140] [2025/04/04 10:50:39.382 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712143] [2025/04/04 10:50:39.385 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712146] [2025/04/04 10:50:39.389 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712149] [2025/04/04 10:50:39.393 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712152] [2025/04/04 10:50:39.397 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117227905712155] [2025/04/04 10:50:39.410 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117227905712163] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.746971ms] [2025/04/04 10:50:39.410 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.856435ms] [total_duration=4.37147ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457117227905712163] [2025/04/04 10:50:39.411 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117227905712163] [commitTS=457117227905712164] [2025/04/04 10:50:39.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117227905712163] [startKey=7480000000000000d45f728000000000000000] [endKey=7480000000000000d45f728000000000000062] [concurrency=8] [2025/04/04 10:50:39.418 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117227905712163] [startKey=7480000000000000d45f728000000000000000] [endKey=7480000000000000d45f728000000000000062] ["cost time"=6.443879ms] ["completed regions"=1] [2025/04/04 10:50:39.418 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117227905712163] [commitTS=457117227905712164] [session=19] [2025/04/04 10:50:39.429 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117227918819330] [generation=1] [session=19] [keys=100] [size=2.4kB] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=2.486459ms] [2025/04/04 10:50:39.430 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.755607ms] [total_duration=8.242824ms] ["memdb traversal cache hit"=150] ["memdb traversal cache miss"=200] [size=2.4kB] [startTS=457117227918819330] [2025/04/04 10:50:39.431 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117227918819330] [commitTS=457117227918819331] [2025/04/04 10:50:39.431 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117227918819330] [startKey=7480000000000000d45f728000000000000001] [endKey=7480000000000000d45f72800000000000270f] [concurrency=8] [2025/04/04 10:50:39.432 +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"=7480000000000000d45f7280000000000003e8] [2025/04/04 10:50:39.434 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=7480000000000000d45f7280000000000003e8] ["first new region left"="{Id:64 StartKey:7480000000000000ff7d5f728000000000ff0023280000000000fa EndKey:7480000000000000ffd45f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:65 store_id:2 id:66 store_id:1 id:67 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:50:39.434 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=64] [2025/04/04 10:50:39.435 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f7280000000000003e8] ["new region left"="{Id:64 StartKey:7480000000000000ff7d5f728000000000ff0023280000000000fa EndKey:7480000000000000ffd45f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:65 store_id:2 id:66 store_id:1 id:67 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.435 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=68] [2025/04/04 10:50:39.453 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117227918819330] [startKey=7480000000000000d45f728000000000000001] [endKey=7480000000000000d45f72800000000000270f] ["cost time"=21.34475ms] ["completed regions"=10] [2025/04/04 10:50:39.453 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117227918819330] [commitTS=457117227918819331] [session=19] [2025/04/04 10:50:39.537 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f7280000000000007d0] ["new region left"="{Id:68 StartKey:7480000000000000ffd45f728000000000ff0003e80000000000fa EndKey:7480000000000000ffd45f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:69 store_id:2 id:70 store_id:1 id:71 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.537 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=72] [2025/04/04 10:50:39.538 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f728000000000000bb8] ["new region left"="{Id:72 StartKey:7480000000000000ffd45f728000000000ff0007d00000000000fa EndKey:7480000000000000ffd45f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:73 store_id:2 id:74 store_id:1 id:75 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.538 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=76] [2025/04/04 10:50:39.539 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f728000000000000fa0] ["new region left"="{Id:76 StartKey:7480000000000000ffd45f728000000000ff000bb80000000000fa EndKey:7480000000000000ffd45f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:77 store_id:2 id:78 store_id:1 id:79 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.539 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=80] [2025/04/04 10:50:39.540 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f728000000000001388] ["new region left"="{Id:80 StartKey:7480000000000000ffd45f728000000000ff000fa00000000000fa EndKey:7480000000000000ffd45f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:81 store_id:2 id:82 store_id:1 id:83 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.540 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=84] [2025/04/04 10:50:39.541 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f728000000000001770] ["new region left"="{Id:84 StartKey:7480000000000000ffd45f728000000000ff0013880000000000fa EndKey:7480000000000000ffd45f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:85 store_id:2 id:86 store_id:1 id:87 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.541 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=88] [2025/04/04 10:50:39.542 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f728000000000001b58] ["new region left"="{Id:88 StartKey:7480000000000000ffd45f728000000000ff0017700000000000fa EndKey:7480000000000000ffd45f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:89 store_id:2 id:90 store_id:1 id:91 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.542 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=92] [2025/04/04 10:50:39.543 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f728000000000001f40] ["new region left"="{Id:92 StartKey:7480000000000000ffd45f728000000000ff001b580000000000fa EndKey:7480000000000000ffd45f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:93 store_id:2 id:94 store_id:1 id:95 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.543 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=96] [2025/04/04 10:50:39.544 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000d45f728000000000002328] ["new region left"="{Id:96 StartKey:7480000000000000ffd45f728000000000ff001f400000000000fa EndKey:7480000000000000ffd45f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:23} Peers:[id:97 store_id:2 id:98 store_id:1 id:99 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:39.544 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[64,68,72,76,80,84,88,92,96]"] [2025/04/04 10:50:39.544 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=64] [backoff(ms)=299887] [2025/04/04 10:50:39.545 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=64] [2025/04/04 10:50:39.545 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=68] [backoff(ms)=299887] [2025/04/04 10:50:39.545 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=68] [2025/04/04 10:50:39.545 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=72] [backoff(ms)=299886] [2025/04/04 10:50:39.546 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=72] [2025/04/04 10:50:39.546 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=76] [backoff(ms)=299886] [2025/04/04 10:50:39.546 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=76] [2025/04/04 10:50:39.546 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=80] [backoff(ms)=299885] [2025/04/04 10:50:39.547 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=80] [2025/04/04 10:50:39.547 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=84] [backoff(ms)=299885] [2025/04/04 10:50:39.547 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=84] [2025/04/04 10:50:39.547 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=88] [backoff(ms)=299884] [2025/04/04 10:50:39.548 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=88] [2025/04/04 10:50:39.548 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=92] [backoff(ms)=299884] [2025/04/04 10:50:39.548 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=92] [2025/04/04 10:50:39.548 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=96] [backoff(ms)=299883] [2025/04/04 10:50:39.549 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=96] [2025/04/04 10:50:39.558 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117227945033735] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=2.28907ms] [2025/04/04 10:50:39.559 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=2.392513ms] [total_duration=7.843217ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457117227945033735] [2025/04/04 10:50:39.560 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117227945033735] [commitTS=457117227945033737] [2025/04/04 10:50:39.560 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117227945033735] [startKey=7480000000000000d45f728000000000000065] [endKey=7480000000000000d45f72800000000000270f] [concurrency=8] [2025/04/04 10:50:39.683 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:39.683 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [] [2025/04/04 10:50:39.683 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117227945033735] [startKey=7480000000000000d45f728000000000000065] [endKey=7480000000000000d45f72800000000000270f] ["cost time"=122.962204ms] ["completed regions"=10] [2025/04/04 10:50:39.683 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.683 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117227945033735] [commitTS=457117227945033737] [session=19] [2025/04/04 10:50:39.683 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:39.683 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:39.683 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:39.684 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=162.509Β΅s] [2025/04/04 10:50:39.684 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=110.01Β΅s] [2025/04/04 10:50:39.684 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=103.596Β΅s] [2025/04/04 10:50:39.684 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.684 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.685 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:39.685 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:39.689 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1aadab84-12c8-4f3d-b383-d46636444a1c] ["take time"=6.555185ms] [2025/04/04 10:50:39.689 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.689 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:39.690 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/e396fafb-1ea7-4586-8c5d-2efae521a2f6] [2025/04/04 10:50:39.690 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [ttl-worker=task-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [originalCount=4] [newCount=0] [2025/04/04 10:50:39.690 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:39.690 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:39.690 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:39.690 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:39.690 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [ttl-worker=task-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [originalCount=4] [newCount=0] [2025/04/04 10:50:39.691 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:50:39.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:39.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:39.692 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:39.693 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:39.694 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:39.694 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:39.694 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:39.696 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.696 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:39.697 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1753] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:39.698 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:39.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:39.698 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:39.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:39.698 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [2025/04/04 10:50:39.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:39.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:39.698 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:39.699 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:39.699 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [2025/04/04 10:50:39.699 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:39.699 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [2025/04/04 10:50:39.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:39.701 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:39.701 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:39.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:39.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:39.701 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=91a71326-3070-4e2c-b6dd-8d4caee303ed] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:39.701 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:39.701 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:39.701 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:39.702 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [error="context canceled"] [2025/04/04 10:50:39.702 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.702 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [error="context canceled"] [2025/04/04 10:50:39.702 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [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/04 10:50:39.720 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:39.720 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:39.732 +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).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\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).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:50:39.737 +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/internal/exec.(*BaseExecutorV2).Close\n\tpkg/executor/internal/exec/executor.go:315\ngithub.com/pingcap/tidb/pkg/executor.(*LimitExec).Close\n\tpkg/executor/select.go:511\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/parser/terror.Call\n\tpkg/parser/terror/terror.go:315\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:110\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 10:50:39.737 +00:00] [ERROR] [subscribe.go:170] ["Error processing events"] [category=ddl-notifier] [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.(*LimitExec).Next\n\tpkg/executor/select.go:466\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/util/sqlexec.DrainRecordSet\n\tpkg/util/sqlexec/restricted_sql_executor.go:241\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:109\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 10:50:39.738 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.738 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [2025/04/04 10:50:39.738 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1aadab84-12c8-4f3d-b383-d46636444a1c] [error="context canceled"] [2025/04/04 10:50:39.738 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:39.738 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:39.738 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:39.766 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:39.766 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:39.777 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=94.271976ms] [2025/04/04 10:50:40.470 +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/04 10:50:44.419 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117227905712163 commit_ts:457117227905712164 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:44.419 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117227905712163 commit_ts:457117227905712164 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:44.419 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117227905712163 commit_ts:457117227905712164 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:44.454 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117227918819330 commit_ts:457117227918819331 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:44.454 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117227918819330 commit_ts:457117227918819331 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:44.454 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117227918819330 commit_ts:457117227918819331 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:44.684 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117227945033735 commit_ts:457117227945033737 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:44.684 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117227945033735 commit_ts:457117227945033737 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:44.685 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117227945033735 commit_ts:457117227945033737 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:44.685 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:44.685 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:44.685 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:44.685 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:44.685 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:44.685 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:44.685 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:44.685 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:44.685 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:44.685 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:44.685 +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/04 10:50:44.685 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:44.686 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDelete (6.23s) === NAME === RUN TestPipelinedDMLUpdate [2025/04/04 10:50:44.696 +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/04 10:50:44.696 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:44.697 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:44.698 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:44.698 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:44.698 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:44.698 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:44.698 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:44.698 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:44.699 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:44.699 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:44.702 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:44.707 +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/04 10:50:44.708 +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/04 10:50:44.708 +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/04 10:50:44.718 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:44.728 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:44.763 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=618] ["lease id"=3eaa960069ddadfc] [2025/04/04 10:50:44.765 +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/04 10:50:44.857 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=162] ["elapsed time"=89.22748ms] [2025/04/04 10:50:44.857 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:44.859 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:44.866 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:44.866 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:44.868 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:44.869 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:44.869 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267928784896/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:44.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:44.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:44.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:44.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:44.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:44.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:44.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:44.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:44.870 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:44.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:44.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:44.870 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:44.870 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [2025/04/04 10:50:44.871 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddae02] [ownerID=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [op=none] [2025/04/04 10:50:44.871 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:44.872 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddae02] [currRev=757] [2025/04/04 10:50:44.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:44.872 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:44.873 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:44.873 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb34f] [ownerID=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [op=none] [2025/04/04 10:50:44.873 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [2025/04/04 10:50:44.873 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [ownerKey=/tidb/br-stream/owner/2231960069ddb34f] [currRev=758] [2025/04/04 10:50:44.873 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddae02] [ownerID=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [op=none] [2025/04/04 10:50:44.873 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [op=none] [2025/04/04 10:50:44.873 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:44.882 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:44.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:44.883 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:44.886 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa960069ddae08] [ownerID=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [op=none] [2025/04/04 10:50:44.886 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:44.886 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [ownerKey=/tidb/bindinfo/owner/3eaa960069ddae08] [currRev=759] [2025/04/04 10:50:44.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:44.900 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:44.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:44.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:44.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:44.905 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:44.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:44.905 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:44.905 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:44.905 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:44.905 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:44.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:44.906 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:44.907 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:44.907 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:44.907 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:44.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:44.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:44.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:44.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:44.909 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:44.912 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:44.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:44.912 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/081817bf-7dd8-4bc7-8893-bb6bebcd6ddd] [2025/04/04 10:50:44.912 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:44.913 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763844913084514 [2025/04/04 10:50:44.913 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [ttl-worker=task-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [originalCount=0] [newCount=4] [2025/04/04 10:50:44.913 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [ttl-worker=task-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [originalCount=0] [newCount=4] [2025/04/04 10:50:44.913 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:44.918 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:44.924 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.876341ms] [2025/04/04 10:50:44.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:44.924 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:44.927 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:44.930 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=162] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:50:44.932 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=162] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:44.945 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:216, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:44.945 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:216, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:44.951 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=216] [conn=20] [job="ID:216, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:44.967 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=2.010472ms] [gotSchemaVersion=163] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:44.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=163] [2025/04/04 10:50:44.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=163] ["take time"=9.882137ms] [job="ID:216, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:44.984 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=216] [conn=20] [job="ID:216, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.993855ms] [gotSchemaVersion=164] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:45.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=164] [2025/04/04 10:50:45.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=164] ["take time"=10.040077ms] [job="ID:216, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.015 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=216] [conn=20] [job="ID:216, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.023 +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: _t)"] [2025/04/04 10:50:45.037 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.160876ms] [gotSchemaVersion=165] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:45.041 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=165] [2025/04/04 10:50:45.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=165] ["take time"=8.877232ms] [job="ID:216, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.053 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=216] [tableIDs="[214]"] [comment="drop table: table ID"] [2025/04/04 10:50:45.060 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=216] [jobType="drop table"] [2025/04/04 10:50:45.061 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=216] [conn=20] [job="ID:216, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:44.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.081 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=216] [2025/04/04 10:50:45.092 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:45.092 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:217, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:45.098 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=20] [job="ID:217, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=1.916679ms] [gotSchemaVersion=166] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:45.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=166] [2025/04/04 10:50:45.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=166] ["take time"=9.13851ms] [job="ID:217, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.129 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=20] [job="ID:217, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=1.859058ms] [gotSchemaVersion=167] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:45.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=167] [2025/04/04 10:50:45.150 +00:00] [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"=8.978237ms] [job="ID:217, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.159 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=20] [job="ID:217, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.166 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 212, Old Table Name: t)"] [2025/04/04 10:50:45.180 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=1.151894ms] [gotSchemaVersion=168] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:45.184 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=168] [2025/04/04 10:50:45.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=168] ["take time"=9.048897ms] [job="ID:217, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.195 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=217] [tableIDs="[212]"] [comment="drop table: table ID"] [2025/04/04 10:50:45.200 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=217] [jobType="drop table"] [2025/04/04 10:50:45.201 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=217] [conn=20] [job="ID:217, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.218 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/04 10:50:45.219 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=168] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763845219278545 [2025/04/04 10:50:45.222 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=168] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:50:45.236 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:45.236 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:219, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:50:45.242 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=21] [job="ID:219, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:45.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.246 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 218, Table Name: t)"] [2025/04/04 10:50:45.261 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.607289ms] [gotSchemaVersion=169] [phyTblIDs="[218]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:45.267 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=169] [2025/04/04 10:50:45.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=169] ["take time"=11.932969ms] [job="ID:219, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.282 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=219] [conn=21] [job="ID:219, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:45.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.293 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/04 10:50:45.293 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=169] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:50:45.306 +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-04 10:50:45.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:45.306 +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-04 10:50:45.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:50:45.312 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=221] [conn=21] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:45.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.316 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 220, Table Name: _t)"] [2025/04/04 10:50:45.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=1.597126ms] [gotSchemaVersion=170] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:45.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=170] [2025/04/04 10:50:45.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=170] ["take time"=9.052684ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:45.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.349 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=221] [conn=21] [job="ID:221, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:45.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:45.362 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/04 10:50:45.362 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=170] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:50:45.365 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478313986] [2025/04/04 10:50:45.369 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478313990] [2025/04/04 10:50:45.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478313995] [2025/04/04 10:50:45.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314000] [2025/04/04 10:50:45.382 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314003] [2025/04/04 10:50:45.386 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314006] [2025/04/04 10:50:45.390 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314009] [2025/04/04 10:50:45.394 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314012] [2025/04/04 10:50:45.398 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314015] [2025/04/04 10:50:45.402 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314018] [2025/04/04 10:50:45.406 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314021] [2025/04/04 10:50:45.410 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229478314024] [2025/04/04 10:50:45.413 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421185] [2025/04/04 10:50:45.417 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421188] [2025/04/04 10:50:45.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421191] [2025/04/04 10:50:45.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421194] [2025/04/04 10:50:45.429 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421198] [2025/04/04 10:50:45.433 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421201] [2025/04/04 10:50:45.437 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421204] [2025/04/04 10:50:45.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421207] [2025/04/04 10:50:45.445 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421210] [2025/04/04 10:50:45.449 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421213] [2025/04/04 10:50:45.452 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421216] [2025/04/04 10:50:45.456 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421219] [2025/04/04 10:50:45.460 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229491421222] [2025/04/04 10:50:45.464 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528385] [2025/04/04 10:50:45.467 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528388] [2025/04/04 10:50:45.471 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528391] [2025/04/04 10:50:45.475 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528395] [2025/04/04 10:50:45.479 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528398] [2025/04/04 10:50:45.483 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528401] [2025/04/04 10:50:45.487 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528404] [2025/04/04 10:50:45.491 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528407] [2025/04/04 10:50:45.495 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528410] [2025/04/04 10:50:45.499 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528413] [2025/04/04 10:50:45.503 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528416] [2025/04/04 10:50:45.507 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528419] [2025/04/04 10:50:45.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229504528422] [2025/04/04 10:50:45.514 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897730] [2025/04/04 10:50:45.518 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897734] [2025/04/04 10:50:45.522 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897737] [2025/04/04 10:50:45.527 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897741] [2025/04/04 10:50:45.531 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897744] [2025/04/04 10:50:45.535 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897747] [2025/04/04 10:50:45.539 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897750] [2025/04/04 10:50:45.543 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897753] [2025/04/04 10:50:45.546 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897756] [2025/04/04 10:50:45.550 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897759] [2025/04/04 10:50:45.554 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897762] [2025/04/04 10:50:45.558 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897765] [2025/04/04 10:50:45.562 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229517897768] [2025/04/04 10:50:45.566 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004931] [2025/04/04 10:50:45.570 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004934] [2025/04/04 10:50:45.574 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004937] [2025/04/04 10:50:45.578 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004941] [2025/04/04 10:50:45.582 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004944] [2025/04/04 10:50:45.586 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004947] [2025/04/04 10:50:45.590 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004950] [2025/04/04 10:50:45.593 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004953] [2025/04/04 10:50:45.597 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004956] [2025/04/04 10:50:45.601 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004959] [2025/04/04 10:50:45.605 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004962] [2025/04/04 10:50:45.609 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004965] [2025/04/04 10:50:45.613 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229531004968] [2025/04/04 10:50:45.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112131] [2025/04/04 10:50:45.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112135] [2025/04/04 10:50:45.626 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112140] [2025/04/04 10:50:45.630 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112144] [2025/04/04 10:50:45.634 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112147] [2025/04/04 10:50:45.637 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112150] [2025/04/04 10:50:45.641 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112153] [2025/04/04 10:50:45.645 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112156] [2025/04/04 10:50:45.649 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112159] [2025/04/04 10:50:45.653 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112162] [2025/04/04 10:50:45.657 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112165] [2025/04/04 10:50:45.661 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229544112168] [2025/04/04 10:50:45.665 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957186] [2025/04/04 10:50:45.671 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957189] [2025/04/04 10:50:45.679 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957193] [2025/04/04 10:50:45.684 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957196] [2025/04/04 10:50:45.689 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957199] [2025/04/04 10:50:45.693 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957202] [2025/04/04 10:50:45.697 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957205] [2025/04/04 10:50:45.701 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957208] [2025/04/04 10:50:45.706 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957211] [2025/04/04 10:50:45.711 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229556957214] [2025/04/04 10:50:45.715 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326530] [2025/04/04 10:50:45.719 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326533] [2025/04/04 10:50:45.723 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326536] [2025/04/04 10:50:45.727 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326540] [2025/04/04 10:50:45.731 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326543] [2025/04/04 10:50:45.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326546] [2025/04/04 10:50:45.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326549] [2025/04/04 10:50:45.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326552] [2025/04/04 10:50:45.747 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326555] [2025/04/04 10:50:45.751 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326558] [2025/04/04 10:50:45.755 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326561] [2025/04/04 10:50:45.759 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326564] [2025/04/04 10:50:45.763 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229570326567] [2025/04/04 10:50:45.767 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117229583433731] [2025/04/04 10:50:45.781 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433737] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.251636ms] [2025/04/04 10:50:45.783 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433737] [generation=2] [session=21] [keys=27] [size=783B] ["flushed keys"=37] ["flushed size"=1.073kB] ["take time"=1.361464ms] [2025/04/04 10:50:45.784 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433737] [generation=3] [session=21] [keys=31] [size=899B] ["flushed keys"=68] ["flushed size"=1.972kB] ["take time"=1.270671ms] [2025/04/04 10:50:45.786 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433737] [generation=4] [session=21] [keys=28] [size=812B] ["flushed keys"=96] ["flushed size"=2.784kB] ["take time"=1.201502ms] [2025/04/04 10:50:45.787 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433737] [generation=5] [session=21] [keys=4] [size=116B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=843.95Β΅s] [2025/04/04 10:50:45.787 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.807212ms] [total_duration=8.696337ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457117229583433737] [2025/04/04 10:50:45.788 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117229583433737] [commitTS=457117229583433738] [2025/04/04 10:50:45.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117229583433737] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f728000000000000063] [concurrency=8] [2025/04/04 10:50:45.794 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117229583433737] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f728000000000000063] ["cost time"=5.187052ms] ["completed regions"=1] [2025/04/04 10:50:45.794 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117229583433737] [commitTS=457117229583433738] [session=21] [2025/04/04 10:50:45.801 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433740] [generation=1] [session=21] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.177682ms] [2025/04/04 10:50:45.802 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433740] [generation=2] [session=21] [keys=28] [size=672B] ["flushed keys"=38] ["flushed size"=912B] ["take time"=1.345868ms] [2025/04/04 10:50:45.804 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433740] [generation=3] [session=21] [keys=30] [size=720B] ["flushed keys"=68] ["flushed size"=1.632kB] ["take time"=1.262179ms] [2025/04/04 10:50:45.805 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433740] [generation=4] [session=21] [keys=32] [size=768B] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=1.311506ms] [2025/04/04 10:50:45.807 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433740] [generation=5] [session=21] [keys=34] [size=816B] ["flushed keys"=134] ["flushed size"=3.216kB] ["take time"=1.295903ms] [2025/04/04 10:50:45.808 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433740] [generation=6] [session=21] [keys=32] [size=768B] ["flushed keys"=166] ["flushed size"=3.984kB] ["take time"=1.363045ms] [2025/04/04 10:50:45.810 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229583433740] [generation=7] [session=21] [keys=32] [size=768B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=1.275467ms] [2025/04/04 10:50:45.810 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=198] [flush_wait_duration=1.3766ms] [total_duration=12.293068ms] ["memdb traversal cache hit"=297] ["memdb traversal cache miss"=396] [size=4.752kB] [startTS=457117229583433740] [2025/04/04 10:50:45.811 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117229583433740] [commitTS=457117229583433741] [2025/04/04 10:50:45.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117229583433740] [startKey=7480000000000000da5f728000000000000001] [endKey=7480000000000000da5f7280000000000026ac] [concurrency=8] [2025/04/04 10:50:45.812 +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"=7480000000000000da5f7280000000000003e8] [2025/04/04 10:50:45.815 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=7480000000000000da5f7280000000000003e8] ["first new region left"="{Id:100 StartKey:7480000000000000ffd45f728000000000ff0023280000000000fa EndKey:7480000000000000ffda5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:101 store_id:2 id:102 store_id:1 id:103 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:50:45.815 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=100] [2025/04/04 10:50:45.815 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f7280000000000003e8] ["new region left"="{Id:100 StartKey:7480000000000000ffd45f728000000000ff0023280000000000fa EndKey:7480000000000000ffda5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:101 store_id:2 id:102 store_id:1 id:103 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.816 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=104] [2025/04/04 10:50:45.817 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f7280000000000007d0] ["new region left"="{Id:104 StartKey:7480000000000000ffda5f728000000000ff0003e80000000000fa EndKey:7480000000000000ffda5f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:105 store_id:2 id:106 store_id:1 id:107 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.817 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=108] [2025/04/04 10:50:45.818 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f728000000000000bb8] ["new region left"="{Id:108 StartKey:7480000000000000ffda5f728000000000ff0007d00000000000fa EndKey:7480000000000000ffda5f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:109 store_id:2 id:110 store_id:1 id:111 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.818 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=112] [2025/04/04 10:50:45.819 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f728000000000000fa0] ["new region left"="{Id:112 StartKey:7480000000000000ffda5f728000000000ff000bb80000000000fa EndKey:7480000000000000ffda5f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:113 store_id:2 id:114 store_id:1 id:115 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.819 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=116] [2025/04/04 10:50:45.820 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f728000000000001388] ["new region left"="{Id:116 StartKey:7480000000000000ffda5f728000000000ff000fa00000000000fa EndKey:7480000000000000ffda5f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:117 store_id:2 id:118 store_id:1 id:119 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.820 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=120] [2025/04/04 10:50:45.821 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f728000000000001770] ["new region left"="{Id:120 StartKey:7480000000000000ffda5f728000000000ff0013880000000000fa EndKey:7480000000000000ffda5f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:121 store_id:2 id:122 store_id:1 id:123 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.821 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=124] [2025/04/04 10:50:45.822 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f728000000000001b58] ["new region left"="{Id:124 StartKey:7480000000000000ffda5f728000000000ff0017700000000000fa EndKey:7480000000000000ffda5f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:125 store_id:2 id:126 store_id:1 id:127 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.822 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=128] [2025/04/04 10:50:45.823 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f728000000000001f40] ["new region left"="{Id:128 StartKey:7480000000000000ffda5f728000000000ff001b580000000000fa EndKey:7480000000000000ffda5f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:129 store_id:2 id:130 store_id:1 id:131 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.823 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=132] [2025/04/04 10:50:45.823 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000000da5f728000000000002328] ["new region left"="{Id:132 StartKey:7480000000000000ffda5f728000000000ff001f400000000000fa EndKey:7480000000000000ffda5f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:32} Peers:[id:133 store_id:2 id:134 store_id:1 id:135 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:50:45.824 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[100,104,108,112,116,120,124,128,132]"] [2025/04/04 10:50:45.824 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=100] [backoff(ms)=299988] [2025/04/04 10:50:45.825 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=100] [2025/04/04 10:50:45.825 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=104] [backoff(ms)=299987] [2025/04/04 10:50:45.825 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=104] [2025/04/04 10:50:45.825 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=108] [backoff(ms)=299987] [2025/04/04 10:50:45.826 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=108] [2025/04/04 10:50:45.826 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=112] [backoff(ms)=299986] [2025/04/04 10:50:45.826 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=112] [2025/04/04 10:50:45.826 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=116] [backoff(ms)=299985] [2025/04/04 10:50:45.827 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=116] [2025/04/04 10:50:45.827 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=120] [backoff(ms)=299985] [2025/04/04 10:50:45.827 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=120] [2025/04/04 10:50:45.827 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=124] [backoff(ms)=299984] [2025/04/04 10:50:45.828 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=124] [2025/04/04 10:50:45.828 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=128] [backoff(ms)=299984] [2025/04/04 10:50:45.828 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=128] [2025/04/04 10:50:45.828 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=132] [backoff(ms)=299983] [2025/04/04 10:50:45.829 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=132] [2025/04/04 10:50:45.836 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117229583433740] [startKey=7480000000000000da5f728000000000000001] [endKey=7480000000000000da5f7280000000000026ac] ["cost time"=24.701327ms] ["completed regions"=10] [2025/04/04 10:50:45.836 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117229583433740] [commitTS=457117229583433741] [session=21] [2025/04/04 10:50:45.837 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229596278802] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.261743ms] [2025/04/04 10:50:45.839 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229596278802] [generation=2] [session=21] [keys=27] [size=783B] ["flushed keys"=37] ["flushed size"=1.073kB] ["take time"=1.482159ms] [2025/04/04 10:50:45.840 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229596278802] [generation=3] [session=21] [keys=32] [size=928B] ["flushed keys"=69] ["flushed size"=2.001kB] ["take time"=1.616789ms] [2025/04/04 10:50:45.842 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117229596278802] [generation=4] [session=21] [keys=31] [size=899B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=1.340007ms] [2025/04/04 10:50:45.842 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.454112ms] [total_duration=11.380209ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457117229596278802] [2025/04/04 10:50:45.843 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117229596278802] [commitTS=457117229596278803] [2025/04/04 10:50:45.843 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117229596278802] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f7280000000000026ac] [concurrency=8] [2025/04/04 10:50:45.851 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117229596278802] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f7280000000000026ac] ["cost time"=7.329362ms] ["completed regions"=10] [2025/04/04 10:50:45.851 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117229596278802] [commitTS=457117229596278803] [session=21] [2025/04/04 10:50:45.852 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:45.852 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [] [2025/04/04 10:50:45.852 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:45.852 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.852 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:45.852 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:45.852 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=70.228Β΅s] [2025/04/04 10:50:45.852 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=33.937Β΅s] [2025/04/04 10:50:45.853 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=50.762Β΅s] [2025/04/04 10:50:45.853 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=39.203Β΅s] [2025/04/04 10:50:45.853 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.853 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.854 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:45.854 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:45.856 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] ["take time"=4.09603ms] [2025/04/04 10:50:45.856 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.856 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:45.856 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/081817bf-7dd8-4bc7-8893-bb6bebcd6ddd] [2025/04/04 10:50:45.856 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [ttl-worker=task-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [originalCount=4] [newCount=0] [2025/04/04 10:50:45.856 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:45.856 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:45.856 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:45.856 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:45.856 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [ttl-worker=task-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [originalCount=4] [newCount=0] [2025/04/04 10:50:45.859 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:45.859 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:45.859 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:45.859 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:45.861 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.861 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:45.862 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=618] [2025/04/04 10:50:45.862 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:45.862 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:45.862 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:45.862 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:45.862 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:45.862 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:45.863 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:45.862 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:45.863 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:45.863 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [] [2025/04/04 10:50:45.863 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:45.863 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:45.863 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:45.864 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:45.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:45.865 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [error="context canceled"] [2025/04/04 10:50:45.865 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.865 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6b8b9117-92c6-4ec4-adac-a55ddaa81c7c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:45.865 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:45.865 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:45.865 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:45.865 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:45.865 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:45.865 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [] [2025/04/04 10:50:45.865 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:45.865 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.865 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:45.865 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [error="context canceled"] [2025/04/04 10:50:45.865 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.865 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [2025/04/04 10:50:45.865 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:45.866 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:45.866 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [error="context canceled"] [2025/04/04 10:50:45.866 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:45.866 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=2ec0ebaa-8ac3-4581-9193-aa753cc2054a] [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/04 10:50:45.882 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:45.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:45.927 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:45.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:45.936 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.576655ms] [2025/04/04 10:50:46.703 +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/04 10:50:50.794 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117229583433737 commit_ts:457117229583433738 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:50.794 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117229583433737 commit_ts:457117229583433738 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:50.794 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117229583433737 commit_ts:457117229583433738 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:50.837 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117229583433740 commit_ts:457117229583433741 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:50.837 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117229583433740 commit_ts:457117229583433741 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:50.838 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117229583433740 commit_ts:457117229583433741 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:50.852 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117229596278802 commit_ts:457117229596278803 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:50.852 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117229596278802 commit_ts:457117229596278803 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:50.852 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117229596278802 commit_ts:457117229596278803 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:50.852 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:50.852 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:50.852 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:50.852 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:50.852 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:50.852 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:50.852 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:50.852 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:50.852 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:50.852 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:50.852 +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/04 10:50:50.852 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:50.854 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLUpdate (6.17s) === NAME === RUN TestPipelinedDMLCommitFailed [2025/04/04 10:50:50.862 +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/04 10:50:50.863 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:50.864 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:50.865 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:50.865 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:50.865 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:50.865 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:50.865 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:50.865 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:50.866 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:50.866 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:50.870 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:50.875 +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/04 10:50:50.876 +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/04 10:50:50.877 +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/04 10:50:50.888 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:50.899 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:50.933 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1405] ["lease id"=3eaa960069ddae35] [2025/04/04 10:50:50.936 +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/04 10:50:51.023 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=170] ["elapsed time"=84.190348ms] [2025/04/04 10:50:51.023 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:51.026 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:51.031 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=73abaeb7-36bb-446e-b35b-c10c26f3505a] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:51.031 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:51.034 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.035 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:51.035 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267898105856/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:51.035 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:51.036 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:51.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:51.036 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:51.036 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [2025/04/04 10:50:51.037 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddae3a] [ownerID=73abaeb7-36bb-446e-b35b-c10c26f3505a] [op=none] [2025/04/04 10:50:51.037 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.038 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddae3a] [currRev=797] [2025/04/04 10:50:51.038 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:51.038 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:51.039 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:51.039 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb377] [ownerID=dc86fa78-e051-421a-bf02-aa8246b55eb2] [op=none] [2025/04/04 10:50:51.039 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [2025/04/04 10:50:51.039 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [ownerKey=/tidb/br-stream/owner/2231960069ddb377] [currRev=798] [2025/04/04 10:50:51.039 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddae3a] [ownerID=73abaeb7-36bb-446e-b35b-c10c26f3505a] [op=none] [2025/04/04 10:50:51.039 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [op=none] [2025/04/04 10:50:51.039 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:51.049 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:51.050 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:51.059 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:51.067 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:51.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:51.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:51.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:51.072 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:51.072 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:51.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:51.072 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:51.072 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:51.072 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:51.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:51.073 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:51.074 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:51.074 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:51.074 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:51.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:51.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:51.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:51.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:51.076 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:51.079 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:51.079 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:51.080 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:51.080 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:50:51.080 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8ebc681f-d301-4112-8382-0afac73b3af4] testkit.go:123: RefreshSession rand seed: 1743763851080273124 [2025/04/04 10:50:51.080 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [ttl-worker=task-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [originalCount=0] [newCount=4] [2025/04/04 10:50:51.080 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [ttl-worker=task-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [originalCount=0] [newCount=4] [2025/04/04 10:50:51.080 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.084 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:51.091 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.619534ms] [2025/04/04 10:50:51.091 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:51.091 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:51.101 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:51.114 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:51.117 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=170] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:50:51.119 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=170] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:51.132 +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-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:51.132 +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-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:51.138 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=22] [job="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.155 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=2.003326ms] [gotSchemaVersion=171] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:51.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=171] [2025/04/04 10:50:51.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=171] ["take time"=9.938041ms] [job="ID:222, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=22] [job="ID:222, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=1.85002ms] [gotSchemaVersion=172] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:51.191 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=172] [2025/04/04 10:50:51.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=172] ["take time"=9.290389ms] [job="ID:222, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.201 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=22] [job="ID:222, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.207 +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: _t)"] [2025/04/04 10:50:51.220 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=1.146741ms] [gotSchemaVersion=173] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:51.224 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=173] [2025/04/04 10:50:51.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=173] ["take time"=8.914132ms] [job="ID:222, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.236 +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/04 10:50:51.244 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=222] [jobType="drop table"] [2025/04/04 10:50:51.245 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=222] [conn=22] [job="ID:222, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=222] [2025/04/04 10:50:51.277 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:51.277 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:51.283 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=22] [job="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.914989ms] [gotSchemaVersion=174] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:51.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=174] [2025/04/04 10:50:51.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=174] ["take time"=9.105637ms] [job="ID:223, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.315 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=22] [job="ID:223, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=2.089053ms] [gotSchemaVersion=175] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:51.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=175] [2025/04/04 10:50:51.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=175] ["take time"=9.860941ms] [job="ID:223, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.346 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=22] [job="ID:223, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.353 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 218, Old Table Name: t)"] [2025/04/04 10:50:51.367 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=1.126426ms] [gotSchemaVersion=176] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:51.371 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=176] [2025/04/04 10:50:51.373 +00:00] [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.87975ms] [job="ID:223, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.383 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=223] [tableIDs="[218]"] [comment="drop table: table ID"] [2025/04/04 10:50:51.387 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=223] [jobType="drop table"] [2025/04/04 10:50:51.388 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=223] [conn=22] [job="ID:223, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.407 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=223] [2025/04/04 10:50:51.407 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=176] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763851407749124 testkit.go:123: RefreshSession rand seed: 1743763851410021484 [2025/04/04 10:50:51.414 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=176] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:50:51.427 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:51.427 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:50:51.433 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=23] [job="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.437 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 224, Table Name: t)"] [2025/04/04 10:50:51.452 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=1.674579ms] [gotSchemaVersion=177] [phyTblIDs="[224]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:51.456 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=177] [2025/04/04 10:50:51.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=177] ["take time"=9.00698ms] [job="ID:225, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.469 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=225] [conn=23] [job="ID:225, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.480 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/04 10:50:51.481 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=177] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:50:51.494 +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-04 10:50:51.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:50:51.494 +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-04 10:50:51.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:51.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=227] [conn=23] [job="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.504 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 226, Table Name: _t)"] [2025/04/04 10:50:51.518 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=1.532801ms] [gotSchemaVersion=178] [phyTblIDs="[226]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:51.522 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=178] [2025/04/04 10:50:51.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=178] ["take time"=8.733417ms] [job="ID:227, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:51.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.535 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=227] [conn=23] [job="ID:227, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:51.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:51.546 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/04 10:50:51.547 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=178] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:50:51.550 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231090499601] [2025/04/04 10:50:51.554 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231090499605] [2025/04/04 10:50:51.558 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231090499608] [2025/04/04 10:50:51.561 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231090499611] [2025/04/04 10:50:51.565 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868930] [2025/04/04 10:50:51.569 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868933] [2025/04/04 10:50:51.573 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868936] [2025/04/04 10:50:51.577 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868939] [2025/04/04 10:50:51.581 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868942] [2025/04/04 10:50:51.585 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868945] [2025/04/04 10:50:51.589 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868948] [2025/04/04 10:50:51.593 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868952] [2025/04/04 10:50:51.596 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868955] [2025/04/04 10:50:51.600 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868958] [2025/04/04 10:50:51.603 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868961] [2025/04/04 10:50:51.607 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868964] [2025/04/04 10:50:51.611 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231103868967] [2025/04/04 10:50:51.615 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976130] [2025/04/04 10:50:51.619 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976133] [2025/04/04 10:50:51.623 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976136] [2025/04/04 10:50:51.627 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976139] [2025/04/04 10:50:51.631 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976142] [2025/04/04 10:50:51.635 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976145] [2025/04/04 10:50:51.639 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976148] [2025/04/04 10:50:51.642 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976152] [2025/04/04 10:50:51.646 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976155] [2025/04/04 10:50:51.650 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976158] [2025/04/04 10:50:51.654 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976161] [2025/04/04 10:50:51.658 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976164] [2025/04/04 10:50:51.662 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231116976167] [2025/04/04 10:50:51.666 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821187] [2025/04/04 10:50:51.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821190] [2025/04/04 10:50:51.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821193] [2025/04/04 10:50:51.678 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821196] [2025/04/04 10:50:51.681 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821199] [2025/04/04 10:50:51.685 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821203] [2025/04/04 10:50:51.689 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821206] [2025/04/04 10:50:51.694 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821210] [2025/04/04 10:50:51.697 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821213] [2025/04/04 10:50:51.701 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821216] [2025/04/04 10:50:51.705 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821219] [2025/04/04 10:50:51.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231129821222] [2025/04/04 10:50:51.717 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928385] [2025/04/04 10:50:51.722 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928388] [2025/04/04 10:50:51.726 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928391] [2025/04/04 10:50:51.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928394] [2025/04/04 10:50:51.734 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928397] [2025/04/04 10:50:51.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928400] [2025/04/04 10:50:51.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928404] [2025/04/04 10:50:51.747 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928407] [2025/04/04 10:50:51.751 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928410] [2025/04/04 10:50:51.755 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928413] [2025/04/04 10:50:51.759 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231142928416] [2025/04/04 10:50:51.764 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035585] [2025/04/04 10:50:51.768 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035588] [2025/04/04 10:50:51.773 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035591] [2025/04/04 10:50:51.777 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035594] [2025/04/04 10:50:51.781 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035597] [2025/04/04 10:50:51.785 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035600] [2025/04/04 10:50:51.790 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035604] [2025/04/04 10:50:51.794 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035610] [2025/04/04 10:50:51.798 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035613] [2025/04/04 10:50:51.802 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035616] [2025/04/04 10:50:51.806 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035619] [2025/04/04 10:50:51.810 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231156035622] [2025/04/04 10:50:51.814 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404930] [2025/04/04 10:50:51.818 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404933] [2025/04/04 10:50:51.822 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404936] [2025/04/04 10:50:51.826 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404939] [2025/04/04 10:50:51.830 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404942] [2025/04/04 10:50:51.834 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404945] [2025/04/04 10:50:51.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404948] [2025/04/04 10:50:51.841 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404951] [2025/04/04 10:50:51.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404955] [2025/04/04 10:50:51.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404958] [2025/04/04 10:50:51.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404961] [2025/04/04 10:50:51.857 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404964] [2025/04/04 10:50:51.861 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231169404967] [2025/04/04 10:50:51.866 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512130] [2025/04/04 10:50:51.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512134] [2025/04/04 10:50:51.874 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512137] [2025/04/04 10:50:51.878 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512140] [2025/04/04 10:50:51.882 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512144] [2025/04/04 10:50:51.886 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512147] [2025/04/04 10:50:51.890 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512150] [2025/04/04 10:50:51.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512154] [2025/04/04 10:50:51.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512157] [2025/04/04 10:50:51.902 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512160] [2025/04/04 10:50:51.905 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512163] [2025/04/04 10:50:51.909 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512166] [2025/04/04 10:50:51.913 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231182512169] [2025/04/04 10:50:51.917 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619331] [2025/04/04 10:50:51.921 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619334] [2025/04/04 10:50:51.924 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619337] [2025/04/04 10:50:51.928 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619340] [2025/04/04 10:50:51.932 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619343] [2025/04/04 10:50:51.936 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619346] [2025/04/04 10:50:51.939 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619349] [2025/04/04 10:50:51.943 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619353] [2025/04/04 10:50:51.947 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117231195619356] [2025/04/04 10:50:51.962 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117231195619360] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.618803ms] [2025/04/04 10:50:51.962 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117231195619360] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=34.661Β΅s] [2025/04/04 10:50:51.962 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.673605ms] [total_duration=7.327847ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117231195619360] [2025/04/04 10:50:51.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117231195619360] [startKey=7480000000000000e25f728000000000000000] [endKey=7480000000000000e25f728000000000000063] [concurrency=8] [2025/04/04 10:50:51.962 +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/04 10:50:51.963 +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/04 10:50:51.963 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=178] [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/04 10:50:51.968 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117231195619360] [startKey=7480000000000000e25f728000000000000000] [endKey=7480000000000000e25f728000000000000063] ["cost time"=5.859224ms] ["completed regions"=1] [2025/04/04 10:50:51.968 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117231195619360] [commitTS=0] [session=23] [2025/04/04 10:50:51.978 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117231208726531] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.27339ms] [2025/04/04 10:50:51.978 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117231208726531] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=33.922Β΅s] [2025/04/04 10:50:51.978 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.369241ms] [total_duration=7.020313ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117231208726531] [2025/04/04 10:50:51.979 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117231208726531] [startKey=7480000000000000e05f728000000000000064] [endKey=7480000000000000e05f7280000000000000c7] [concurrency=8] [2025/04/04 10:50:51.979 +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/04 10:50:51.979 +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/04 10:50:51.980 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=178] [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/04 10:50:51.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117231208726531] [startKey=7480000000000000e05f728000000000000064] [endKey=7480000000000000e05f7280000000000000c7] ["cost time"=3.155728ms] ["completed regions"=1] [2025/04/04 10:50:51.982 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117231208726531] [commitTS=0] [session=23] [2025/04/04 10:50:51.985 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [] [2025/04/04 10:50:51.985 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:51.985 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.985 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:51.985 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:51.985 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:51.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=75.731Β΅s] [2025/04/04 10:50:51.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=85.177Β΅s] [2025/04/04 10:50:51.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=53.9Β΅s] [2025/04/04 10:50:51.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=94.258Β΅s] [2025/04/04 10:50:51.986 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.986 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.987 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:51.988 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:51.990 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=73abaeb7-36bb-446e-b35b-c10c26f3505a] ["take time"=5.150682ms] [2025/04/04 10:50:51.990 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.990 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:51.990 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8ebc681f-d301-4112-8382-0afac73b3af4] [2025/04/04 10:50:51.990 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [ttl-worker=task-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [originalCount=4] [newCount=0] [2025/04/04 10:50:51.990 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:51.990 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:51.990 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:51.990 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:51.991 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [ttl-worker=task-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [originalCount=4] [newCount=0] [2025/04/04 10:50:51.994 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:51.994 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:51.994 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:51.994 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:51.996 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.996 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1405] [2025/04/04 10:50:51.997 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:51.997 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:51.997 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [2025/04/04 10:50:51.997 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:51.998 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:51.998 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:51.998 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:51.998 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:51.997 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:51.998 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:51.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:51.998 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:51.997 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:51.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:51.998 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:51.998 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:51.998 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [error="context canceled"] [2025/04/04 10:50:51.998 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:51.999 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:51.999 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:51.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:51.999 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:51.999 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=dc86fa78-e051-421a-bf02-aa8246b55eb2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:51.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:51.999 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:51.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:51.999 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [error="context canceled"] [2025/04/04 10:50:51.999 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:51.999 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:51.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:52.000 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [error="context canceled"] [2025/04/04 10:50:52.000 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [2025/04/04 10:50:52.000 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [error="context canceled"] [2025/04/04 10:50:52.000 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=73abaeb7-36bb-446e-b35b-c10c26f3505a] [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/04 10:50:52.016 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:52.016 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:52.060 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:52.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:52.070 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.144248ms] [2025/04/04 10:50:52.871 +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/04 10:50:56.969 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117231195619360 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:56.969 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117231195619360 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:56.969 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117231195619360 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:56.983 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117231208726531 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:50:56.983 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117231208726531 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:50:56.983 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117231208726531 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:50:56.984 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:56.984 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:56.984 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:56.984 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:56.984 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:56.984 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:56.984 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:56.984 +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/04 10:50:56.984 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:56.984 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:56.984 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:56.984 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:56.985 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitFailed (6.13s) === NAME === RUN TestPipelinedDMLCommitSkipSecondaries [2025/04/04 10:50:56.993 +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/04 10:50:56.994 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:56.995 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:56.995 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:56.996 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:56.996 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:56.996 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:56.996 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:56.996 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:56.996 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:56.996 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:57.001 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:57.008 +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/04 10:50:57.009 +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/04 10:50:57.010 +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/04 10:50:57.020 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:57.029 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:57.066 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1228] ["lease id"=6f18960069ddada6] [2025/04/04 10:50:57.068 +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/04 10:50:57.157 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=178] ["elapsed time"=85.906657ms] [2025/04/04 10:50:57.157 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:57.159 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:57.165 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=01a3339d-0c8d-4f6c-a636-99c4dd934540] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:57.165 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:57.167 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:57.168 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:57.168 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267898556416/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:57.168 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:57.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:57.168 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:57.168 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [2025/04/04 10:50:57.170 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddae75] [ownerID=01a3339d-0c8d-4f6c-a636-99c4dd934540] [op=none] [2025/04/04 10:50:57.170 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:57.170 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddae75] [currRev=839] [2025/04/04 10:50:57.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:57.171 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:57.172 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:57.172 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddae77] [ownerID=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [op=none] [2025/04/04 10:50:57.172 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [2025/04/04 10:50:57.172 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [ownerKey=/tidb/br-stream/owner/3eaa960069ddae77] [currRev=840] [2025/04/04 10:50:57.172 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddae75] [ownerID=01a3339d-0c8d-4f6c-a636-99c4dd934540] [op=none] [2025/04/04 10:50:57.172 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [op=none] [2025/04/04 10:50:57.172 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:57.183 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:57.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:57.184 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:57.193 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:57.201 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:57.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:57.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:57.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:57.205 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:57.205 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:57.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:57.205 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:57.205 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:57.205 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:57.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:57.207 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:57.208 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:57.208 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:57.208 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:57.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:57.212 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/0aabe8fe-f727-47e6-ad0a-8cc92fc9fefa] [2025/04/04 10:50:57.212 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [ttl-worker=task-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [originalCount=0] [newCount=4] [2025/04/04 10:50:57.213 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [ttl-worker=task-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [originalCount=0] [newCount=4] [2025/04/04 10:50:57.213 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:57.213 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:57.218 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:57.225 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.606444ms] [2025/04/04 10:50:57.225 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:57.225 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:57.230 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:57.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:57.233 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:57.233 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763857234027963 [2025/04/04 10:50:57.252 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:50:57.263 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:57.265 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=178] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:50:57.267 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=178] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:57.279 +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-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:57.279 +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-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:57.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=25] [job="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.761761ms] [gotSchemaVersion=179] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:57.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=179] [2025/04/04 10:50:57.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=179] ["take time"=8.648391ms] [job="ID:228, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=25] [job="ID:228, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.329 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=2.087395ms] [gotSchemaVersion=180] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:57.333 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=180] [2025/04/04 10:50:57.335 +00:00] [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.502897ms] [job="ID:228, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.343 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=25] [job="ID:228, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.349 +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: _t)"] [2025/04/04 10:50:57.362 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.077525ms] [gotSchemaVersion=181] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:57.366 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=181] [2025/04/04 10:50:57.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=181] ["take time"=8.436134ms] [job="ID:228, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.377 +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/04 10:50:57.384 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop table"] [2025/04/04 10:50:57.385 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=228] [conn=25] [job="ID:228, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.403 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/04 10:50:57.413 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:229, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:57.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:229, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:57.418 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.443 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=4.361297ms] [gotSchemaVersion=182] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:57.447 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=182] [2025/04/04 10:50:57.449 +00:00] [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"=13.465416ms] [job="ID:229, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.459 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=2.174009ms] [gotSchemaVersion=183] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:57.481 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=183] [2025/04/04 10:50:57.483 +00:00] [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"=10.247117ms] [job="ID:229, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.493 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.499 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 224, Old Table Name: t)"] [2025/04/04 10:50:57.512 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=1.083087ms] [gotSchemaVersion=184] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:57.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=184] [2025/04/04 10:50:57.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=184] ["take time"=8.116513ms] [job="ID:229, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.528 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=229] [tableIDs="[224]"] [comment="drop table: table ID"] [2025/04/04 10:50:57.532 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=229] [jobType="drop table"] [2025/04/04 10:50:57.533 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.553 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=229] [2025/04/04 10:50:57.554 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=184] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763857554555089 [2025/04/04 10:50:57.558 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=184] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 10:50:57.573 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:231, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:57.573 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:231, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:50:57.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=231] [conn=26] [job="ID:231, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.585 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 230, Table Name: t)"] [2025/04/04 10:50:57.602 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.804718ms] [gotSchemaVersion=185] [phyTblIDs="[230]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:57.606 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=231] [version=185] [2025/04/04 10:50:57.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=185] ["take time"=9.913489ms] [job="ID:231, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.620 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=231] [conn=26] [job="ID:231, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=231] [2025/04/04 10:50:57.633 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=185] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 10:50:57.648 +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-04 10:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:57.648 +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-04 10:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:50:57.654 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=233] [conn=26] [job="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.659 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 232, Table Name: _t)"] [2025/04/04 10:50:57.680 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=1.787765ms] [gotSchemaVersion=186] [phyTblIDs="[232]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:57.684 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=233] [version=186] [2025/04/04 10:50:57.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=186] ["take time"=13.358706ms] [job="ID:233, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.699 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=233] [conn=26] [job="ID:233, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:57.711 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=233] [2025/04/04 10:50:57.711 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=186] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:50:57.714 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054530] [2025/04/04 10:50:57.719 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054534] [2025/04/04 10:50:57.723 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054537] [2025/04/04 10:50:57.727 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054541] [2025/04/04 10:50:57.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054544] [2025/04/04 10:50:57.734 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054547] [2025/04/04 10:50:57.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054550] [2025/04/04 10:50:57.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054553] [2025/04/04 10:50:57.746 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054556] [2025/04/04 10:50:57.750 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054559] [2025/04/04 10:50:57.754 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054562] [2025/04/04 10:50:57.757 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054565] [2025/04/04 10:50:57.761 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232716054568] [2025/04/04 10:50:57.765 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899587] [2025/04/04 10:50:57.769 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899590] [2025/04/04 10:50:57.773 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899593] [2025/04/04 10:50:57.777 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899597] [2025/04/04 10:50:57.781 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899600] [2025/04/04 10:50:57.785 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899603] [2025/04/04 10:50:57.788 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899606] [2025/04/04 10:50:57.792 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899609] [2025/04/04 10:50:57.796 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899612] [2025/04/04 10:50:57.800 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899615] [2025/04/04 10:50:57.804 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899618] [2025/04/04 10:50:57.808 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899621] [2025/04/04 10:50:57.812 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232728899624] [2025/04/04 10:50:57.816 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268931] [2025/04/04 10:50:57.820 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268934] [2025/04/04 10:50:57.823 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268937] [2025/04/04 10:50:57.828 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268941] [2025/04/04 10:50:57.832 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268944] [2025/04/04 10:50:57.836 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268947] [2025/04/04 10:50:57.840 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268951] [2025/04/04 10:50:57.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268954] [2025/04/04 10:50:57.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268957] [2025/04/04 10:50:57.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268960] [2025/04/04 10:50:57.857 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268963] [2025/04/04 10:50:57.862 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232742268966] [2025/04/04 10:50:57.866 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755113987] [2025/04/04 10:50:57.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755113990] [2025/04/04 10:50:57.875 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755113993] [2025/04/04 10:50:57.879 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755113998] [2025/04/04 10:50:57.883 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755114001] [2025/04/04 10:50:57.887 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755114005] [2025/04/04 10:50:57.891 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755114008] [2025/04/04 10:50:57.895 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755114011] [2025/04/04 10:50:57.899 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755114014] [2025/04/04 10:50:57.903 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755114017] [2025/04/04 10:50:57.907 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755114020] [2025/04/04 10:50:57.911 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232755114023] [2025/04/04 10:50:57.915 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483330] [2025/04/04 10:50:57.919 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483333] [2025/04/04 10:50:57.923 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483338] [2025/04/04 10:50:57.927 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483343] [2025/04/04 10:50:57.931 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483346] [2025/04/04 10:50:57.935 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483349] [2025/04/04 10:50:57.939 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483352] [2025/04/04 10:50:57.943 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483355] [2025/04/04 10:50:57.947 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483358] [2025/04/04 10:50:57.951 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483361] [2025/04/04 10:50:57.955 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483364] [2025/04/04 10:50:57.959 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483367] [2025/04/04 10:50:57.963 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232768483370] [2025/04/04 10:50:57.967 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590531] [2025/04/04 10:50:57.971 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590534] [2025/04/04 10:50:57.976 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590538] [2025/04/04 10:50:57.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590541] [2025/04/04 10:50:57.983 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590544] [2025/04/04 10:50:57.987 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590547] [2025/04/04 10:50:57.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590550] [2025/04/04 10:50:57.995 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590553] [2025/04/04 10:50:57.999 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590556] [2025/04/04 10:50:58.002 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590559] [2025/04/04 10:50:58.006 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590562] [2025/04/04 10:50:58.010 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232781590565] [2025/04/04 10:50:58.014 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435585] [2025/04/04 10:50:58.018 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435588] [2025/04/04 10:50:58.024 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435591] [2025/04/04 10:50:58.028 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435595] [2025/04/04 10:50:58.033 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435598] [2025/04/04 10:50:58.037 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435601] [2025/04/04 10:50:58.041 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435604] [2025/04/04 10:50:58.045 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435607] [2025/04/04 10:50:58.049 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435610] [2025/04/04 10:50:58.053 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435613] [2025/04/04 10:50:58.057 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435616] [2025/04/04 10:50:58.061 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232794435619] [2025/04/04 10:50:58.066 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542787] [2025/04/04 10:50:58.069 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542791] [2025/04/04 10:50:58.073 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542794] [2025/04/04 10:50:58.077 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542798] [2025/04/04 10:50:58.081 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542801] [2025/04/04 10:50:58.086 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542804] [2025/04/04 10:50:58.090 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542807] [2025/04/04 10:50:58.094 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542810] [2025/04/04 10:50:58.098 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542813] [2025/04/04 10:50:58.102 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542816] [2025/04/04 10:50:58.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542819] [2025/04/04 10:50:58.110 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232807542822] [2025/04/04 10:50:58.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117232820649985] [2025/04/04 10:50:58.129 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117232820649989] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=3.017672ms] [2025/04/04 10:50:58.129 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117232820649989] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=39.605Β΅s] [2025/04/04 10:50:58.129 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.846964ms] [total_duration=8.069843ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117232820649989] [2025/04/04 10:50:58.130 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117232820649989] [commitTS=457117232820649991] [2025/04/04 10:50:58.149 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117232820649995] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.734556ms] [2025/04/04 10:50:58.149 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117232820649995] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=36.735Β΅s] [2025/04/04 10:50:58.149 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.776216ms] [total_duration=8.018146ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117232820649995] [2025/04/04 10:50:58.151 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117232820649995] [commitTS=457117232820649996] [2025/04/04 10:50:58.157 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [] [2025/04/04 10:50:58.157 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:58.157 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:58.157 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:58.157 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:58.157 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:58.157 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=77.156Β΅s] [2025/04/04 10:50:58.157 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=34.174Β΅s] [2025/04/04 10:50:58.157 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=52.097Β΅s] [2025/04/04 10:50:58.158 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=32.335Β΅s] [2025/04/04 10:50:58.158 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:58.158 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:58.159 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:58.159 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:58.160 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=01a3339d-0c8d-4f6c-a636-99c4dd934540] ["take time"=3.749462ms] [2025/04/04 10:50:58.161 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:58.161 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:58.161 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/0aabe8fe-f727-47e6-ad0a-8cc92fc9fefa] [2025/04/04 10:50:58.161 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [ttl-worker=task-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [originalCount=4] [newCount=0] [2025/04/04 10:50:58.161 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:58.161 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:58.161 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:58.161 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:58.161 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [ttl-worker=task-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [originalCount=4] [newCount=0] [2025/04/04 10:50:58.163 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:58.163 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:58.164 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:58.164 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:58.166 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:58.166 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1228] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:58.167 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:58.167 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:58.167 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:58.168 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:58.168 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:58.168 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:58.168 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:58.167 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [2025/04/04 10:50:58.168 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:58.167 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:58.168 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:58.168 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:58.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:58.168 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:58.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:58.168 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:58.168 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:58.168 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:58.168 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [error="context canceled"] [2025/04/04 10:50:58.168 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:58.168 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:58.168 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:58.169 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:58.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:58.169 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b3628518-fc51-4b17-bd31-2986ce1b2c7f] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:58.169 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:58.169 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:58.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:58.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:58.170 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:58.170 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:58.170 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:58.170 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:58.170 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [error="context canceled"] [2025/04/04 10:50:58.170 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [2025/04/04 10:50:58.189 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:58.189 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:58.237 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=01a3339d-0c8d-4f6c-a636-99c4dd934540] [error="context canceled"] [2025/04/04 10:50:58.237 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:58.237 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:58.249 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=92.659437ms] [2025/04/04 10:50:58.252 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:50:58.253 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:50:58.253 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:50:58.253 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:50:58.253 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:50:58.253 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:50:58.253 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:50:58.253 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:50:58.253 +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/04 10:50:58.253 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:50:58.253 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:50:58.253 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:50:58.254 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitSkipSecondaries (1.27s) === NAME === RUN TestPipelinedDMLDisableRetry [2025/04/04 10:50:58.261 +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/04 10:50:58.262 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:50:58.263 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:50:58.263 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:50:58.263 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:50:58.264 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:50:58.264 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:50:58.264 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:50:58.264 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:50:58.264 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:50:58.264 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:50:58.268 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:50:58.274 +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/04 10:50:58.274 +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/04 10:50:58.275 +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/04 10:50:58.284 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:50:58.294 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:50:58.330 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1313] ["lease id"=6f18960069ddadc6] [2025/04/04 10:50:58.333 +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/04 10:50:58.422 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=186] ["elapsed time"=86.472957ms] [2025/04/04 10:50:58.422 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:50:58.424 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:50:58.430 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [runWorker=true] [jobVersion=v2] [2025/04/04 10:50:58.430 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:50:58.432 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:58.433 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:50:58.433 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267899666432/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:50:58.433 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:58.433 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:58.433 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:58.433 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:58.433 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:58.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:58.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:58.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:58.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:58.434 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:50:58.434 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:50:58.434 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:58.434 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [2025/04/04 10:50:58.436 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb3c8] [ownerID=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [op=none] [2025/04/04 10:50:58.436 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:58.436 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb3c8] [currRev=880] [2025/04/04 10:50:58.436 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:58.436 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:58.437 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:50:58.437 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddae97] [ownerID=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [op=none] [2025/04/04 10:50:58.437 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [2025/04/04 10:50:58.437 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [ownerKey=/tidb/br-stream/owner/3eaa960069ddae97] [currRev=880] [2025/04/04 10:50:58.437 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb3c8] [ownerID=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [op=none] [2025/04/04 10:50:58.437 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [op=none] [2025/04/04 10:50:58.438 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:50:58.449 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:58.450 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:58.451 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:50:58.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:58.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:58.471 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:58.471 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:58.471 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:58.471 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:58.471 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:50:58.471 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:50:58.471 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:50:58.471 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:50:58.471 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:50:58.472 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:58.473 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:58.474 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:58.474 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:58.474 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:58.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:58.476 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:50:58.478 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/c3e6d4e6-20e6-4888-a36a-e04d6e7baa05] [2025/04/04 10:50:58.479 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [ttl-worker=task-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [originalCount=0] [newCount=4] [2025/04/04 10:50:58.479 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [ttl-worker=task-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [originalCount=0] [newCount=4] [2025/04/04 10:50:58.479 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:58.479 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:50:58.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:58.479 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:50:58.479 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763858479753510 [2025/04/04 10:50:58.484 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:50:58.492 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.66289ms] [2025/04/04 10:50:58.492 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:50:58.492 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:50:58.500 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:50:58.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=186] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:50:58.503 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=186] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:50:58.516 +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-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:58.516 +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-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:58.521 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=27] [job="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.536 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=1.720312ms] [gotSchemaVersion=187] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:58.540 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=187] [2025/04/04 10:50:58.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=187] ["take time"=9.125844ms] [job="ID:234, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.551 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=27] [job="ID:234, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.566 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=1.843006ms] [gotSchemaVersion=188] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:58.570 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=188] [2025/04/04 10:50:58.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=188] ["take time"=8.818015ms] [job="ID:234, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=27] [job="ID:234, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.586 +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: _t)"] [2025/04/04 10:50:58.599 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=1.038233ms] [gotSchemaVersion=189] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:58.602 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=189] [2025/04/04 10:50:58.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=189] ["take time"=8.109857ms] [job="ID:234, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.613 +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/04 10:50:58.622 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=234] [jobType="drop table"] [2025/04/04 10:50:58.623 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=234] [conn=27] [job="ID:234, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.644 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/04 10:50:58.655 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:58.655 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:50:58.661 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=27] [job="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.676 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=1.827918ms] [gotSchemaVersion=190] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:58.679 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=190] [2025/04/04 10:50:58.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=190] ["take time"=8.480051ms] [job="ID:235, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.691 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=27] [job="ID:235, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.705 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=1.815503ms] [gotSchemaVersion=191] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:58.709 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=191] [2025/04/04 10:50:58.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=191] ["take time"=8.691202ms] [job="ID:235, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.719 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=27] [job="ID:235, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.725 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 230, Old Table Name: t)"] [2025/04/04 10:50:58.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=990.838Β΅s] [gotSchemaVersion=192] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:50:58.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=192] [2025/04/04 10:50:58.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=192] ["take time"=7.679501ms] [job="ID:235, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.751 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=235] [tableIDs="[230]"] [comment="drop table: table ID"] [2025/04/04 10:50:58.756 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop table"] [2025/04/04 10:50:58.757 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=235] [conn=27] [job="ID:235, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=235] [2025/04/04 10:50:58.774 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=192] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763858775265217 testkit.go:123: RefreshSession rand seed: 1743763858777388220 [2025/04/04 10:50:58.781 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=192] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:50:58.793 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:58.793 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:50:58.799 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=28] [job="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.803 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 236, Table Name: t1)"] [2025/04/04 10:50:58.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=1.453928ms] [gotSchemaVersion=193] [phyTblIDs="[236]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:58.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=193] [2025/04/04 10:50:58.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=193] ["take time"=8.063099ms] [job="ID:237, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.832 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=237] [conn=28] [job="ID:237, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.843 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/04 10:50:58.843 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=193] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 10:50:58.856 +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-04 10:50:58.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, b int)"] [2025/04/04 10:50:58.856 +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-04 10:50:58.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:50:58.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=239] [conn=28] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.865 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 238, Table Name: t2)"] [2025/04/04 10:50:58.879 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=1.581684ms] [gotSchemaVersion=194] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:50:58.883 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=194] [2025/04/04 10:50:58.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=194] ["take time"=8.753153ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:50:58.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=239] [conn=28] [job="ID:239, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 10:50:58.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:50:58.906 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/04 10:50:58.906 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=194] [cur_db=test] [sql="create table t2(a int, b int)"] [user=] [2025/04/04 10:50:59.415 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117233161437185] [2025/04/04 10:50:59.417 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117233030365186] [generation=1] [session=28] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=800.905Β΅s] [2025/04/04 10:50:59.418 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:50:59.418 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117233030365186] [startKey=7480000000000000ec5f728000000000000001] [endKey=7480000000000000ec5f728000000000000001] [2025/04/04 10:50:59.418 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117233030365186] [commitTS=0] [session=28] [2025/04/04 10:50:59.419 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457117233030365186\n# Conn_ID: 28\n# Query_time: 0.505935319\n# Parse_time: 0.000260042\n# Compile_time: 0.000943451\n# Rewrite_time: 0.000602916\n# Optimize_time: 0.000081984\n# Wait_TS: 0.000307238\n# Cop_time: 0.000667644 Wait_time: 0.000023405 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:20160\n# Cop_wait_avg: 2.3405e-05 Cop_wait_addr: 127.0.0.1:20160\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('7gbwTDAJMjdfMQkwCTAJTi9BCTAJdGltZTo1MDMuOG1zLCBvcGVuOjEyNi4xwrVzLCBjbG9zZTo3McK1cywgbG9vcHM6MSwgcHJlcGFyZTogATcANwE3YGluc2VydDoxNDguMsK1cwk0MDIgQnl0ZXMBZWgKMQkxNF82CTAJMTAwMDAJdGVzdC50Mi5hCTIJfgwxLjEyAUYJfQQxNQVEACwNfRA0Mi43whl/EDIJMzIwDVwNCBwKMgkzMV8xMBVhTGRhdGE6VGFibGVGdWxsU2Nhbl85EWwQODU0LjUFUAVuDDgyLjkFDgBjBeoIMTguMm0AcCwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogNTY1BTgocHJvY19rZXlzOiAJLnRyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFTAhfZHUFGhhuOiAxNi42BUiobWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCBycGNfaW5mbzp7Q29wOgGJNF9ycGM6MSwgdG90YWxfLcQsMC44wrVzfX0JMjg3LSMwTi9BCjMJNDNfOQkxXzWBmGFibGU6dDIsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbyU0BGt2BbQEOnsFZQwwcywgTQhAfSwgc2Nhbl9kZXRhaWw6IHsJjBhwcm9jZXNzORRGFwAgX3NpemU6IDgyEcApQDgzLCBnZXRfc25hcHNob3QJ1hAgNy4zNCUiaHJvY2tzZGI6IHtrZXlfc2tpcHBlZF9jb3VudCV8DGJsb2MhpxB9fX0sIAGtPpoACHdhaRFVCDIzLglVAHQB4ABnIWARuAE6EDogMzUuKZgZIR0/BDEyJWoBZxhrdl93YWxsDTc8MTMywrVzfQlOL0EJTi9BCg==')\n# Plan_digest: f7e0f28c5c86b45fa3d92926774edc8a8076ac4356558ce21165e890659f0d92\n# Binary_plan: tidb_decode_binary_plan('xQfACsAHCghJbnNlcnRfMRLGBgoGU29ydF82EuEFCg5UYWJsZVJlYWRlcl8xMBKmAwoPVAETUEZ1bGxTY2FuXzkhjARw3ptXUUEpAAEB8FiIw0AwAjgCQAJKDAoKCgR0ZXN0EgJ0MlIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvarYCdGlrdl90YXNrOnt0aW1lOjBzLCBsb29wczoxfSwgcwFtfGRldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogMiwgRhcAHF9zaXplOiA4FR0JLOgzLCBnZXRfc25hcHNob3RfdGltZTogNy4zNMK1cywgcm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50OgFoMGJsb2NrOiB7fX19LCABPD6aAAh3YWkRVQgyMy4JVQB0AeAMZ3JwYxW4AToUOiAzNS42BXYZIR0/DDEyLjgZHgx3YWxsDTcgMTMywrVzfXD/EQEEAXgRCiT/ASFijYgxlacXMpUBNAFAAVIUZGF0YTpUYWJsPcMEWjMFihA4NTQuNQVsIG9wZW46ODIuOQUOJGNsb3NlOjE4LjcFDzRsb29wczoyYrQBY29wXyWxRCB7bnVtOiAxLCBtYXg6IDU2NQUqIaAtcZAyLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGRfAUwIX2R1BRoQbjogMTYtGXBtYXhfZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sICFRJGluZm86e0NvcDoBiRRfcnBjOjFRDgXbDDUwMC4hRxh9fXCfAnj/EQEgASFULaZx1uZaQigBLAl0ZXN0LnQyLmFaMgVCGDEuMTJtcywpGwwxMTUuIX4ALC0cBDQyNhwBNHDAAjgBQAFSA04vQVoxBUAQNTAzLjgZQRAyNi4xwkFrAGMlXQA3CQ0EbG8hWywxYiFwcmVwYXJlOiABNwA3ATcEaW5hoRA6MTQ4LgF6PHCSA3j///////////8BGAE=')\n# Resource_group: default\nuse test;\ninsert into t1 select * from t2 order by a;"] [2025/04/04 10:50:59.419 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=194] [error="[kv:9007]Write conflict, txnStartTS=457117233030365186, conflictStartTS=457117233161437185, conflictCommitTS=457117233161437186, key={tableID=236, tableName=test.t1, handle=1}, originalKey=7480000000000000ec5f728000000000000001, primary={tableID=236, tableName=test.t1, handle=1}, originalPrimaryKey=7480000000000000ec5f728000000000000001, reason=Optimistic [try again later]"] [session="{\n \"currDBName\": \"test\",\n \"id\": 28,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 10:50:59.420 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:50:59.420 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:50:59.420 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [] [2025/04/04 10:50:59.420 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:59.420 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:59.420 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:50:59.420 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=86.881Β΅s] [2025/04/04 10:50:59.420 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=35.93Β΅s] [2025/04/04 10:50:59.420 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=32.682Β΅s] [2025/04/04 10:50:59.420 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=39.275Β΅s] [2025/04/04 10:50:59.420 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:59.420 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:59.421 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:50:59.421 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:50:59.423 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] ["take time"=3.595179ms] [2025/04/04 10:50:59.423 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:59.423 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:50:59.423 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/c3e6d4e6-20e6-4888-a36a-e04d6e7baa05] [2025/04/04 10:50:59.423 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [ttl-worker=task-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [originalCount=4] [newCount=0] [2025/04/04 10:50:59.424 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:59.424 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:59.424 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:59.424 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:50:59.424 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [ttl-worker=task-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [originalCount=4] [newCount=0] [2025/04/04 10:50:59.426 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:59.426 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:59.426 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:59.426 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:50:59.428 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:59.428 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1313] [2025/04/04 10:50:59.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:50:59.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:50:59.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:50:59.429 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:50:59.429 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:50:59.429 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:50:59.430 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [2025/04/04 10:50:59.430 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:50:59.430 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:50:59.430 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:50:59.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:50:59.430 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [2025/04/04 10:50:59.431 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [error="context canceled"] [2025/04/04 10:50:59.431 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:59.432 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:50:59.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:50:59.432 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=4f4c25a9-4241-4d20-b6c6-5b8ec930f9b3] [daemon-id=LogBackup::Advancer] [2025/04/04 10:50:59.432 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:50:59.432 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:50:59.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:50:59.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:50:59.432 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [error="context canceled"] [2025/04/04 10:50:59.432 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:50:59.432 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:50:59.432 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:50:59.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:50:59.433 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [error="context canceled"] [2025/04/04 10:50:59.433 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [2025/04/04 10:50:59.433 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [error="context canceled"] [2025/04/04 10:50:59.433 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=9fb57ba3-7f68-4c7f-b772-b8c93b93130f] [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/04 10:50:59.449 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:50:59.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:50:59.495 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:50:59.495 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:50:59.506 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.228717ms] [2025/04/04 10:51:00.269 +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/04 10:51:04.419 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117233030365186 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:04.419 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117233030365186 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:04.419 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117233030365186 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:04.419 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:04.419 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:04.419 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:04.419 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:04.419 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:04.419 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:04.419 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:04.419 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:04.419 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:04.419 +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/04 10:51:04.419 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:04.419 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:04.420 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDisableRetry (6.17s) === NAME === RUN TestReplaceRowCheck [2025/04/04 10:51:04.428 +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/04 10:51:04.429 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:51:04.429 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:51:04.430 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:04.430 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:51:04.430 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:04.430 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:04.430 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:04.430 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:04.431 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:04.431 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:04.434 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:51:04.439 +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/04 10:51:04.440 +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/04 10:51:04.440 +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/04 10:51:04.450 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:51:04.459 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:51:04.492 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=765] ["lease id"=6f18960069ddadf3] [2025/04/04 10:51:04.494 +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/04 10:51:04.580 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=194] ["elapsed time"=83.113743ms] [2025/04/04 10:51:04.580 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:51:04.583 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:51:04.588 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5380a1e4-767d-4d0a-958d-3777395b8846] [runWorker=true] [jobVersion=v2] [2025/04/04 10:51:04.588 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:51:04.590 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:04.591 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:51:04.591 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 257556365312/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:04.591 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:04.591 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:04.591 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:04.591 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=24e507e2-cd00-4178-8693-671eca769420] [2025/04/04 10:51:04.593 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddadf8] [ownerID=5380a1e4-767d-4d0a-958d-3777395b8846] [op=none] [2025/04/04 10:51:04.593 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:04.594 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddadf8] [currRev=922] [2025/04/04 10:51:04.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:04.594 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=24e507e2-cd00-4178-8693-671eca769420] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:04.594 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:51:04.595 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddaecb] [ownerID=24e507e2-cd00-4178-8693-671eca769420] [op=none] [2025/04/04 10:51:04.595 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=24e507e2-cd00-4178-8693-671eca769420] [2025/04/04 10:51:04.595 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=24e507e2-cd00-4178-8693-671eca769420] [ownerKey=/tidb/br-stream/owner/3eaa960069ddaecb] [currRev=922] [2025/04/04 10:51:04.595 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddadf8] [ownerID=5380a1e4-767d-4d0a-958d-3777395b8846] [op=none] [2025/04/04 10:51:04.595 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [op=none] [2025/04/04 10:51:04.595 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:51:04.601 +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/04 10:51:04.602 +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/04 10:51:04.603 +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/04 10:51:04.603 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:04.604 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:04.604 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:51:04.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:04.620 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:04.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:04.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:04.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:04.624 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:51:04.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:04.624 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:51:04.624 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:51:04.624 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:51:04.624 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:51:04.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:04.625 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:04.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:04.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:04.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:04.627 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:04.627 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:51:04.627 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:04.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:04.628 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:51:04.631 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/80050f92-8083-42fa-9847-9cfd800d6bca] [2025/04/04 10:51:04.631 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:04.631 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [ttl-worker=task-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [originalCount=0] [newCount=4] [2025/04/04 10:51:04.631 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:51:04.631 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:51:04.631 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [ttl-worker=task-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [originalCount=0] [newCount=4] [2025/04/04 10:51:04.631 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763864632022036 [2025/04/04 10:51:04.632 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:04.637 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:51:04.645 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.580684ms] [2025/04/04 10:51:04.645 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:04.645 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:51:04.653 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:51:04.655 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=194] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:51:04.656 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=194] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/04 10:51:04.669 +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:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:04.669 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:240, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 10:51:04.675 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=30] [job="ID:240, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.691 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=2.007625ms] [gotSchemaVersion=195] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:04.695 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=195] [2025/04/04 10:51:04.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=195] ["take time"=9.75479ms] [job="ID:240, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.707 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=30] [job="ID:240, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.722 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=1.813419ms] [gotSchemaVersion=196] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:04.725 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=196] [2025/04/04 10:51:04.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=196] ["take time"=8.513258ms] [job="ID:240, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.735 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=30] [job="ID:240, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.741 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 236, Old Table Name: t1)"] [2025/04/04 10:51:04.754 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=1.006203ms] [gotSchemaVersion=197] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:04.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=197] [2025/04/04 10:51:04.759 +00:00] [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"=7.924436ms] [job="ID:240, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.775 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=240] [tableIDs="[236]"] [comment="drop table: table ID"] [2025/04/04 10:51:04.783 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=240] [jobType="drop table"] [2025/04/04 10:51:04.785 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=240] [conn=30] [job="ID:240, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.804 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=240] [2025/04/04 10:51:04.815 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:04.815 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:241, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 10:51:04.820 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=30] [job="ID:241, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.836 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=1.992449ms] [gotSchemaVersion=198] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:04.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=198] [2025/04/04 10:51:04.842 +00:00] [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.340369ms] [job="ID:241, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=30] [job="ID:241, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=2.027881ms] [gotSchemaVersion=199] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:04.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=199] [2025/04/04 10:51:04.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=199] ["take time"=9.605631ms] [job="ID:241, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=30] [job="ID:241, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.889 +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: t2)"] [2025/04/04 10:51:04.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=1.041116ms] [gotSchemaVersion=200] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:04.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=200] [2025/04/04 10:51:04.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=200] ["take time"=8.237396ms] [job="ID:241, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.918 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=241] [tableIDs="[238]"] [comment="drop table: table ID"] [2025/04/04 10:51:04.923 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=241] [jobType="drop table"] [2025/04/04 10:51:04.924 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=241] [conn=30] [job="ID:241, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.945 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=241] [2025/04/04 10:51:04.945 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=200] [cur_db=test] [sql="drop table `t1`,`t2`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763864946366026 [2025/04/04 10:51:04.950 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=200] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:51:04.964 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:04.964 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:243, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int)"] [2025/04/04 10:51:04.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=243] [conn=31] [job="ID:243, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:04.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:04.975 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 242, Table Name: t1)"] [2025/04/04 10:51:04.991 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=1.616386ms] [gotSchemaVersion=201] [phyTblIDs="[242]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:04.995 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=243] [version=201] [2025/04/04 10:51:04.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=201] ["take time"=9.115956ms] [job="ID:243, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:04.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.009 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=243] [conn=31] [job="ID:243, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:04.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.020 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=243] [2025/04/04 10:51:05.020 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=201] [cur_db=test] [sql="create table t1(a int, b int)"] [user=] [2025/04/04 10:51:05.033 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:05.033 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 10:51:05.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=245] [conn=31] [job="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:05.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.044 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 244, Table Name: _t1)"] [2025/04/04 10:51:05.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=1.563576ms] [gotSchemaVersion=202] [phyTblIDs="[244]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:05.063 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=245] [version=202] [2025/04/04 10:51:05.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=202] ["take time"=8.799597ms] [job="ID:245, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.076 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=245] [conn=31] [job="ID:245, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:05.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.087 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=245] [2025/04/04 10:51:05.088 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=202] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/04 10:51:05.100 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117234642812945] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=1.014094ms] [2025/04/04 10:51:05.100 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.116497ms] [total_duration=4.156584ms] ["memdb traversal cache hit"=16] ["memdb traversal cache miss"=12] [size=58B] [startTS=457117234642812945] [2025/04/04 10:51:05.101 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117234642812945] [commitTS=457117234642812947] [2025/04/04 10:51:05.102 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117234642812945] [startKey=7480000000000000f45f728000000000000001] [endKey=7480000000000000f45f728000000000000002] [concurrency=8] [2025/04/04 10:51:05.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117234642812945] [startKey=7480000000000000f45f728000000000000001] [endKey=7480000000000000f45f728000000000000002] ["cost time"=4.252018ms] ["completed regions"=1] [2025/04/04 10:51:05.106 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117234642812945] [commitTS=457117234642812947] [session=31] [2025/04/04 10:51:05.122 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:247, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:05.121 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:247, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:51:05.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=247] [conn=31] [job="ID:247, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:05.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.135 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 246, Table Name: _t1, Old Table ID: 244, Old Table Name: _t1)"] [2025/04/04 10:51:05.150 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.541167ms] [gotSchemaVersion=203] [phyTblIDs="[244,246]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:51:05.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=247] [version=203] [2025/04/04 10:51:05.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=203] ["take time"=8.609109ms] [job="ID:247, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.165 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=247] [tableIDs="[244]"] [comment="truncate table: table ID"] [2025/04/04 10:51:05.170 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=247] [jobType="truncate table"] [2025/04/04 10:51:05.171 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=247] [conn=31] [job="ID:247, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.195 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=247] [2025/04/04 10:51:05.196 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=203] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:51:05.202 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117234669027342] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=1.144333ms] [2025/04/04 10:51:05.202 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.266072ms] [total_duration=4.310765ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=10] [size=58B] [startTS=457117234669027342] [2025/04/04 10:51:05.203 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117234669027342] [commitTS=457117234669027343] [2025/04/04 10:51:05.203 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117234669027342] [startKey=7480000000000000f65f728000000000000001] [endKey=7480000000000000f65f728000000000000002] [concurrency=8] [2025/04/04 10:51:05.206 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117234669027342] [startKey=7480000000000000f65f728000000000000001] [endKey=7480000000000000f65f728000000000000002] ["cost time"=2.380649ms] ["completed regions"=1] [2025/04/04 10:51:05.206 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117234669027342] [commitTS=457117234669027343] [session=31] [2025/04/04 10:51:05.219 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:249, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:05.219 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:249, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:51:05.225 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=249] [conn=31] [job="ID:249, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:246, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:05.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.232 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 248, Table Name: _t1, Old Table ID: 246, Old Table Name: _t1)"] [2025/04/04 10:51:05.248 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=1.723747ms] [gotSchemaVersion=204] [phyTblIDs="[246,248]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:51:05.251 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=249] [version=204] [2025/04/04 10:51:05.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=204] ["take time"=9.553927ms] [job="ID:249, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.265 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=249] [tableIDs="[246]"] [comment="truncate table: table ID"] [2025/04/04 10:51:05.269 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=249] [jobType="truncate table"] [2025/04/04 10:51:05.270 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=249] [conn=31] [job="ID:249, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:05.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:05.287 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=249] [2025/04/04 10:51:05.288 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=204] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:51:05.293 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117234694979595] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=900.052Β΅s] [2025/04/04 10:51:05.293 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.003498ms] [total_duration=3.70268ms] ["memdb traversal cache hit"=8] ["memdb traversal cache miss"=12] [size=58B] [startTS=457117234694979595] [2025/04/04 10:51:05.294 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117234694979595] [commitTS=457117234694979596] [2025/04/04 10:51:05.294 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117234694979595] [startKey=7480000000000000f85f728000000000000001] [endKey=7480000000000000f85f728000000000000002] [concurrency=8] [2025/04/04 10:51:05.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117234694979595] [startKey=7480000000000000f85f728000000000000001] [endKey=7480000000000000f85f728000000000000002] ["cost time"=2.276648ms] ["completed regions"=1] [2025/04/04 10:51:05.297 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117234694979595] [commitTS=457117234694979596] [session=31] [2025/04/04 10:51:05.298 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:51:05.298 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [] [2025/04/04 10:51:05.298 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:05.299 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:51:05.299 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:05.299 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:05.299 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=57.118Β΅s] [2025/04/04 10:51:05.299 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=53.884Β΅s] [2025/04/04 10:51:05.299 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=50.63Β΅s] [2025/04/04 10:51:05.299 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=38.635Β΅s] [2025/04/04 10:51:05.299 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=33.067Β΅s] [2025/04/04 10:51:05.299 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=31.407Β΅s] [2025/04/04 10:51:05.299 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:05.299 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:05.300 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:51:05.300 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:51:05.303 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5380a1e4-767d-4d0a-958d-3777395b8846] ["take time"=5.020702ms] [2025/04/04 10:51:05.303 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:05.303 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:51:05.303 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/80050f92-8083-42fa-9847-9cfd800d6bca] [2025/04/04 10:51:05.303 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [ttl-worker=task-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [originalCount=4] [newCount=0] [2025/04/04 10:51:05.303 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:05.304 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:05.304 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:05.304 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:05.304 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [ttl-worker=task-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [originalCount=4] [newCount=0] [2025/04/04 10:51:05.306 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:05.306 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:05.306 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:05.306 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:05.308 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:05.309 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:51:05.309 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=765] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:05.310 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:51:05.310 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=24e507e2-cd00-4178-8693-671eca769420] [] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:05.310 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=24e507e2-cd00-4178-8693-671eca769420] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=24e507e2-cd00-4178-8693-671eca769420] [2025/04/04 10:51:05.311 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:05.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:05.310 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:51:05.311 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:05.310 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:05.311 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=24e507e2-cd00-4178-8693-671eca769420] [2025/04/04 10:51:05.311 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:05.311 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [error="context canceled"] [2025/04/04 10:51:05.311 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:05.312 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:51:05.312 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=24e507e2-cd00-4178-8693-671eca769420] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:05.312 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:51:05.312 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:05.312 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [error="context canceled"] [2025/04/04 10:51:05.312 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:05.312 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:05.312 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:51:05.312 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:51:05.312 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:51:05.312 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:51:05.312 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:05.313 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [error="context canceled"] [2025/04/04 10:51:05.313 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [2025/04/04 10:51:05.314 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [error="context canceled"] [2025/04/04 10:51:05.314 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=5380a1e4-767d-4d0a-958d-3777395b8846] [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/04 10:51:05.332 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:51:05.332 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:05.374 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:51:05.374 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:05.386 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.564529ms] [2025/04/04 10:51:06.434 +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/04 10:51:10.108 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117234642812945 commit_ts:457117234642812947 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:10.108 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117234642812945 commit_ts:457117234642812947 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:10.108 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117234642812945 commit_ts:457117234642812947 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:10.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117234669027342 commit_ts:457117234669027343 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:10.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117234669027342 commit_ts:457117234669027343 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:10.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117234669027342 commit_ts:457117234669027343 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:10.298 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117234694979595 commit_ts:457117234694979596 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:10.298 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117234694979595 commit_ts:457117234694979596 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:10.298 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117234694979595 commit_ts:457117234694979596 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:10.298 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:10.298 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:10.298 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:10.298 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:10.298 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:10.298 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:10.298 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:10.299 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:10.299 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:10.298 +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/04 10:51:10.299 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:10.299 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:10.300 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReplaceRowCheck (5.88s) === NAME === RUN TestDuplicateKeyErrorMessage [2025/04/04 10:51:10.309 +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/04 10:51:10.310 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:51:10.311 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:51:10.312 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:10.312 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:51:10.312 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:10.312 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:10.312 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:10.312 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:10.313 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:10.313 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:10.317 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:51:10.322 +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/04 10:51:10.323 +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/04 10:51:10.324 +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/04 10:51:10.334 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:51:10.345 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:51:10.379 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1002] ["lease id"=3eaa960069ddaf04] [2025/04/04 10:51:10.381 +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/04 10:51:10.468 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=204] ["elapsed time"=84.240681ms] [2025/04/04 10:51:10.468 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:51:10.470 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:51:10.477 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=139ebbf1-7353-4320-abab-23f483497b0f] [runWorker=true] [jobVersion=v2] [2025/04/04 10:51:10.477 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:51:10.479 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.480 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:51:10.480 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 258341404672/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:51:10.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:10.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:10.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:10.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:10.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:10.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:10.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:10.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:10.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:10.481 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:51:10.481 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:10.481 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:10.481 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [2025/04/04 10:51:10.482 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb420] [ownerID=139ebbf1-7353-4320-abab-23f483497b0f] [op=none] [2025/04/04 10:51:10.483 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.483 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb420] [currRev=969] [2025/04/04 10:51:10.484 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:10.484 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:10.484 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb422] [ownerID=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [op=none] [2025/04/04 10:51:10.484 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [2025/04/04 10:51:10.484 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [ownerKey=/tidb/br-stream/owner/2231960069ddb422] [currRev=970] [2025/04/04 10:51:10.484 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:51:10.485 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb420] [ownerID=139ebbf1-7353-4320-abab-23f483497b0f] [op=none] [2025/04/04 10:51:10.485 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [op=none] [2025/04/04 10:51:10.485 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:51:10.495 +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/04 10:51:10.496 +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/04 10:51:10.496 +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/04 10:51:10.497 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:10.498 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:51:10.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:10.515 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:10.520 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:10.520 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:10.520 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:10.520 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:10.520 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:51:10.520 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:51:10.520 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:51:10.521 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:51:10.520 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:51:10.522 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:10.522 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:10.523 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:10.523 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:10.523 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:10.523 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:10.525 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:51:10.528 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/0a5d8a41-6bea-40fd-9908-a72ce73e0199] [2025/04/04 10:51:10.528 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [ttl-worker=task-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [originalCount=0] [newCount=4] [2025/04/04 10:51:10.528 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [ttl-worker=task-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [originalCount=0] [newCount=4] [2025/04/04 10:51:10.528 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:10.528 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:51:10.528 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763870529175687 [2025/04/04 10:51:10.529 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:51:10.535 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:51:10.543 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.046891ms] [2025/04/04 10:51:10.543 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:51:10.543 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:10.543 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:51:10.546 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=204] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:51:10.547 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=204] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:51:10.561 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:10.561 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:250, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:51:10.568 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=32] [job="ID:250, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=1.911201ms] [gotSchemaVersion=205] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:10.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=205] [2025/04/04 10:51:10.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=205] ["take time"=10.132779ms] [job="ID:250, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.602 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=32] [job="ID:250, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.618 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=1.960404ms] [gotSchemaVersion=206] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:10.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=206] [2025/04/04 10:51:10.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=206] ["take time"=10.219599ms] [job="ID:250, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.634 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=32] [job="ID:250, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.640 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 248, Old Table Name: _t1)"] [2025/04/04 10:51:10.653 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=1.021732ms] [gotSchemaVersion=207] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:10.657 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=207] [2025/04/04 10:51:10.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=207] ["take time"=8.461174ms] [job="ID:250, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.668 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=250] [tableIDs="[248]"] [comment="drop table: table ID"] [2025/04/04 10:51:10.676 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="drop table"] [2025/04/04 10:51:10.677 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=250] [conn=32] [job="ID:250, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.695 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/04 10:51:10.706 +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:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:10.706 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:51:10.711 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=32] [job="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.726 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=1.89647ms] [gotSchemaVersion=208] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:10.730 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=208] [2025/04/04 10:51: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=208] ["take time"=9.165799ms] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.741 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=32] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=1.878368ms] [gotSchemaVersion=209] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:10.759 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=209] [2025/04/04 10:51:10.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=209] ["take time"=8.643932ms] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.769 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=32] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.775 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 242, Old Table Name: t1)"] [2025/04/04 10:51:10.788 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=1.113004ms] [gotSchemaVersion=210] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:10.791 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=210] [2025/04/04 10:51:10.793 +00:00] [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"=7.808317ms] [job="ID:251, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.802 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=251] [tableIDs="[242]"] [comment="drop table: table ID"] [2025/04/04 10:51:10.807 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=251] [jobType="drop table"] [2025/04/04 10:51:10.808 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=251] [conn=32] [job="ID:251, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.825 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=251] [2025/04/04 10:51:10.826 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=210] [cur_db=test] [sql="drop table `_t1`,`t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763870826458518 [2025/04/04 10:51:10.830 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=210] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:51:10.843 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:10.843 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:51:10.849 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=33] [job="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.854 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 252, Table Name: t1)"] [2025/04/04 10:51:10.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=1.531116ms] [gotSchemaVersion=211] [phyTblIDs="[252]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:10.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=211] [2025/04/04 10:51:10.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=211] ["take time"=8.445056ms] [job="ID:253, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.885 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=253] [conn=33] [job="ID:253, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:10.896 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=253] [2025/04/04 10:51:10.897 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=211] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 10:51:10.899 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117236162985998] [2025/04/04 10:51:10.905 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117236162986004] [generation=1] [session=33] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=697.546Β΅s] [2025/04/04 10:51:10.905 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117236162986004] [startKey=7480000000000000fc5f728000000000000001] [endKey=7480000000000000fc5f728000000000000001] [2025/04/04 10:51:10.905 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117236162986004] [commitTS=0] [session=33] [2025/04/04 10:51:10.906 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:51:10.906 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:51:10.906 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [] [2025/04/04 10:51:10.906 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.906 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:10.906 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:10.906 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=70.907Β΅s] [2025/04/04 10:51:10.906 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=35.468Β΅s] [2025/04/04 10:51:10.906 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=31.405Β΅s] [2025/04/04 10:51:10.906 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.906 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.907 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:51:10.907 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:51:10.909 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=139ebbf1-7353-4320-abab-23f483497b0f] ["take time"=3.260613ms] [2025/04/04 10:51:10.909 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.909 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:51:10.909 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/0a5d8a41-6bea-40fd-9908-a72ce73e0199] [2025/04/04 10:51:10.909 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [ttl-worker=task-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [originalCount=4] [newCount=0] [2025/04/04 10:51:10.909 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:10.909 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:10.909 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:10.909 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:10.909 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [ttl-worker=task-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [originalCount=4] [newCount=0] [2025/04/04 10:51:10.912 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:10.912 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:10.912 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:10.912 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:10.914 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.914 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1002] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:10.915 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [] [2025/04/04 10:51:10.916 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:51:10.916 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [2025/04/04 10:51:10.916 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:51:10.915 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:10.916 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:51:10.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:10.915 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:10.915 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:10.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:10.917 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=58d8161a-7bfe-4d7e-8b43-9aad10e553ef] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:10.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:10.917 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:51:10.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:10.917 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:51:10.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:10.917 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:51:10.917 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [error="context canceled"] [2025/04/04 10:51:10.917 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.917 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:51:10.917 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [error="context canceled"] [2025/04/04 10:51:10.917 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [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/04 10:51:10.918 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:51:10.918 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:51:10.918 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:10.918 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [error="context canceled"] [2025/04/04 10:51:10.918 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [2025/04/04 10:51:10.918 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [error="context canceled"] [2025/04/04 10:51:10.918 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=139ebbf1-7353-4320-abab-23f483497b0f] [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/04 10:51:10.935 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:51:10.936 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:10.980 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:51:10.980 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:10.991 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.17107ms] [2025/04/04 10:51:12.317 +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/04 10:51:15.907 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117236162986004 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:15.907 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117236162986004 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:15.907 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117236162986004 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:15.907 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:15.907 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:15.907 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:15.907 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:15.907 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:15.907 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:15.907 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:15.907 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:15.907 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:15.907 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:15.907 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:15.907 +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/04 10:51:15.909 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateKeyErrorMessage (5.61s) === NAME === RUN TestInsertIgnoreOnDuplicateKeyUpdate [2025/04/04 10:51:15.917 +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/04 10:51:15.918 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:51:15.918 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:51:15.919 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:15.919 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:51:15.919 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:15.919 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:15.919 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:15.919 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:15.920 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:15.920 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:15.924 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:51:15.929 +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/04 10:51:15.929 +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/04 10:51:15.930 +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/04 10:51:15.939 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:51:15.949 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:51:15.982 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=800] ["lease id"=6f18960069ddae4d] [2025/04/04 10:51:15.984 +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/04 10:51:16.071 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=211] ["elapsed time"=84.243576ms] [2025/04/04 10:51:16.071 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:51:16.073 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:51:16.079 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c77e6646-a2c5-47dc-b774-fe7dacad3736] [runWorker=true] [jobVersion=v2] [2025/04/04 10:51:16.079 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:51:16.081 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.083 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:51:16.083 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267899318272/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:16.083 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:16.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:16.083 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:16.083 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [2025/04/04 10:51:16.085 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddae52] [ownerID=c77e6646-a2c5-47dc-b774-fe7dacad3736] [op=none] [2025/04/04 10:51:16.085 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.085 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddae52] [currRev=1007] [2025/04/04 10:51:16.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:16.086 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:16.087 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddaf40] [ownerID=96799a23-2f39-4778-8fe3-e9ae821165e7] [op=none] [2025/04/04 10:51:16.087 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [2025/04/04 10:51:16.087 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [ownerKey=/tidb/br-stream/owner/3eaa960069ddaf40] [currRev=1008] [2025/04/04 10:51:16.087 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:51:16.087 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddae52] [ownerID=c77e6646-a2c5-47dc-b774-fe7dacad3736] [op=none] [2025/04/04 10:51:16.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=c77e6646-a2c5-47dc-b774-fe7dacad3736] [op=none] [2025/04/04 10:51:16.088 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:51:16.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.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/04 10:51:16.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.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/04 10:51:16.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.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/04 10:51:16.096 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:16.097 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:51:16.105 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:16.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:16.117 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:16.117 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:16.117 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:16.117 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:51:16.117 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:16.117 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:51:16.117 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:51:16.117 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:51:16.117 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:51:16.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:16.118 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:16.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:16.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:16.120 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:16.120 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:16.120 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:16.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:16.122 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:51:16.124 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/82d96206-d1b7-4c7c-bef5-fb7f698b3f3a] [2025/04/04 10:51:16.124 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [ttl-worker=task-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [originalCount=0] [newCount=4] [2025/04/04 10:51:16.124 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:51:16.124 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [ttl-worker=task-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [originalCount=0] [newCount=4] [2025/04/04 10:51:16.124 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.125 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:16.125 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:51:16.125 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763876125426296 [2025/04/04 10:51:16.129 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:51:16.138 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.791308ms] [2025/04/04 10:51:16.138 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:51:16.138 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:16.145 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:51:16.148 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=211] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:51:16.160 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:254, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:16.160 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:254, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:51:16.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=254] [conn=34] [job="ID:254, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.182 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.934946ms] [gotSchemaVersion=212] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:16.186 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=212] [2025/04/04 10:51:16.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=212] ["take time"=9.545154ms] [job="ID:254, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=254] [conn=34] [job="ID:254, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.214 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=1.894857ms] [gotSchemaVersion=213] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:16.218 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=213] [2025/04/04 10:51:16.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=213] ["take time"=9.185783ms] [job="ID:254, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.229 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=254] [conn=34] [job="ID:254, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.235 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 252, Old Table Name: t1)"] [2025/04/04 10:51:16.248 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.126669ms] [gotSchemaVersion=214] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:16.252 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=214] [2025/04/04 10:51:16.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=214] ["take time"=8.285966ms] [job="ID:254, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.264 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=254] [tableIDs="[252]"] [comment="drop table: table ID"] [2025/04/04 10:51:16.271 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=254] [jobType="drop table"] [2025/04/04 10:51:16.272 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=254] [conn=34] [job="ID:254, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.292 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=254] [2025/04/04 10:51:16.292 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=214] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763876292615755 [2025/04/04 10:51:16.311 +00:00] [INFO] [set.go:172] ["set global var"] [conn=35] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:51:16.314 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=214] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:51:16.328 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:16.328 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.311 +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/04 10:51:16.334 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=256] [conn=35] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:16.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.339 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 255, Table Name: t1)"] [2025/04/04 10:51:16.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=1.872334ms] [gotSchemaVersion=215] [phyTblIDs="[255]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:16.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=256] [version=215] [2025/04/04 10:51:16.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=215] ["take time"=9.41208ms] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:16.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.373 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=256] [conn=35] [job="ID:256, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:16.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:16.386 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=256] [2025/04/04 10:51:16.386 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=215] [cur_db=test] [sql="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [user=] [2025/04/04 10:51:16.392 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117237605040135] [generation=1] [session=35] [keys=6] [size=228B] ["flushed keys"=6] ["flushed size"=228B] ["take time"=1.108626ms] [2025/04/04 10:51:16.392 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=6] [flush_wait_duration=1.197633ms] [total_duration=5.10812ms] ["memdb traversal cache hit"=12] ["memdb traversal cache miss"=12] [size=228B] [startTS=457117237605040135] [2025/04/04 10:51:16.393 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117237605040135] [commitTS=457117237605040140] [2025/04/04 10:51:16.393 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117237605040135] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000002] [concurrency=8] [2025/04/04 10:51:16.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117237605040135] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000002] ["cost time"=4.272035ms] ["completed regions"=1] [2025/04/04 10:51:16.398 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117237605040135] [commitTS=457117237605040140] [session=35] [2025/04/04 10:51:16.402 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117237605040141] [generation=1] [session=35] [keys=3] [size=115B] ["flushed keys"=3] ["flushed size"=115B] ["take time"=1.048004ms] [2025/04/04 10:51:16.402 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3] [flush_wait_duration=1.161256ms] [total_duration=7.734446ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=19] [size=115B] [startTS=457117237605040141] [2025/04/04 10:51:16.404 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117237605040141] [commitTS=457117237605040142] [2025/04/04 10:51:16.404 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117237605040141] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000001] [concurrency=8] [2025/04/04 10:51:16.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117237605040141] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000001] ["cost time"=2.038356ms] ["completed regions"=1] [2025/04/04 10:51:16.406 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117237605040141] [commitTS=457117237605040142] [session=35] [2025/04/04 10:51:16.407 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [] [2025/04/04 10:51:16.407 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:51:16.407 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.407 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:51:16.407 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:16.407 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:16.407 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=45.457Β΅s] [2025/04/04 10:51:16.407 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=35.146Β΅s] [2025/04/04 10:51:16.407 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.407 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.408 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:51:16.408 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:51:16.409 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c77e6646-a2c5-47dc-b774-fe7dacad3736] ["take time"=2.363376ms] [2025/04/04 10:51:16.409 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.409 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:51:16.409 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/82d96206-d1b7-4c7c-bef5-fb7f698b3f3a] [2025/04/04 10:51:16.409 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [ttl-worker=task-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [originalCount=4] [newCount=0] [2025/04/04 10:51:16.410 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:16.410 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:16.410 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:16.410 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:16.410 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [ttl-worker=task-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [originalCount=4] [newCount=0] [2025/04/04 10:51:16.412 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:16.412 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:16.412 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:16.412 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:16.414 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.415 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=800] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:51:16.416 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:51:16.417 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:16.416 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:51:16.416 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:16.416 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [2025/04/04 10:51:16.417 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:16.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:16.417 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [error="context canceled"] [2025/04/04 10:51:16.417 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.418 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=96799a23-2f39-4778-8fe3-e9ae821165e7] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:16.418 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:51:16.418 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:51:16.418 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:51:16.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:16.418 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:51:16.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:16.418 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:51:16.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:16.418 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:51:16.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:16.419 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [error="context canceled"] [2025/04/04 10:51:16.419 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [2025/04/04 10:51:16.419 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [error="context canceled"] [2025/04/04 10:51:16.419 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c77e6646-a2c5-47dc-b774-fe7dacad3736] [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/04 10:51:16.434 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:51:16.435 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:16.482 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:51:16.482 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:16.493 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.398197ms] [2025/04/04 10:51:17.924 +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/04 10:51:21.398 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117237605040135 commit_ts:457117237605040140 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:21.398 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117237605040135 commit_ts:457117237605040140 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:21.398 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117237605040135 commit_ts:457117237605040140 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:21.406 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117237605040141 commit_ts:457117237605040142 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:21.406 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117237605040141 commit_ts:457117237605040142 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:21.407 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117237605040141 commit_ts:457117237605040142 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:21.407 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:21.407 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:21.407 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:21.407 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:21.407 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:21.407 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:21.407 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:21.407 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:21.407 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:21.407 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:21.407 +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/04 10:51:21.407 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:21.408 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInsertIgnoreOnDuplicateKeyUpdate (5.50s) === NAME === RUN TestConflictError [2025/04/04 10:51:21.417 +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/04 10:51:21.418 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:51:21.418 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:51:21.419 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:21.419 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:51:21.419 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:21.419 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:21.419 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:21.420 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:21.420 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:21.420 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:21.424 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:51:21.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/04 10:51:21.431 +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/04 10:51:21.432 +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/04 10:51:21.442 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:51:21.453 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:51:21.488 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=73] ["lease id"=2231960069ddb46d] [2025/04/04 10:51:21.490 +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/04 10:51:21.578 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=215] ["elapsed time"=85.726692ms] [2025/04/04 10:51:21.578 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:51:21.581 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:51:21.587 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f59a892e-a634-43d0-b729-0eb721ce04dc] [runWorker=true] [jobVersion=v2] [2025/04/04 10:51:21.587 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:51:21.589 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:21.591 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:51:21.591 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 267902017536/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:21.591 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:21.591 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:21.591 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:21.591 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=deca1003-43e4-4a06-84bd-50a997289e26] [2025/04/04 10:51:21.593 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb472] [ownerID=f59a892e-a634-43d0-b729-0eb721ce04dc] [op=none] [2025/04/04 10:51:21.593 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:21.593 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb472] [currRev=1039] [2025/04/04 10:51:21.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:21.594 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=deca1003-43e4-4a06-84bd-50a997289e26] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:21.595 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:51:21.595 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddae76] [ownerID=deca1003-43e4-4a06-84bd-50a997289e26] [op=none] [2025/04/04 10:51:21.595 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=deca1003-43e4-4a06-84bd-50a997289e26] [2025/04/04 10:51:21.595 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=deca1003-43e4-4a06-84bd-50a997289e26] [ownerKey=/tidb/br-stream/owner/6f18960069ddae76] [currRev=1040] [2025/04/04 10:51:21.595 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb472] [ownerID=f59a892e-a634-43d0-b729-0eb721ce04dc] [op=none] [2025/04/04 10:51:21.596 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [op=none] [2025/04/04 10:51:21.596 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:51:21.604 +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/04 10:51:21.605 +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/04 10:51:21.605 +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/04 10:51:21.606 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:21.607 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:21.607 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:51:21.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:21.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:21.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:21.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:21.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:21.629 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:51:21.629 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:51:21.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:21.629 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:51:21.629 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:51:21.629 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:51:21.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:21.630 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:21.631 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:21.631 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:21.631 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:21.632 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:21.632 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:51:21.632 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:21.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:21.634 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:51:21.636 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/958ec893-bb06-48f7-a5bf-b1dfe4bcc7b9] [2025/04/04 10:51:21.636 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:51:21.637 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [ttl-worker=task-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [originalCount=0] [newCount=4] [2025/04/04 10:51:21.637 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [ttl-worker=task-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [originalCount=0] [newCount=4] [2025/04/04 10:51:21.637 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:21.637 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:21.637 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:51:21.637 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763881637921482 [2025/04/04 10:51:21.642 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:51:21.649 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.168459ms] [2025/04/04 10:51:21.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:21.649 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:51:21.659 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:51:21.661 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=215] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:51:21.674 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:257, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:21.674 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:257, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:51:21.681 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=36] [job="ID:257, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=2.394557ms] [gotSchemaVersion=216] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:21.702 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=216] [2025/04/04 10:51:21.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=216] ["take time"=10.692836ms] [job="ID:257, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.714 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=36] [job="ID:257, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.731 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=2.356594ms] [gotSchemaVersion=217] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:21.735 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=217] [2025/04/04 10:51:21.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=217] ["take time"=9.793262ms] [job="ID:257, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.746 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=36] [job="ID:257, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.752 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 255, Old Table Name: t1)"] [2025/04/04 10:51:21.767 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=1.01858ms] [gotSchemaVersion=218] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:21.770 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=218] [2025/04/04 10:51:21.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=218] ["take time"=8.19206ms] [job="ID:257, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.782 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=257] [tableIDs="[255]"] [comment="drop table: table ID"] [2025/04/04 10:51:21.790 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=257] [jobType="drop table"] [2025/04/04 10:51:21.791 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=257] [conn=36] [job="ID:257, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.810 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/04 10:51:21.810 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=218] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763881811090385 [2025/04/04 10:51:21.831 +00:00] [INFO] [set.go:172] ["set global var"] [conn=37] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:51:21.834 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=218] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 10:51:21.848 +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:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:21.848 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:51:21.857 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=37] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.862 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 258, Table Name: t1)"] [2025/04/04 10:51:21.876 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=1.524254ms] [gotSchemaVersion=219] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:21.881 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=219] [2025/04/04 10:51:21.882 +00:00] [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.728037ms] [job="ID:259, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=259] [conn=37] [job="ID:259, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=259] [2025/04/04 10:51:21.909 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=219] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 10:51:21.923 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 10:51:21.923 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:21.929 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=261] [conn=37] [job="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:21.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.933 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 260, Table Name: _t1)"] [2025/04/04 10:51:21.949 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.679857ms] [gotSchemaVersion=220] [phyTblIDs="[260]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:21.953 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=261] [version=220] [2025/04/04 10:51:21.955 +00:00] [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.98584ms] [job="ID:261, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:21.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.966 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=261] [conn=37] [job="ID:261, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:21.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:21.978 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=261] [2025/04/04 10:51:21.978 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=220] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/04 10:51:21.997 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117239072784393] [generation=1] [session=37] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.791797ms] [2025/04/04 10:51:21.998 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117239072784393] [generation=2] [session=37] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=28.175Β΅s] [2025/04/04 10:51:21.998 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.832399ms] [total_duration=7.533788ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117239072784393] [2025/04/04 10:51:21.999 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117239072784393] [commitTS=457117239072784395] [2025/04/04 10:51:21.999 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117239072784393] [startKey=7480000000000001045f728000000000000000] [endKey=7480000000000001045f728000000000000063] [concurrency=8] [2025/04/04 10:51:22.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117239072784393] [startKey=7480000000000001045f728000000000000000] [endKey=7480000000000001045f728000000000000063] ["cost time"=5.446908ms] ["completed regions"=1] [2025/04/04 10:51:22.005 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117239072784393] [commitTS=457117239072784395] [session=37] [2025/04/04 10:51:22.010 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117239072784396] [generation=1] [session=37] [keys=32] [size=928B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=892.802Β΅s] [2025/04/04 10:51:22.010 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:51:22.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117239072784396] [startKey=7480000000000001045f728000000000000001] [endKey=7480000000000001045f728000000000000063] [concurrency=8] [2025/04/04 10:51:22.011 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:51:22.011 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:51:22.011 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [] [2025/04/04 10:51:22.011 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:22.011 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:22.011 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:22.011 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=75.205Β΅s] [2025/04/04 10:51:22.011 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=50.589Β΅s] [2025/04/04 10:51:22.011 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=40.196Β΅s] [2025/04/04 10:51:22.011 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:22.011 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:22.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117239072784396] [startKey=7480000000000001045f728000000000000001] [endKey=7480000000000001045f728000000000000063] ["cost time"=1.919685ms] ["completed regions"=1] [2025/04/04 10:51:22.013 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:51:22.013 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:51:22.013 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117239072784396] [commitTS=0] [session=37] [2025/04/04 10:51:22.014 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f59a892e-a634-43d0-b729-0eb721ce04dc] ["take time"=3.174213ms] [2025/04/04 10:51:22.014 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:22.014 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:51:22.014 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/958ec893-bb06-48f7-a5bf-b1dfe4bcc7b9] [2025/04/04 10:51:22.014 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [ttl-worker=task-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [originalCount=4] [newCount=0] [2025/04/04 10:51:22.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:22.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:22.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:22.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:22.014 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [ttl-worker=task-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [originalCount=4] [newCount=0] [2025/04/04 10:51:22.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:22.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:22.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:22.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:22.020 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:22.020 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:51:22.020 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=73] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:51:22.021 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=deca1003-43e4-4a06-84bd-50a997289e26] [] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:22.021 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:51:22.021 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=deca1003-43e4-4a06-84bd-50a997289e26] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=deca1003-43e4-4a06-84bd-50a997289e26] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:22.021 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=deca1003-43e4-4a06-84bd-50a997289e26] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:51:22.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:51:22.021 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:51:22.021 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:22.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:22.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:22.022 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:22.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:22.022 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [error="context canceled"] [2025/04/04 10:51:22.022 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:22.023 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=deca1003-43e4-4a06-84bd-50a997289e26] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:22.023 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:51:22.023 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:51:22.023 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:51:22.023 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:22.023 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:22.023 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:22.023 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [error="context canceled"] [2025/04/04 10:51:22.023 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:51:22.023 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:51:22.023 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:51:22.023 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:22.024 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [error="context canceled"] [2025/04/04 10:51:22.024 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [2025/04/04 10:51:22.024 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [error="context canceled"] [2025/04/04 10:51:22.024 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=f59a892e-a634-43d0-b729-0eb721ce04dc] [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/04 10:51:22.042 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:51:22.042 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:22.085 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:51:22.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:22.098 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.424256ms] [2025/04/04 10:51:23.425 +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/04 10:51:27.006 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117239072784393 commit_ts:457117239072784395 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:27.006 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117239072784393 commit_ts:457117239072784395 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:27.006 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117239072784393 commit_ts:457117239072784395 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:27.014 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117239072784396 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:27.014 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117239072784396 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:27.014 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117239072784396 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:27.014 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:27.014 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:27.014 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:27.014 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:27.014 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:27.014 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:27.014 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:27.014 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:27.014 +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/04 10:51:27.014 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:27.014 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:27.014 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:27.016 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestConflictError (5.61s) === NAME === RUN TestRejectUnsupportedTables [2025/04/04 10:51:27.024 +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/04 10:51:27.025 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:51:27.025 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:51:27.026 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:27.026 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:51:27.026 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:27.026 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:27.026 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:27.026 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:27.027 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:27.027 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:27.031 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:51:27.036 +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/04 10:51:27.037 +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/04 10:51:27.037 +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/04 10:51:27.047 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:51:27.058 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:51:27.092 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=190] ["lease id"=2231960069ddb49b] [2025/04/04 10:51:27.094 +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/04 10:51:27.182 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=220] ["elapsed time"=85.694889ms] [2025/04/04 10:51:27.182 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:51:27.185 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:51:27.191 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [runWorker=true] [jobVersion=v2] [2025/04/04 10:51:27.191 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:51:27.193 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.194 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:51:27.194 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238172803072/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:51:27.194 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:27.194 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:27.194 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:27.194 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:27.194 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:27.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:27.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:27.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:27.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:27.195 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:51:27.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:27.195 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:27.195 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [2025/04/04 10:51:27.197 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddae9c] [ownerID=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [op=none] [2025/04/04 10:51:27.197 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.197 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddae9c] [currRev=1076] [2025/04/04 10:51:27.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:27.198 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:27.198 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:51:27.198 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddae9e] [ownerID=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [op=none] [2025/04/04 10:51:27.198 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [2025/04/04 10:51:27.198 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [ownerKey=/tidb/br-stream/owner/6f18960069ddae9e] [currRev=1077] [2025/04/04 10:51:27.199 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddae9c] [ownerID=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [op=none] [2025/04/04 10:51:27.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=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [op=none] [2025/04/04 10:51:27.199 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:51:27.206 +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/04 10:51:27.207 +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/04 10:51:27.208 +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/04 10:51:27.208 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.209 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:27.209 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:51:27.218 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:27.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:27.231 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:27.231 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:27.231 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:27.231 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:51:27.231 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:27.231 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:51:27.231 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:51:27.231 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:51:27.231 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:51:27.232 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:27.232 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:27.234 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:27.234 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:27.234 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:27.234 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:27.236 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:51:27.238 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ef943132-5485-458f-b50a-7a46358d1cbb] [2025/04/04 10:51:27.239 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [ttl-worker=task-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [originalCount=0] [newCount=4] [2025/04/04 10:51:27.239 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [ttl-worker=task-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [originalCount=0] [newCount=4] [2025/04/04 10:51:27.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:27.239 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.239 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:51:27.239 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763887239579564 [2025/04/04 10:51:27.239 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:51:27.244 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:51:27.252 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.613491ms] [2025/04/04 10:51:27.252 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:51:27.252 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:27.261 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:51:27.263 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=220] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:51:27.265 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=220] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:51:27.278 +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:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:27.278 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:262, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:51:27.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=38] [job="ID:262, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.300 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=1.908971ms] [gotSchemaVersion=221] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:27.304 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=221] [2025/04/04 10:51:27.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=221] ["take time"=9.99377ms] [job="ID:262, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.316 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=38] [job="ID:262, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.332 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.929552ms] [gotSchemaVersion=222] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:27.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=222] [2025/04/04 10:51:27.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=222] ["take time"=9.400158ms] [job="ID:262, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.346 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=38] [job="ID:262, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.352 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 260, Old Table Name: _t1)"] [2025/04/04 10:51:27.365 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.108981ms] [gotSchemaVersion=223] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:27.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=223] [2025/04/04 10:51:27.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=223] ["take time"=8.46725ms] [job="ID:262, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.380 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=262] [tableIDs="[260]"] [comment="drop table: table ID"] [2025/04/04 10:51:27.387 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=262] [jobType="drop table"] [2025/04/04 10:51:27.389 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=262] [conn=38] [job="ID:262, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.407 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/04 10:51:27.418 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:27.418 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:51:27.423 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=263] [conn=38] [job="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.439 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=1.883688ms] [gotSchemaVersion=224] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:27.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=224] [2025/04/04 10:51:27.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=224] ["take time"=9.190282ms] [job="ID:263, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.454 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=263] [conn=38] [job="ID:263, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.470 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=1.966703ms] [gotSchemaVersion=225] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:27.473 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=225] [2025/04/04 10:51:27.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=225] ["take time"=9.441896ms] [job="ID:263, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.484 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=263] [conn=38] [job="ID:263, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.490 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 258, Old Table Name: t1)"] [2025/04/04 10:51:27.503 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=1.068824ms] [gotSchemaVersion=226] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:27.507 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=226] [2025/04/04 10:51:27.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=226] ["take time"=8.279158ms] [job="ID:263, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.518 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=263] [tableIDs="[258]"] [comment="drop table: table ID"] [2025/04/04 10:51:27.523 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=263] [jobType="drop table"] [2025/04/04 10:51:27.524 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=263] [conn=38] [job="ID:263, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=263] [2025/04/04 10:51:27.542 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=226] [cur_db=test] [sql="drop table `_t1`,`t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763887543139588 [2025/04/04 10:51:27.547 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=226] [cur_db=test] [sql="drop table if exists parent, child"] [user=] [2025/04/04 10:51:27.561 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent(a int primary key)"] [2025/04/04 10:51:27.561 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:27.567 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=265] [conn=39] [job="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.571 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 264, Table Name: parent)"] [2025/04/04 10:51:27.586 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=1.607309ms] [gotSchemaVersion=227] [phyTblIDs="[264]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:27.590 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=265] [version=227] [2025/04/04 10:51:27.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=227] ["take time"=9.046213ms] [job="ID:265, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.603 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=265] [conn=39] [job="ID:265, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.614 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=265] [2025/04/04 10:51:27.614 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=227] [cur_db=test] [sql="create table parent(a int primary key)"] [user=] [2025/04/04 10:51:27.628 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:267, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:27.628 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:267, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child(a int, foreign key (a) references parent(a))"] [2025/04/04 10:51:27.634 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=267] [conn=39] [job="ID:267, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=1.600743ms] [gotSchemaVersion=228] [phyTblIDs="[266]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:27.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=228] [2025/04/04 10:51:27.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=228] ["take time"=9.049489ms] [job="ID:267, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=267] [conn=39] [job="ID:267, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.671 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 266, Table Name: child)"] [2025/04/04 10:51:27.686 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=1.756864ms] [gotSchemaVersion=229] [phyTblIDs="[266]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:27.690 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=229] [2025/04/04 10:51:27.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=229] ["take time"=8.838606ms] [job="ID:267, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.702 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=267] [conn=39] [job="ID:267, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.714 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=267] [2025/04/04 10:51:27.714 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=229] [cur_db=test] [sql="create table child(a int, foreign key (a) references parent(a))"] [user=] [2025/04/04 10:51:27.716 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117240580374530] [2025/04/04 10:51:27.727 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:51:27.727 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=229] [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/04 10:51:27.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117240580374537] [2025/04/04 10:51:27.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117240580374540] [2025/04/04 10:51:27.757 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117240580374544] [generation=1] [session=39] [keys=1] [size=25B] ["flushed keys"=1] ["flushed size"=25B] ["take time"=3.35316ms] [2025/04/04 10:51:27.757 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=3.548571ms] [total_duration=4.455848ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=25B] [startTS=457117240580374544] [2025/04/04 10:51:27.759 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117240580374544] [commitTS=457117240580374545] [2025/04/04 10:51:27.760 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457117240580374544] [startKey=7480000000000001085f728000000000000004] [endKey=7480000000000001085f728000000000000004] [2025/04/04 10:51:27.760 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457117240580374544] [commitTS=457117240580374545] [session=39] [2025/04/04 10:51:27.764 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117240580374546] [generation=1] [session=39] [keys=2] [size=67B] ["flushed keys"=2] ["flushed size"=67B] ["take time"=2.287418ms] [2025/04/04 10:51:27.764 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=2.37618ms] [total_duration=2.919019ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=3] [size=67B] [startTS=457117240580374546] [2025/04/04 10:51:27.767 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117240580374546] [commitTS=457117240593481729] [2025/04/04 10:51:27.767 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117240580374546] [startKey=74800000000000010a5f698000000000000001038000000000000004038000000000000003] [endKey=74800000000000010a5f728000000000000003] [concurrency=8] [2025/04/04 10:51:27.769 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117240580374546] [startKey=74800000000000010a5f698000000000000001038000000000000004038000000000000003] [endKey=74800000000000010a5f728000000000000003] ["cost time"=2.425928ms] ["completed regions"=1] [2025/04/04 10:51:27.769 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117240580374546] [commitTS=457117240593481729] [session=39] [2025/04/04 10:51:27.771 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=229] [cur_db=test] [sql="create temporary table temp(a int)"] [user=] [2025/04/04 10:51:27.786 +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-04 10:51:27.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:27.786 +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-04 10:51:27.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table cached(a int)"] [2025/04/04 10:51:27.793 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=270] [conn=39] [job="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.798 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 269, Table Name: cached)"] [2025/04/04 10:51:27.813 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=1.554482ms] [gotSchemaVersion=230] [phyTblIDs="[269]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:27.817 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=230] [2025/04/04 10:51:27.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=230] ["take time"=9.535484ms] [job="ID:270, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.831 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=270] [conn=39] [job="ID:270, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.842 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/04 10:51:27.843 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=230] [cur_db=test] [sql="create table cached(a int)"] [user=] [2025/04/04 10:51:27.860 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:271, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table cached cache"] [2025/04/04 10:51:27.860 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:271, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:27.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:27.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=271] [conn=39] [job="ID:271, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=1.574206ms] [gotSchemaVersion=231] [phyTblIDs="[269]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 10:51:27.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=231] [2025/04/04 10:51:27.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=231] ["take time"=8.75625ms] [job="ID:271, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=271] [conn=39] [job="ID:271, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.912 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=1.459424ms] [gotSchemaVersion=232] [phyTblIDs="[269]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 10:51:27.915 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=232] [2025/04/04 10:51:27.917 +00:00] [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"=8.64016ms] [job="ID:271, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.927 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=271] [conn=39] [job="ID:271, Type:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:27.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:27.938 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=271] [2025/04/04 10:51:27.938 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=232] [cur_db=test] [sql="alter table cached cache"] [user=] [2025/04/04 10:51:27.953 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:51:27.953 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [] [2025/04/04 10:51:27.953 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:51:27.953 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.953 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:27.953 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:27.954 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 73, tp general"] ["take time"=49.59Β΅s] [2025/04/04 10:51:27.954 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 74, tp general"] ["take time"=34.645Β΅s] [2025/04/04 10:51:27.954 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 75, tp general"] ["take time"=37.256Β΅s] [2025/04/04 10:51:27.954 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 76, tp general"] ["take time"=31.304Β΅s] [2025/04/04 10:51:27.954 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 77, tp general"] ["take time"=46.508Β΅s] [2025/04/04 10:51:27.954 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 78, tp general"] ["take time"=30.199Β΅s] [2025/04/04 10:51:27.954 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.954 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.955 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:51:27.955 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:51:27.957 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] ["take time"=3.940354ms] [2025/04/04 10:51:27.957 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.957 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:51:27.957 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ef943132-5485-458f-b50a-7a46358d1cbb] [2025/04/04 10:51:27.957 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [ttl-worker=task-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [originalCount=4] [newCount=0] [2025/04/04 10:51:27.957 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:27.957 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:27.958 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:27.958 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:27.958 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [ttl-worker=task-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [originalCount=4] [newCount=0] [2025/04/04 10:51:27.960 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:27.960 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:27.960 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:27.960 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:27.963 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.963 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:51:27.963 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=190] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [] [2025/04/04 10:51:27.964 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:27.964 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:27.964 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:51:27.964 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:27.964 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:27.964 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [2025/04/04 10:51:27.964 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:27.964 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:27.965 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:27.964 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:51:27.964 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:27.964 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:27.964 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:27.965 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:27.965 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:27.964 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:27.964 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:51:27.965 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:27.964 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:27.965 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:51:27.965 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:27.965 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:27.965 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [error="context canceled"] [2025/04/04 10:51:27.965 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.966 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:51:27.966 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=450a0d43-fcef-4659-ad68-6ac3bdf9e304] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:27.966 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:51:27.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:27.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:27.966 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:51:27.966 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:51:27.966 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [error="context canceled"] [2025/04/04 10:51:27.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:27.966 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:51:27.966 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:51:27.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:27.967 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [error="context canceled"] [2025/04/04 10:51:27.967 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [2025/04/04 10:51:27.967 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [error="context canceled"] [2025/04/04 10:51:27.967 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=eb2c3c8a-c5ec-43ae-a071-93232cc390e3] [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/04 10:51:27.985 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:51:27.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:28.026 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:51:28.026 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:28.037 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.237989ms] [2025/04/04 10:51:29.031 +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/04 10:51:32.760 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117240580374544 commit_ts:457117240580374545 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:32.761 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117240580374544 commit_ts:457117240580374545 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:32.761 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117240580374544 commit_ts:457117240580374545 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:32.770 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117240580374546 commit_ts:457117240593481729 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:32.770 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117240580374546 commit_ts:457117240593481729 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:32.770 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117240580374546 commit_ts:457117240593481729 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:32.770 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:32.770 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:32.770 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:32.770 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:32.770 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:32.770 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:32.770 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:32.770 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:32.770 +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/04 10:51:32.770 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:32.770 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:32.770 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:32.772 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRejectUnsupportedTables (5.76s) === NAME FAIL ================================================================================ ==================== Test output for //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: === RUN TestVariable [2025/04/04 10:51:34.841 +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/04 10:51:34.842 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:51:34.843 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:51:34.844 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:34.844 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:51:34.844 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:34.844 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:34.844 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:34.844 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:34.845 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:34.845 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:34.850 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:51:34.857 +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/04 10:51:34.857 +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/04 10:51:34.858 +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/04 10:51:34.873 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:51:34.895 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:51:34.933 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=745] ["lease id"=6f18960069ddaecf] [2025/04/04 10:51:34.936 +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/04 10:51:35.034 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=232] ["elapsed time"=91.47756ms] [2025/04/04 10:51:35.034 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:51:35.042 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 10:51:35.042 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=0590b267-08de-4419-ad9e-89ac8dbf579c] [runWorker=true] [jobVersion=v2] [2025/04/04 10:51:35.042 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:51:35.045 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.046 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:51:35.046 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238173130752/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:51:35.046 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:35.046 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:35.046 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:35.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:35.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:35.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:35.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:35.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:35.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:35.047 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:51:35.047 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:35.047 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:35.047 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [2025/04/04 10:51:35.050 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb4d7] [ownerID=0590b267-08de-4419-ad9e-89ac8dbf579c] [op=none] [2025/04/04 10:51:35.050 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.050 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb4d7] [currRev=1127] [2025/04/04 10:51:35.051 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:35.052 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:35.052 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:51:35.052 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddafd5] [ownerID=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [op=none] [2025/04/04 10:51:35.052 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [2025/04/04 10:51:35.052 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [ownerKey=/tidb/br-stream/owner/3eaa960069ddafd5] [currRev=1128] [2025/04/04 10:51:35.053 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb4d7] [ownerID=0590b267-08de-4419-ad9e-89ac8dbf579c] [op=none] [2025/04/04 10:51:35.053 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [op=none] [2025/04/04 10:51:35.053 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:51:35.059 +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/04 10:51:35.060 +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/04 10:51:35.061 +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/04 10:51:35.061 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.062 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:35.062 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:51:35.069 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/04 10:51:35.073 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:51:35.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:35.081 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:35.087 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:35.087 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:35.087 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:51:35.087 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:35.087 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:35.087 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:51:35.087 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:51:35.087 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:51:35.087 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:51:35.088 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:35.088 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:35.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:35.090 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:35.090 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:35.090 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:35.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:35.092 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=66] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:51:35.095 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/cb20873f-aa9e-4000-af01-1e1538f36691] [2025/04/04 10:51:35.096 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:51:35.096 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [ttl-worker=task-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [originalCount=0] [newCount=4] [2025/04/04 10:51:35.096 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [ttl-worker=task-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [originalCount=0] [newCount=4] [2025/04/04 10:51:35.096 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.098 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Tokyo] [2025/04/04 10:51:35.100 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:35.101 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:51:35.101 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763895101596620 [2025/04/04 10:51:35.102 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:51:35.110 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.963793ms] [2025/04/04 10:51:35.110 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:51:35.110 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:35.123 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:51:35.141 +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-04 10:51:35.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:35.141 +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-04 10:51:35.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table `cached` nocache"] [2025/04/04 10:51:35.147 +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-04 10:51:35.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.164 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.749913ms] [gotSchemaVersion=233] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/04 10:51:35.169 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=233] [2025/04/04 10:51:35.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=233] ["take time"=10.789936ms] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:35.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.183 +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-04 10:51:35.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.200 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.719587ms] [gotSchemaVersion=234] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/04 10:51:35.204 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=234] [2025/04/04 10:51:35.206 +00:00] [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"=9.713839ms] [job="ID:272, Type:alter table nocache, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 10:51:35.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.217 +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-04 10:51:35.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.229 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/04 10:51:35.230 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `cached` nocache"] [user=] [2025/04/04 10:51:35.231 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `child` nocache"] [user=] [2025/04/04 10:51:35.232 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `parent` nocache"] [user=] [2025/04/04 10:51:35.246 +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-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:35.246 +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-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 10:51:35.252 +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-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.268 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.722748ms] [gotSchemaVersion=235] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=235] [2025/04/04 10:51:35.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=235] ["take time"=9.361344ms] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.284 +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-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.298 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.731904ms] [gotSchemaVersion=236] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=236] [2025/04/04 10:51:35.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=236] ["take time"=8.762663ms] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.312 +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-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.318 +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/04 10:51:35.330 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.088957ms] [gotSchemaVersion=237] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.334 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=237] [2025/04/04 10:51:35.335 +00:00] [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.86316ms] [job="ID:273, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.344 +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/04 10:51:35.351 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=273] [jobType="drop table"] [2025/04/04 10:51:35.352 +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-04 10:51:35.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=273] [2025/04/04 10:51:35.380 +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-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:35.380 +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-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 10:51:35.386 +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-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.403 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=2.733605ms] [gotSchemaVersion=238] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.408 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=238] [2025/04/04 10:51:35.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=238] ["take time"=13.948148ms] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.429 +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-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=2.043009ms] [gotSchemaVersion=239] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=239] [2025/04/04 10:51:35.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=239] ["take time"=9.754992ms] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.461 +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-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.467 +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/04 10:51:35.480 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=1.105451ms] [gotSchemaVersion=240] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.483 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=240] [2025/04/04 10:51:35.485 +00:00] [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.1982ms] [job="ID:274, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.494 +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/04 10:51:35.499 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="drop table"] [2025/04/04 10:51:35.499 +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-04 10:51:35.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.517 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/04 10:51:35.528 +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-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:35.528 +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-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 10:51:35.533 +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-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.548 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=1.678645ms] [gotSchemaVersion=241] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.552 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=241] [2025/04/04 10:51:35.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=241] ["take time"=8.762361ms] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.563 +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-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.577 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=1.585015ms] [gotSchemaVersion=242] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.581 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=242] [2025/04/04 10:51:35.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=242] ["take time"=8.452607ms] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.591 +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-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.596 +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/04 10:51:35.609 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.035267ms] [gotSchemaVersion=243] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:35.612 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=243] [2025/04/04 10:51:35.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=243] ["take time"=7.729784ms] [job="ID:275, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.623 +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/04 10:51:35.628 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=275] [jobType="drop table"] [2025/04/04 10:51:35.629 +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-04 10:51:35.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.645 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=275] [2025/04/04 10:51:35.646 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.412989395\n# Parse_time: 0.000159259\n# Compile_time: 0.000278057\n# Rewrite_time: 0.000006202\n# Optimize_time: 0.000042544\n# Wait_TS: 0.000533039\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/04 10:51:35.646 +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: 1743763895646513466 [2025/04/04 10:51:35.650 +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/04 10:51:35.658 +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/04 10:51:35.659 +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/04 10:51:35.659 +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/04 10:51:35.660 +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/04 10:51:35.661 +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/04 10:51:35.661 +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/04 10:51:35.671 +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: 1743763895671870517 [2025/04/04 10:51:35.687 +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-04 10:51:35.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(id int)"] [2025/04/04 10:51:35.687 +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-04 10:51:35.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:35.692 +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-04 10:51:35.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.697 +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/04 10:51:35.710 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.39129ms] [gotSchemaVersion=244] [phyTblIDs="[276]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:35.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=244] [2025/04/04 10:51:35.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=244] ["take time"=8.745158ms] [job="ID:277, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:35.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.727 +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-04 10:51:35.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:35.739 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/04 10:51:35.739 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=244] [cur_db=test] [sql="create table t(id int)"] [user=] [2025/04/04 10:51:35.750 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117242677264398] [generation=1] [session=2] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=1.227055ms] [2025/04/04 10:51:35.750 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.333422ms] [total_duration=2.859584ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117242677264398] [2025/04/04 10:51:35.752 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117242677264398] [commitTS=457117242677264399] [2025/04/04 10:51:35.752 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457117242677264398] [startKey=7480000000000001145f728000000000000001] [endKey=7480000000000001145f728000000000000001] [2025/04/04 10:51:35.752 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457117242677264398] [commitTS=457117242677264399] [session=2] [2025/04/04 10:51:35.759 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:51:35.759 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [] [2025/04/04 10:51:35.759 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.759 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:51:35.759 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:35.759 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:51:35.759 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=38.985Β΅s] [2025/04/04 10:51:35.759 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=34.475Β΅s] [2025/04/04 10:51:35.760 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=32.342Β΅s] [2025/04/04 10:51:35.760 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=31.953Β΅s] [2025/04/04 10:51:35.760 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=29.401Β΅s] [2025/04/04 10:51:35.760 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.760 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.761 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:51:35.761 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:51:35.763 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=0590b267-08de-4419-ad9e-89ac8dbf579c] ["take time"=3.835678ms] [2025/04/04 10:51:35.763 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.763 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:51:35.763 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/cb20873f-aa9e-4000-af01-1e1538f36691] [2025/04/04 10:51:35.763 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [ttl-worker=task-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [originalCount=4] [newCount=0] [2025/04/04 10:51:35.763 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:35.763 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:35.763 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:35.763 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:51:35.763 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [ttl-worker=task-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [originalCount=4] [newCount=0] [2025/04/04 10:51:35.766 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:35.766 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:35.766 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:35.766 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:51:35.768 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.768 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:51:35.769 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=745] [2025/04/04 10:51:35.769 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:51:35.769 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:51:35.769 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.769 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:51:35.770 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:35.770 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:51:35.770 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:51:35.771 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:51:35.771 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:35.771 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:35.770 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:51:35.771 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [error="context canceled"] [2025/04/04 10:51:35.771 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.771 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:51:35.770 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [2025/04/04 10:51:35.770 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:51:35.771 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [2025/04/04 10:51:35.771 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:35.773 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:51:35.773 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:51:35.773 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=77c60a55-2c13-46b0-94e9-efd23ec9b3b7] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:35.773 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:35.773 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:51:35.773 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:51:35.773 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:35.773 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:35.773 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:35.773 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:51:35.773 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:51:35.774 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [error="context canceled"] [2025/04/04 10:51:35.774 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [2025/04/04 10:51:35.791 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:51:35.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:35.837 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=0590b267-08de-4419-ad9e-89ac8dbf579c] [error="context canceled"] [2025/04/04 10:51:35.837 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:51:35.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:35.847 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.760509ms] [2025/04/04 10:51:36.851 +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/04 10:51:40.753 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117242677264398 commit_ts:457117242677264399 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:51:40.753 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117242677264398 commit_ts:457117242677264399 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:51:40.753 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117242677264398 commit_ts:457117242677264399 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:51:40.753 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:51:40.753 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:51:40.753 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:51:40.753 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:51:40.753 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:51:40.753 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:51:40.753 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:51:40.753 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:51:40.753 +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/04 10:51:40.753 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:51:40.754 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:51:40.754 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:51:40.755 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestVariable (5.93s) === NAME === RUN TestPipelinedDMLPositive [2025/04/04 10:51:40.762 +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/04 10:51:40.763 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:51:40.764 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:51:40.764 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:51:40.764 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:51:40.764 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:51:40.764 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:51:40.764 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:51:40.765 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:51:40.765 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:51:40.765 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:51:40.769 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:51:40.774 +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/04 10:51:40.775 +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/04 10:51:40.775 +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/04 10:51:40.785 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:51:40.795 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:51:40.836 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=805] ["lease id"=3eaa960069ddb00e] [2025/04/04 10:51:40.837 +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/04 10:51:40.923 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=244] ["elapsed time"=83.109153ms] [2025/04/04 10:51:40.923 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:51:40.925 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:51:40.931 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [runWorker=true] [jobVersion=v2] [2025/04/04 10:51:40.931 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:51:40.933 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:51:40.934 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:51:40.934 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238175150080/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:51:40.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:51:40.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:51:40.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:51:40.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:51:40.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:51:40.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:40.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:40.934 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:51:40.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:51:40.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:51:40.935 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:51:40.935 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:40.935 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [2025/04/04 10:51:40.936 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb504] [ownerID=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [op=none] [2025/04/04 10:51:40.936 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:51:40.937 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb504] [currRev=1179] [2025/04/04 10:51:40.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:51:40.938 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:40.938 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb506] [ownerID=6c652fff-0af9-4d8d-b155-6b91348679c5] [op=none] [2025/04/04 10:51:40.938 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:51:40.938 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [2025/04/04 10:51:40.938 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [ownerKey=/tidb/br-stream/owner/2231960069ddb506] [currRev=1180] [2025/04/04 10:51:40.939 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb504] [ownerID=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [op=none] [2025/04/04 10:51:40.939 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [op=none] [2025/04/04 10:51:40.939 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:51:40.943 +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/04 10:51:40.947 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:51:40.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:51:40.948 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:51:40.957 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:51:40.965 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:51:40.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:51:40.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:51:40.969 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:51:40.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:51:40.969 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:51:40.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:51:40.969 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:51:40.969 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:51:40.969 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:51:40.970 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:51:40.970 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:51:40.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:51:40.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:51:40.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:51:40.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:51:40.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:51:40.971 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:51:40.971 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:51:40.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:51:40.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:51:40.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:40.971 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:51:40.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:51:40.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:51:40.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:51:40.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:51:40.973 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:51:40.973 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069ddb018] [ownerID=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [op=none] [2025/04/04 10:51:40.973 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:51:40.973 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [ownerKey=/tidb/stats/owner/3eaa960069ddb018] [currRev=1182] [2025/04/04 10:51:40.976 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/e5febb14-ac6c-4a8a-b290-eff8d6b9bf42] [2025/04/04 10:51:40.976 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:51:40.976 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [ttl-worker=task-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [originalCount=0] [newCount=4] [2025/04/04 10:51:40.976 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [ttl-worker=task-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [originalCount=0] [newCount=4] [2025/04/04 10:51:40.976 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:51:40.980 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:51:40.980 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:51:40.980 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763900980418953 [2025/04/04 10:51:40.981 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:51:40.988 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.297469ms] [2025/04/04 10:51:40.989 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:51:40.989 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:51:40.994 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:51:40.996 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=244] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:51:41.008 +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-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:41.008 +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-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:51:41.014 +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-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.029 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.561987ms] [gotSchemaVersion=245] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:41.033 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=245] [2025/04/04 10:51:41.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=245] ["take time"=9.404823ms] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.045 +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-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=1.631556ms] [gotSchemaVersion=246] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:41.063 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=246] [2025/04/04 10:51:41.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=246] ["take time"=8.6897ms] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.073 +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-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.078 +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/04 10:51:41.090 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=1.008036ms] [gotSchemaVersion=247] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:51:41.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=247] [2025/04/04 10:51:41.096 +00:00] [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.754447ms] [job="ID:278, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.104 +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/04 10:51:41.111 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=278] [jobType="drop table"] [2025/04/04 10:51:41.112 +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-04 10:51:40.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.130 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=278] [2025/04/04 10:51:41.130 +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: 1743763901130662765 [2025/04/04 10:51:41.141 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:51:41.144 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=247] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:51:41.157 +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-04 10:51:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:51:41.157 +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-04 10:51:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/04 10:51:41.163 +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-04 10:51:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.168 +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/04 10:51:41.182 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=1.561759ms] [gotSchemaVersion=248] [phyTblIDs="[279]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:51:41.185 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=248] [2025/04/04 10:51:41.187 +00:00] [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.773399ms] [job="ID:280, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:51:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.198 +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-04 10:51:41.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:51:41.210 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=280] [2025/04/04 10:51:41.210 +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/04 10:51:41.215 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117244105949202] [2025/04/04 10:51:41.219 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117244119056389] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=898.158Β΅s] [2025/04/04 10:51:41.219 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=994.627Β΅s] [total_duration=1.377195ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117244119056389] [2025/04/04 10:51:41.220 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117244119056389] [startKey=7480000000000001175f728000000000000002] [endKey=7480000000000001175f728000000000000002] [2025/04/04 10:51:41.220 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117244119056389] [commitTS=0] [session=5] [2025/04/04 10:51:41.223 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117244119056391] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=2.350003ms] [2025/04/04 10:51:41.224 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=2.471426ms] [total_duration=2.951528ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117244119056391] [2025/04/04 10:51:41.224 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117244119056391] [startKey=7480000000000001175f728000000000000003] [endKey=7480000000000001175f728000000000000003] [2025/04/04 10:51:41.224 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117244119056391] [commitTS=0] [session=5] [2025/04/04 10:51:41.231 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117244119056393] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=835.302Β΅s] [2025/04/04 10:51:41.231 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=935.98Β΅s] [total_duration=5.375803ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117244119056393] [2025/04/04 10:51:41.232 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117244119056393] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:51:41.232 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117244119056393] [commitTS=0] [session=5] [2025/04/04 10:51:41.239 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117244119056395] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:41.291 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117244119056395] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:41.427 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117244119056395] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:41.639 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117244119056395] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:41.943 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:51:41.943 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:51:41.943 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:51:41.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:51:41.976 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:51:41.976 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:51:41.976 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/e5febb14-ac6c-4a8a-b290-eff8d6b9bf42] [watcherID=dba0d7a8-8705-48ed-a1d1-63f20621f0a0] [2025/04/04 10:51:41.980 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:51:41.985 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:51:41.985 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:51:41.985 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:51:41.985 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:51:42.263 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117244119056395] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:42.769 +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/04 10:51:42.934 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:51:43.726 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117244119056395] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:43.974 +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/04 10:51:43.975 +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/04 10:51:45.414 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa960069ddb016] [ownerID=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [op=none] [2025/04/04 10:51:45.414 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:51:45.414 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [ownerKey=/tidb/bindinfo/owner/3eaa960069ddb016] [currRev=1199] [2025/04/04 10:51:45.481 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117244119056395] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.282 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117244119056395] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.284 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056393, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.286 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117244119056395] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=5.047369861s] [2025/04/04 10:51:46.286 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.047490607s] [total_duration=5.052980092s] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117244119056395] [2025/04/04 10:51:46.287 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117244119056395] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:51:46.287 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117244119056395] [commitTS=0] [session=5] [2025/04/04 10:51:46.290 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117244119056395, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.292 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000002, primary: 7480000000000001175f728000000000000002, txnStartTS: 457117244119056389, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.293 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000003, primary: 7480000000000001175f728000000000000003, txnStartTS: 457117244119056391, lockForUpdateTS:0, minCommitTs:457117244119056396, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.295 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117245443145730] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=913.261Β΅s] [2025/04/04 10:51:46.295 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.005737ms] [total_duration=7.129705ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117245443145730] [2025/04/04 10:51:46.296 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117245443145730] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:51:46.296 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117245443145730] [commitTS=0] [session=5] [2025/04/04 10:51:46.300 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.383 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.584 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:46.841 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:47.307 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:48.888 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:50.941 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.293 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.296 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.298 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.301 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.303 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.305 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.307 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.309 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.311 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.313 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.315 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.317 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.319 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.321 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.323 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.325 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.327 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.329 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.331 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.333 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.336 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.339 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.341 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117245443145733] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.343 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145730, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.345 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117245443145733] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.04514608s] [2025/04/04 10:51:51.345 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.045223955s] [total_duration=5.047769821s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117245443145733] [2025/04/04 10:51:51.345 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117245443145733] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:51:51.345 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117245443145733] [commitTS=0] [session=5] [2025/04/04 10:51:51.347 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117246766710787] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=862.647Β΅s] [2025/04/04 10:51:51.348 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=956.394Β΅s] [total_duration=1.37594ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117246766710787] [2025/04/04 10:51:51.348 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117246766710787] [startKey=7480000000000001175f728000000000000004] [endKey=7480000000000001175f728000000000000004] [2025/04/04 10:51:51.348 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117246766710787] [commitTS=0] [session=5] [2025/04/04 10:51:51.353 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117245443145733, lockForUpdateTS:0, minCommitTs:457117245443145734, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.356 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117246766710789] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=857.79Β΅s] [2025/04/04 10:51:51.356 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=955.469Β΅s] [total_duration=5.376361ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117246766710789] [2025/04/04 10:51:51.357 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117246766710789] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:51:51.357 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117246766710789] [commitTS=0] [session=5] [2025/04/04 10:51:51.364 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117246766710791] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=861.182Β΅s] [2025/04/04 10:51:51.364 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=961.692Β΅s] [total_duration=5.432417ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117246766710791] [2025/04/04 10:51:51.364 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117246766710791] [startKey=7480000000000001175f728000000000000005] [endKey=7480000000000001175f728000000000000005] [2025/04/04 10:51:51.364 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117246766710791] [commitTS=0] [session=5] [2025/04/04 10:51:51.371 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117246779817986] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.462 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117246779817986] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.577 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117246779817986] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:51.782 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117246779817986] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:52.284 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117246779817986] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:52.938 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [daemon-id=LogBackup::Advancer] [2025/04/04 10:51:52.938 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 10:51:52.938 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 10:51:53.150 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117246779817986] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.016 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117246779817986] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.368 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117246779817986] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.370 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246766710789, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.372 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117246779817986] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.000972778s] [2025/04/04 10:51:56.372 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.001066169s] [total_duration=5.006172194s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117246779817986] [2025/04/04 10:51:56.372 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117246779817986] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:51:56.372 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117246779817986] [commitTS=0] [session=5] [2025/04/04 10:51:56.405 +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/04 10:51:56.433 +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/04 10:51:56.460 +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/04 10:51:56.463 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117246779817986, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.464 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000004, primary: 7480000000000001175f728000000000000004, txnStartTS: 457117246766710787, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.465 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000005, primary: 7480000000000001175f728000000000000005, txnStartTS: 457117246766710791, lockForUpdateTS:0, minCommitTs:457117246779817987, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.467 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117248103907344] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=808.983Β΅s] [2025/04/04 10:51:56.467 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=890.571Β΅s] [total_duration=6.101117ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457117248103907344] [2025/04/04 10:51:56.468 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117248103907344] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:51:56.468 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117248103907344] [commitTS=0] [session=5] [2025/04/04 10:51:56.472 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117248117014530] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=809.005Β΅s] [2025/04/04 10:51:56.472 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=888.656Β΅s] [total_duration=3.548476ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457117248117014530] [2025/04/04 10:51:56.473 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117248117014530] [startKey=7480000000000001175f728000000000000006] [endKey=7480000000000001175f728000000000000006] [2025/04/04 10:51:56.473 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117248117014530] [commitTS=0] [session=5] [2025/04/04 10:51:56.478 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.559 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:56.758 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:57.042 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:57.801 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:51:59.380 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:52:01.137 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:52:01.490 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:52:01.491 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457117248117014532] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:52:01.492 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457117248103907344, lockForUpdateTS:0, minCommitTs:457117248117014533, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:52:01.494 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117248117014532] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.016735378s] [2025/04/04 10:52:01.494 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.016834632s] [total_duration=5.02041336s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457117248117014532] [2025/04/04 10:52:01.495 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117248117014532] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 10:52:01.495 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117248117014532] [commitTS=0] [session=5] [2025/04/04 10:52:01.495 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [] [2025/04/04 10:52:01.495 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:01.495 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:01.495 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.495 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:01.495 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:01.495 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=57.319Β΅s] [2025/04/04 10:52:01.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=43.345Β΅s] [2025/04/04 10:52:01.496 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.496 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.497 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:01.497 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:01.498 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a9aa03f0-b0f8-42a6-9642-41eb07803efa] ["take time"=2.758967ms] [2025/04/04 10:52:01.498 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.498 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:01.498 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:52:01.498 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/e5febb14-ac6c-4a8a-b290-eff8d6b9bf42] [watcherID=dba0d7a8-8705-48ed-a1d1-63f20621f0a0] [2025/04/04 10:52:01.498 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/e5febb14-ac6c-4a8a-b290-eff8d6b9bf42] [2025/04/04 10:52:01.498 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [ttl-worker=task-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [originalCount=4] [newCount=0] [2025/04/04 10:52:01.498 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:01.498 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:01.498 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:01.498 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:01.498 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [ttl-worker=task-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [originalCount=4] [newCount=0] [2025/04/04 10:52:01.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:01.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:01.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:01.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:01.503 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.503 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=805] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:01.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:01.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:01.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:01.505 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:01.505 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:01.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:01.505 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.504 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:01.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:01.505 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:01.505 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [2025/04/04 10:52:01.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:01.506 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:01.505 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [2025/04/04 10:52:01.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:01.507 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:01.507 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:01.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:01.507 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6c652fff-0af9-4d8d-b155-6b91348679c5] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:01.507 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:01.507 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:01.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:01.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:01.507 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [] [2025/04/04 10:52:01.507 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 10:52:01.507 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.507 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:01.507 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [2025/04/04 10:52:01.507 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:01.507 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:01.507 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [error="context canceled"] [2025/04/04 10:52:01.507 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=a9aa03f0-b0f8-42a6-9642-41eb07803efa] [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/04 10:52:01.523 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:01.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:01.569 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:01.569 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:01.581 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.847198ms] [2025/04/04 10:52:06.496 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117248117014532 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:06.496 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117248117014532 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:06.496 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117248117014532 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:06.496 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:06.496 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:06.496 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:06.496 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:06.496 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:06.496 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:06.496 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:06.496 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:06.496 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:06.496 +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/04 10:52:06.496 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:06.496 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:06.497 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLPositive (25.74s) === NAME === RUN TestPipelinedDMLNegative [2025/04/04 10:52:06.506 +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/04 10:52:06.506 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:06.507 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:06.507 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:06.507 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:06.508 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:06.508 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:06.508 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:06.508 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:06.508 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:06.509 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:06.512 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:06.517 +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/04 10:52:06.518 +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/04 10:52:06.519 +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/04 10:52:06.528 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:06.538 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:06.571 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=448] ["lease id"=6f18960069ddaf56] [2025/04/04 10:52:06.573 +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/04 10:52:06.660 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=248] ["elapsed time"=83.981751ms] [2025/04/04 10:52:06.660 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:06.662 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:06.667 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=716b6dd0-6d55-487b-80bd-685a2ce20612] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:06.667 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:06.670 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:06.671 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:06.671 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238178279424/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:06.671 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:06.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:06.671 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:06.671 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [2025/04/04 10:52:06.673 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb55e] [ownerID=716b6dd0-6d55-487b-80bd-685a2ce20612] [op=none] [2025/04/04 10:52:06.673 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:06.673 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb55e] [currRev=1223] [2025/04/04 10:52:06.674 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:06.674 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:06.674 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddb090] [ownerID=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [op=none] [2025/04/04 10:52:06.674 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [2025/04/04 10:52:06.674 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:06.674 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [ownerKey=/tidb/br-stream/owner/3eaa960069ddb090] [currRev=1224] [2025/04/04 10:52:06.675 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb55e] [ownerID=716b6dd0-6d55-487b-80bd-685a2ce20612] [op=none] [2025/04/04 10:52:06.675 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [op=none] [2025/04/04 10:52:06.675 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:06.686 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:06.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:06.687 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:06.695 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:06.701 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:06.705 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:06.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:06.706 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:06.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:06.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:06.706 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:06.706 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:06.706 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:06.706 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:06.707 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:06.707 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:06.707 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:06.708 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:06.708 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:06.708 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:06.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:06.710 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:06.710 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069ddaf60] [ownerID=716b6dd0-6d55-487b-80bd-685a2ce20612] [op=none] [2025/04/04 10:52:06.710 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:06.710 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [ownerKey=/tidb/stats/owner/6f18960069ddaf60] [currRev=1226] [2025/04/04 10:52:06.712 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b0a5e815-7c6b-4762-a792-cb23e86ad8d8] [2025/04/04 10:52:06.712 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [ttl-worker=task-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [originalCount=0] [newCount=4] [2025/04/04 10:52:06.713 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [ttl-worker=task-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [originalCount=0] [newCount=4] [2025/04/04 10:52:06.713 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:06.713 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:06.713 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:06.713 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:06.713 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763926713756187 [2025/04/04 10:52:06.718 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:06.724 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.621653ms] [2025/04/04 10:52:06.724 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:06.724 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:06.733 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:06.735 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=248] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:06.747 +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-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:06.747 +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-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:52:06.752 +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-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.767 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=1.914364ms] [gotSchemaVersion=249] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:06.771 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=249] [2025/04/04 10:52:06.773 +00:00] [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.063343ms] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.782 +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-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.797 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.764972ms] [gotSchemaVersion=250] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:06.800 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=250] [2025/04/04 10:52:06.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=250] ["take time"=8.614577ms] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.810 +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-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.817 +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/04 10:52:06.829 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=1.122374ms] [gotSchemaVersion=251] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:06.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=251] [2025/04/04 10:52: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=251] ["take time"=8.251518ms] [job="ID:281, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.843 +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/04 10:52:06.850 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=281] [jobType="drop table"] [2025/04/04 10:52:06.851 +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-04 10:52:06.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.868 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/04 10:52:06.868 +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: 1743763926868852151 [2025/04/04 10:52:06.885 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:52:06.888 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=251] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 10:52:06.900 +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-04 10:52:06.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:06.900 +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-04 10:52:06.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:52:06.905 +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-04 10:52:06.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.910 +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/04 10:52:06.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=1.477055ms] [gotSchemaVersion=252] [phyTblIDs="[282]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:06.927 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=283] [version=252] [2025/04/04 10:52:06.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=252] ["take time"=8.633775ms] [job="ID:283, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:06.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.940 +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-04 10:52:06.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:06.952 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=283] [2025/04/04 10:52:06.952 +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/04 10:52:06.954 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117250856419344] [2025/04/04 10:52:06.963 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117250856419348] [2025/04/04 10:52:06.972 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117250869264389] [2025/04/04 10:52:06.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117250869264394] [2025/04/04 10:52:06.994 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/04 10:52:07.015 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=off] [2025/04/04 10:52:07.017 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117250882633730] [2025/04/04 10:52:07.026 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/04 10:52:07.039 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=ON] [2025/04/04 10:52:07.044 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:07.044 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [] [2025/04/04 10:52:07.044 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:07.044 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.044 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:07.044 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:07.044 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=42.673Β΅s] [2025/04/04 10:52:07.044 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=33.483Β΅s] [2025/04/04 10:52:07.044 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.044 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.045 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:07.045 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:07.046 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=716b6dd0-6d55-487b-80bd-685a2ce20612] ["take time"=2.545465ms] [2025/04/04 10:52:07.046 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.046 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:07.046 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b0a5e815-7c6b-4762-a792-cb23e86ad8d8] [2025/04/04 10:52:07.046 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [ttl-worker=task-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [originalCount=4] [newCount=0] [2025/04/04 10:52:07.046 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:07.046 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:07.046 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:07.046 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:07.047 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [ttl-worker=task-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [originalCount=4] [newCount=0] [2025/04/04 10:52:07.049 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:07.049 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:07.049 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:07.049 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:07.051 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.051 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=448] [2025/04/04 10:52:07.052 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:07.052 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:07.053 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:07.053 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [2025/04/04 10:52:07.052 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:07.053 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [2025/04/04 10:52:07.053 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:07.053 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:07.052 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:07.052 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:07.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:07.054 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.054 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.055 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:07.055 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=96ba93be-b23d-4e83-8e8c-307524e0c7ed] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:07.055 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:07.055 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:07.055 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:07.055 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:07.055 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:07.055 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:07.055 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [error="context canceled"] [2025/04/04 10:52:07.055 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:07.055 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:07.055 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:07.056 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [error="context canceled"] [2025/04/04 10:52:07.056 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [2025/04/04 10:52:07.057 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [error="context canceled"] [2025/04/04 10:52:07.057 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=716b6dd0-6d55-487b-80bd-685a2ce20612] [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/04 10:52:07.074 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:07.074 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:07.116 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:07.116 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:07.127 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.17122ms] [2025/04/04 10:52:07.129 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:07.129 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:07.129 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:07.129 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:07.129 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:07.129 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:07.129 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:07.129 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:07.129 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:07.129 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:07.129 +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/04 10:52:07.129 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:07.130 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLNegative (0.63s) === NAME === RUN TestPipelinedDMLInsert [2025/04/04 10:52:07.135 +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/04 10:52:07.136 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:07.136 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:07.137 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:07.137 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:07.137 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:07.137 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:07.137 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:07.137 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:07.138 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:07.138 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:07.142 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:07.147 +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/04 10:52:07.147 +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/04 10:52:07.148 +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/04 10:52:07.157 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:07.166 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:07.199 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=75] ["lease id"=3eaa960069ddb0a8] [2025/04/04 10:52:07.201 +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/04 10:52:07.285 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=252] ["elapsed time"=81.546505ms] [2025/04/04 10:52:07.285 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:07.287 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:07.292 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=fb88860f-6721-4804-a36a-789c4c440259] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:07.293 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:07.294 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:07.296 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:07.296 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238178295808/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:07.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:07.296 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:07.296 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:07.297 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [2025/04/04 10:52:07.298 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddaf77] [ownerID=fb88860f-6721-4804-a36a-789c4c440259] [op=none] [2025/04/04 10:52:07.298 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:07.298 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddaf77] [currRev=1255] [2025/04/04 10:52:07.299 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:07.299 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:07.300 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:07.300 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb579] [ownerID=f81630ea-92a0-4c88-a74c-a46d54ba1924] [op=none] [2025/04/04 10:52:07.300 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [2025/04/04 10:52:07.300 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [ownerKey=/tidb/br-stream/owner/2231960069ddb579] [currRev=1256] [2025/04/04 10:52:07.300 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddaf77] [ownerID=fb88860f-6721-4804-a36a-789c4c440259] [op=none] [2025/04/04 10:52:07.300 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [op=none] [2025/04/04 10:52:07.300 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:07.310 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:07.311 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:07.311 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:07.320 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:07.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:07.330 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:07.330 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:07.330 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:07.330 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:07.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:07.331 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:07.331 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:07.331 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:07.331 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:07.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:07.331 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:07.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:07.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:07.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:07.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:07.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:07.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:07.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:07.332 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:07.333 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:07.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:07.333 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:07.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:07.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:07.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:07.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:07.334 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:07.335 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069ddb0b3] [ownerID=fb88860f-6721-4804-a36a-789c4c440259] [op=none] [2025/04/04 10:52:07.335 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:07.335 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [ownerKey=/tidb/stats/owner/3eaa960069ddb0b3] [currRev=1258] [2025/04/04 10:52:07.337 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/67922727-062e-44b6-84bb-c293bd563583] [2025/04/04 10:52:07.337 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:07.337 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:07.337 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [ttl-worker=task-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [originalCount=0] [newCount=4] [2025/04/04 10:52:07.337 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [ttl-worker=task-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [originalCount=0] [newCount=4] [2025/04/04 10:52:07.338 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:07.338 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:52:07.338 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] testkit.go:123: RefreshSession rand seed: 1743763927338153708 [2025/04/04 10:52:07.342 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:07.348 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.784587ms] [2025/04/04 10:52:07.348 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:07.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:07.350 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:07.353 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=252] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:07.365 +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-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:07.365 +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-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 10:52:07.371 +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-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.386 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=1.795126ms] [gotSchemaVersion=253] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:07.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=253] [2025/04/04 10:52:07.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=253] ["take time"=9.195295ms] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.401 +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-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=1.758806ms] [gotSchemaVersion=254] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:07.418 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=254] [2025/04/04 10:52:07.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=254] ["take time"=8.279105ms] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.428 +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-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.434 +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/04 10:52:07.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=936.221Β΅s] [gotSchemaVersion=255] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:07.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=255] [2025/04/04 10:52:07.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=255] ["take time"=7.599925ms] [job="ID:284, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.461 +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/04 10:52:07.468 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=284] [jobType="drop table"] [2025/04/04 10:52:07.469 +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-04 10:52:07.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.486 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/04 10:52:07.486 +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: 1743763927487260740 [2025/04/04 10:52:07.490 +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/04 10:52:07.503 +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-04 10:52:07.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:07.503 +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-04 10:52:07.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:52:07.511 +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-04 10:52:07.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.515 +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/04 10:52:07.529 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.463848ms] [gotSchemaVersion=256] [phyTblIDs="[285]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:07.533 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=256] [2025/04/04 10:52: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=256] ["take time"=8.816384ms] [job="ID:286, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:07.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.545 +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-04 10:52:07.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.556 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=286] [2025/04/04 10:52:07.556 +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/04 10:52:07.569 +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-04 10:52:07.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:07.569 +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-04 10:52:07.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:52:07.575 +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-04 10:52:07.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.579 +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/04 10:52:07.593 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=1.443569ms] [gotSchemaVersion=257] [phyTblIDs="[287]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:07.597 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=257] [2025/04/04 10:52:07.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=257] ["take time"=8.706603ms] [job="ID:288, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:07.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.609 +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-04 10:52:07.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:07.620 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/04 10:52:07.621 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=257] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:52:07.623 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039657990] [2025/04/04 10:52:07.627 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039657994] [2025/04/04 10:52:07.631 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039657997] [2025/04/04 10:52:07.635 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039658000] [2025/04/04 10:52:07.639 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039658003] [2025/04/04 10:52:07.643 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039658007] [2025/04/04 10:52:07.647 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039658010] [2025/04/04 10:52:07.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039658013] [2025/04/04 10:52:07.655 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039658017] [2025/04/04 10:52:07.659 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039658020] [2025/04/04 10:52:07.662 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251039658023] [2025/04/04 10:52:07.666 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027331] [2025/04/04 10:52:07.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027334] [2025/04/04 10:52:07.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027337] [2025/04/04 10:52:07.678 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027340] [2025/04/04 10:52:07.682 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027343] [2025/04/04 10:52:07.686 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027346] [2025/04/04 10:52:07.690 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027349] [2025/04/04 10:52:07.694 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027352] [2025/04/04 10:52:07.697 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027355] [2025/04/04 10:52:07.701 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027358] [2025/04/04 10:52:07.708 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027361] [2025/04/04 10:52:07.713 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251053027365] [2025/04/04 10:52:07.718 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134531] [2025/04/04 10:52:07.722 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134534] [2025/04/04 10:52:07.726 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134537] [2025/04/04 10:52:07.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134540] [2025/04/04 10:52:07.734 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134543] [2025/04/04 10:52:07.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134546] [2025/04/04 10:52:07.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134549] [2025/04/04 10:52:07.745 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134552] [2025/04/04 10:52:07.749 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134555] [2025/04/04 10:52:07.753 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134559] [2025/04/04 10:52:07.757 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134562] [2025/04/04 10:52:07.761 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251066134565] [2025/04/04 10:52:07.765 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979586] [2025/04/04 10:52:07.769 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979589] [2025/04/04 10:52:07.772 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979592] [2025/04/04 10:52:07.776 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979595] [2025/04/04 10:52:07.780 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979598] [2025/04/04 10:52:07.784 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979601] [2025/04/04 10:52:07.788 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979604] [2025/04/04 10:52:07.791 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979607] [2025/04/04 10:52:07.795 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979610] [2025/04/04 10:52:07.799 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979614] [2025/04/04 10:52:07.803 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979620] [2025/04/04 10:52:07.807 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979623] [2025/04/04 10:52:07.811 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251078979626] [2025/04/04 10:52:07.815 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086786] [2025/04/04 10:52:07.819 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086789] [2025/04/04 10:52:07.822 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086792] [2025/04/04 10:52:07.826 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086795] [2025/04/04 10:52:07.830 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086798] [2025/04/04 10:52:07.834 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086801] [2025/04/04 10:52:07.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086804] [2025/04/04 10:52:07.842 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086807] [2025/04/04 10:52:07.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086810] [2025/04/04 10:52:07.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086813] [2025/04/04 10:52:07.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086817] [2025/04/04 10:52:07.857 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086820] [2025/04/04 10:52:07.860 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251092086823] [2025/04/04 10:52:07.864 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456130] [2025/04/04 10:52:07.868 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456133] [2025/04/04 10:52:07.872 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456136] [2025/04/04 10:52:07.876 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456139] [2025/04/04 10:52:07.880 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456142] [2025/04/04 10:52:07.883 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456145] [2025/04/04 10:52:07.887 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456148] [2025/04/04 10:52:07.891 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456151] [2025/04/04 10:52:07.895 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456154] [2025/04/04 10:52:07.899 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456157] [2025/04/04 10:52:07.902 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456160] [2025/04/04 10:52:07.906 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456164] [2025/04/04 10:52:07.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251105456167] [2025/04/04 10:52:07.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301186] [2025/04/04 10:52:07.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301189] [2025/04/04 10:52:07.921 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301192] [2025/04/04 10:52:07.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301195] [2025/04/04 10:52:07.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301198] [2025/04/04 10:52:07.933 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301201] [2025/04/04 10:52:07.937 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301204] [2025/04/04 10:52:07.941 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301208] [2025/04/04 10:52:07.945 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301211] [2025/04/04 10:52:07.949 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301214] [2025/04/04 10:52:07.952 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301217] [2025/04/04 10:52:07.956 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301221] [2025/04/04 10:52:07.960 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251118301224] [2025/04/04 10:52:07.964 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408387] [2025/04/04 10:52:07.967 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408390] [2025/04/04 10:52:07.971 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408393] [2025/04/04 10:52:07.975 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408397] [2025/04/04 10:52:07.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408400] [2025/04/04 10:52:07.983 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408403] [2025/04/04 10:52:07.987 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408406] [2025/04/04 10:52:07.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408409] [2025/04/04 10:52:07.994 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408412] [2025/04/04 10:52:07.998 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408415] [2025/04/04 10:52:08.002 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408418] [2025/04/04 10:52:08.006 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408422] [2025/04/04 10:52:08.010 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117251131408425] [2025/04/04 10:52:08.025 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117251144777731] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.680374ms] [2025/04/04 10:52:08.025 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117251144777731] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=35.922Β΅s] [2025/04/04 10:52:08.025 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.699823ms] [total_duration=7.400978ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117251144777731] [2025/04/04 10:52:08.026 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117251144777731] [commitTS=457117251144777732] [2025/04/04 10:52:08.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117251144777731] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] [concurrency=8] [2025/04/04 10:52:08.033 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117251144777731] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] ["cost time"=6.052211ms] ["completed regions"=1] [2025/04/04 10:52:08.033 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117251144777731] [commitTS=457117251144777732] [session=9] [2025/04/04 10:52:08.045 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117251144777735] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.781475ms] [2025/04/04 10:52:08.045 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117251144777735] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=31.655Β΅s] [2025/04/04 10:52:08.045 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.796763ms] [total_duration=7.316162ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117251144777735] [2025/04/04 10:52:08.047 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117251144777735] [commitTS=457117251144777736] [2025/04/04 10:52:08.047 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117251144777735] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] [concurrency=8] [2025/04/04 10:52:08.050 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117251144777735] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] ["cost time"=3.090434ms] ["completed regions"=1] [2025/04/04 10:52:08.050 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117251144777735] [commitTS=457117251144777736] [session=9] [2025/04/04 10:52:08.064 +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-04 10:52:08.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t"] [2025/04/04 10:52:08.064 +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-04 10:52:08.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:08.070 +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-04 10:52:08.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:08.078 +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/04 10:52:08.093 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=1.467985ms] [gotSchemaVersion=258] [phyTblIDs="[287,289]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:08.097 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=258] [2025/04/04 10:52:08.098 +00:00] [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.840109ms] [job="ID:290, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:08.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:08.110 +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/04 10:52:08.114 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=290] [jobType="truncate table"] [2025/04/04 10:52:08.115 +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-04 10:52:08.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:08.133 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/04 10:52:08.133 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=258] [cur_db=test] [sql="truncate table _t"] [user=] [2025/04/04 10:52:08.134 +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/04 10:52:08.137 +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:2 id:138 store_id:1 id:139 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:52:08.137 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=136] [2025/04/04 10:52:08.138 +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:2 id:138 store_id:1 id:139 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.138 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=140] [2025/04/04 10:52:08.139 +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:2 id:142 store_id:1 id:143 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.139 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=144] [2025/04/04 10:52:08.140 +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:2 id:146 store_id:1 id:147 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.140 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=148] [2025/04/04 10:52:08.141 +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:2 id:150 store_id:1 id:151 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.141 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=152] [2025/04/04 10:52:08.142 +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:2 id:154 store_id:1 id:155 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.142 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=156] [2025/04/04 10:52:08.143 +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:2 id:158 store_id:1 id:159 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.143 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=160] [2025/04/04 10:52:08.144 +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:2 id:162 store_id:1 id:163 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.144 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=164] [2025/04/04 10:52:08.145 +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:2 id:166 store_id:1 id:167 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.145 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=168] [2025/04/04 10:52:08.145 +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:2 id:170 store_id:1 id:171 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:08.146 +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/04 10:52:08.146 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=136] [backoff(ms)=299988] [2025/04/04 10:52:08.147 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=136] [2025/04/04 10:52:08.147 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=140] [backoff(ms)=299987] [2025/04/04 10:52:08.147 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=140] [2025/04/04 10:52:08.147 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=144] [backoff(ms)=299987] [2025/04/04 10:52:08.148 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=144] [2025/04/04 10:52:08.148 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=148] [backoff(ms)=299986] [2025/04/04 10:52:08.148 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=148] [2025/04/04 10:52:08.148 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=152] [backoff(ms)=299986] [2025/04/04 10:52:08.148 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=152] [2025/04/04 10:52:08.149 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=156] [backoff(ms)=299985] [2025/04/04 10:52:08.149 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=156] [2025/04/04 10:52:08.149 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=160] [backoff(ms)=299985] [2025/04/04 10:52:08.149 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=160] [2025/04/04 10:52:08.149 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=164] [backoff(ms)=299984] [2025/04/04 10:52:08.150 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=164] [2025/04/04 10:52:08.150 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=168] [backoff(ms)=299984] [2025/04/04 10:52:08.150 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=168] [2025/04/04 10:52:08.188 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117251184099329] [generation=1] [session=9] [keys=200] [size=5.8kB] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=3.220073ms] [2025/04/04 10:52:08.188 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117251184099329] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=47.312Β΅s] [2025/04/04 10:52:08.188 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=200] [flush_wait_duration=3.328751ms] [total_duration=10.830266ms] ["memdb traversal cache hit"=400] ["memdb traversal cache miss"=400] [size=5.8kB] [startTS=457117251184099329] [2025/04/04 10:52:08.189 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117251184099329] [commitTS=457117251184099330] [2025/04/04 10:52:08.190 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117251184099329] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] [concurrency=8] [2025/04/04 10:52:08.198 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117251184099329] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] ["cost time"=8.351385ms] ["completed regions"=10] [2025/04/04 10:52:08.198 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117251184099329] [commitTS=457117251184099330] [session=9] [2025/04/04 10:52:08.201 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:08.201 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [] [2025/04/04 10:52:08.201 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:08.201 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.201 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:08.201 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:08.201 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=103.13Β΅s] [2025/04/04 10:52:08.202 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=68.139Β΅s] [2025/04/04 10:52:08.202 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=48.033Β΅s] [2025/04/04 10:52:08.202 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=36.466Β΅s] [2025/04/04 10:52:08.202 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.202 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.203 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:08.203 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:08.205 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=fb88860f-6721-4804-a36a-789c4c440259] ["take time"=3.730247ms] [2025/04/04 10:52:08.205 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.205 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:08.205 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/67922727-062e-44b6-84bb-c293bd563583] [2025/04/04 10:52:08.205 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [ttl-worker=task-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [originalCount=4] [newCount=0] [2025/04/04 10:52:08.205 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:08.205 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:08.205 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:08.205 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:08.205 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [ttl-worker=task-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [originalCount=4] [newCount=0] [2025/04/04 10:52:08.208 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:08.208 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:08.208 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:08.208 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:08.210 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.210 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=75] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:08.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:08.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:08.211 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:08.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:08.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:08.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:08.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:08.212 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:08.211 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:08.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:08.212 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [] [2025/04/04 10:52:08.212 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:08.212 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:08.212 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [] [2025/04/04 10:52:08.213 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:08.211 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:08.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:08.212 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [2025/04/04 10:52:08.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:08.213 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [2025/04/04 10:52:08.213 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.213 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.214 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:08.214 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:08.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:08.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:08.214 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:08.215 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:08.214 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:08.214 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f81630ea-92a0-4c88-a74c-a46d54ba1924] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:08.215 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:08.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:08.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:08.216 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [error="context canceled"] [2025/04/04 10:52:08.216 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [2025/04/04 10:52:08.233 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:08.233 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:08.276 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=fb88860f-6721-4804-a36a-789c4c440259] [error="context canceled"] [2025/04/04 10:52:08.276 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:08.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:08.287 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.840265ms] [2025/04/04 10:52:09.142 +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/04 10:52:13.035 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117251144777731 commit_ts:457117251144777732 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:13.035 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117251144777731 commit_ts:457117251144777732 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:13.035 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117251144777731 commit_ts:457117251144777732 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:13.051 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117251144777735 commit_ts:457117251144777736 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:13.051 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117251144777735 commit_ts:457117251144777736 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:13.051 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117251144777735 commit_ts:457117251144777736 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:13.199 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117251184099329 commit_ts:457117251184099330 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:13.199 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117251184099329 commit_ts:457117251184099330 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:13.199 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117251184099329 commit_ts:457117251184099330 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:13.199 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:13.199 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:13.199 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:13.199 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:13.199 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:13.199 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:13.199 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:13.199 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:13.199 +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/04 10:52:13.199 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:13.199 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:13.200 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:13.201 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsert (6.07s) === NAME === RUN TestPipelinedDMLInsertIgnore [2025/04/04 10:52:13.210 +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/04 10:52:13.210 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:13.211 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:13.212 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:13.212 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:13.212 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:13.212 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:13.212 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:13.212 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:13.213 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:13.213 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:13.217 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:13.223 +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/04 10:52:13.223 +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/04 10:52:13.224 +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/04 10:52:13.234 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:13.244 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:13.281 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1784] ["lease id"=6f18960069ddaf9c] [2025/04/04 10:52:13.283 +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/04 10:52:13.374 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=258] ["elapsed time"=88.612335ms] [2025/04/04 10:52:13.374 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:13.377 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:13.382 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=85e5e9b4-f805-4f5c-83df-296909442aec] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:13.383 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:13.386 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:13.387 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:13.387 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238178508800/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:13.387 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:13.387 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:13.387 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:13.387 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:13.387 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:13.388 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:13.388 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:13.388 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:13.388 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:13.388 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:13.388 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:13.388 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [2025/04/04 10:52:13.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:13.389 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb5a2] [ownerID=85e5e9b4-f805-4f5c-83df-296909442aec] [op=none] [2025/04/04 10:52:13.390 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:13.390 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb5a2] [currRev=1292] [2025/04/04 10:52:13.391 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:13.391 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:13.391 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddb0eb] [ownerID=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [op=none] [2025/04/04 10:52:13.391 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [2025/04/04 10:52:13.391 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [ownerKey=/tidb/br-stream/owner/3eaa960069ddb0eb] [currRev=1293] [2025/04/04 10:52:13.391 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:13.392 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb5a2] [ownerID=85e5e9b4-f805-4f5c-83df-296909442aec] [op=none] [2025/04/04 10:52:13.392 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [op=none] [2025/04/04 10:52:13.392 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:13.404 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:13.405 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:13.406 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:13.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:13.422 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:13.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:13.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:13.427 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:13.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:13.427 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:13.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:13.427 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:13.427 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:13.427 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:13.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:13.428 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:13.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:13.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:13.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:13.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:13.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:13.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:13.429 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:13.429 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:13.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:13.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:13.430 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:13.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:13.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:13.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:13.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:13.431 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:13.432 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069ddafa6] [ownerID=85e5e9b4-f805-4f5c-83df-296909442aec] [op=none] [2025/04/04 10:52:13.432 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:13.432 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [ownerKey=/tidb/stats/owner/6f18960069ddafa6] [currRev=1295] [2025/04/04 10:52:13.434 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6547d543-2c3a-4c19-ba37-6b5afadbd3ca] [2025/04/04 10:52:13.435 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [ttl-worker=task-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [originalCount=0] [newCount=4] [2025/04/04 10:52:13.435 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [ttl-worker=task-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [originalCount=0] [newCount=4] [2025/04/04 10:52:13.435 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:13.435 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:13.435 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:13.435 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:13.435 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763933435823133 [2025/04/04 10:52:13.441 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:13.448 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.910791ms] [2025/04/04 10:52:13.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:13.448 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:13.450 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:13.453 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:52:13.454 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:13.467 +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-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:13.467 +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-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:13.473 +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-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.489 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=1.946609ms] [gotSchemaVersion=259] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:13.493 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=259] [2025/04/04 10:52:13.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=259] ["take time"=9.767624ms] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.504 +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-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.519 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.915787ms] [gotSchemaVersion=260] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:13.523 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=260] [2025/04/04 10:52:13.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=260] ["take time"=8.940534ms] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.533 +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-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.539 +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/04 10:52:13.552 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.061307ms] [gotSchemaVersion=261] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:13.555 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=261] [2025/04/04 10:52:13.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=261] ["take time"=8.10409ms] [job="ID:291, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.565 +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/04 10:52:13.572 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=291] [jobType="drop table"] [2025/04/04 10:52:13.573 +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-04 10:52:13.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.595 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=291] [2025/04/04 10:52:13.606 +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-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:13.606 +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-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:13.611 +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-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.626 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=1.836235ms] [gotSchemaVersion=262] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:13.630 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=262] [2025/04/04 10:52:13.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=262] ["take time"=9.004855ms] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.642 +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-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.656 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.95441ms] [gotSchemaVersion=263] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:13.660 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=263] [2025/04/04 10:52: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=263] ["take time"=8.706786ms] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.670 +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-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.675 +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/04 10:52:13.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=955.616Β΅s] [gotSchemaVersion=264] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:13.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=264] [2025/04/04 10:52:13.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=264] ["take time"=7.322557ms] [job="ID:292, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.701 +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/04 10:52:13.705 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=292] [jobType="drop table"] [2025/04/04 10:52:13.706 +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-04 10:52:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.722 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/04 10:52:13.722 +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: 1743763933723022866 [2025/04/04 10:52:13.742 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:52:13.745 +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/04 10:52:13.758 +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-04 10:52:13.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:52:13.758 +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-04 10:52:13.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:13.764 +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-04 10:52:13.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.768 +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/04 10:52:13.783 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=1.579631ms] [gotSchemaVersion=265] [phyTblIDs="[293]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:13.787 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=265] [2025/04/04 10:52:13.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=265] ["take time"=9.321607ms] [job="ID:294, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:13.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.800 +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-04 10:52:13.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.810 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/04 10:52:13.811 +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/04 10:52:13.823 +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-04 10:52:13.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:13.823 +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-04 10:52:13.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:52:13.829 +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-04 10:52:13.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.834 +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/04 10:52:13.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=1.508819ms] [gotSchemaVersion=266] [phyTblIDs="[295]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:13.852 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=266] [2025/04/04 10:52:13.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=266] ["take time"=8.65562ms] [job="ID:296, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:13.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.864 +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-04 10:52:13.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:13.875 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/04 10:52:13.876 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=266] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:52:13.884 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252678320136] [2025/04/04 10:52:13.888 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252678320139] [2025/04/04 10:52:13.893 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252678320145] [2025/04/04 10:52:13.897 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252678320149] [2025/04/04 10:52:13.901 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252678320152] [2025/04/04 10:52:13.905 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252678320155] [2025/04/04 10:52:13.909 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252678320158] [2025/04/04 10:52:13.913 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252678320161] [2025/04/04 10:52:13.917 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427331] [2025/04/04 10:52:13.921 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427334] [2025/04/04 10:52:13.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427337] [2025/04/04 10:52:13.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427340] [2025/04/04 10:52:13.932 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427343] [2025/04/04 10:52:13.936 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427346] [2025/04/04 10:52:13.940 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427349] [2025/04/04 10:52:13.944 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427352] [2025/04/04 10:52:13.948 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427356] [2025/04/04 10:52:13.952 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427359] [2025/04/04 10:52:13.956 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427362] [2025/04/04 10:52:13.960 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252691427365] [2025/04/04 10:52:13.964 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534530] [2025/04/04 10:52:13.968 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534533] [2025/04/04 10:52:13.972 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534536] [2025/04/04 10:52:13.976 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534540] [2025/04/04 10:52:13.980 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534543] [2025/04/04 10:52:13.984 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534547] [2025/04/04 10:52:13.987 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534550] [2025/04/04 10:52:13.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534553] [2025/04/04 10:52:13.996 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534557] [2025/04/04 10:52:14.000 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534560] [2025/04/04 10:52:14.004 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534563] [2025/04/04 10:52:14.008 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534566] [2025/04/04 10:52:14.011 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252704534569] [2025/04/04 10:52:14.015 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379587] [2025/04/04 10:52:14.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379590] [2025/04/04 10:52:14.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379593] [2025/04/04 10:52:14.027 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379596] [2025/04/04 10:52:14.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379599] [2025/04/04 10:52:14.035 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379602] [2025/04/04 10:52:14.039 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379606] [2025/04/04 10:52:14.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379609] [2025/04/04 10:52:14.049 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379613] [2025/04/04 10:52:14.053 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379616] [2025/04/04 10:52:14.057 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379619] [2025/04/04 10:52:14.060 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252717379622] [2025/04/04 10:52:14.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748930] [2025/04/04 10:52:14.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748933] [2025/04/04 10:52:14.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748936] [2025/04/04 10:52:14.075 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748939] [2025/04/04 10:52:14.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748942] [2025/04/04 10:52:14.083 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748945] [2025/04/04 10:52:14.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748948] [2025/04/04 10:52:14.091 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748951] [2025/04/04 10:52:14.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748955] [2025/04/04 10:52:14.099 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748958] [2025/04/04 10:52:14.103 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748961] [2025/04/04 10:52:14.107 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748964] [2025/04/04 10:52:14.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252730748967] [2025/04/04 10:52:14.114 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856130] [2025/04/04 10:52:14.119 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856133] [2025/04/04 10:52:14.122 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856136] [2025/04/04 10:52:14.126 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856139] [2025/04/04 10:52:14.130 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856142] [2025/04/04 10:52:14.134 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856145] [2025/04/04 10:52:14.138 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856148] [2025/04/04 10:52:14.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856153] [2025/04/04 10:52:14.147 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856158] [2025/04/04 10:52:14.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856161] [2025/04/04 10:52:14.155 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856164] [2025/04/04 10:52:14.159 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856167] [2025/04/04 10:52:14.163 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252743856171] [2025/04/04 10:52:14.166 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701187] [2025/04/04 10:52:14.170 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701190] [2025/04/04 10:52:14.174 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701193] [2025/04/04 10:52:14.178 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701196] [2025/04/04 10:52:14.182 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701199] [2025/04/04 10:52:14.185 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701202] [2025/04/04 10:52:14.189 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701205] [2025/04/04 10:52:14.193 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701208] [2025/04/04 10:52:14.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701212] [2025/04/04 10:52:14.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701215] [2025/04/04 10:52:14.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701218] [2025/04/04 10:52:14.207 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701221] [2025/04/04 10:52:14.211 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252756701224] [2025/04/04 10:52:14.215 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808386] [2025/04/04 10:52:14.219 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808389] [2025/04/04 10:52:14.222 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808392] [2025/04/04 10:52:14.226 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808395] [2025/04/04 10:52:14.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808398] [2025/04/04 10:52:14.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808401] [2025/04/04 10:52:14.238 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808404] [2025/04/04 10:52:14.241 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808407] [2025/04/04 10:52:14.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808411] [2025/04/04 10:52:14.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808414] [2025/04/04 10:52:14.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808417] [2025/04/04 10:52:14.257 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808420] [2025/04/04 10:52:14.261 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252769808423] [2025/04/04 10:52:14.265 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252783177730] [2025/04/04 10:52:14.268 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252783177733] [2025/04/04 10:52:14.272 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117252783177736] [2025/04/04 10:52:14.282 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117252783177740] [generation=1] [session=11] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.237505ms] [2025/04/04 10:52:14.282 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117252783177740] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=32.818Β΅s] [2025/04/04 10:52:14.282 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.361037ms] [total_duration=2.207681ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=290B] [startTS=457117252783177740] [2025/04/04 10:52:14.283 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117252783177740] [commitTS=457117252783177741] [2025/04/04 10:52:14.284 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117252783177740] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] [concurrency=8] [2025/04/04 10:52:14.289 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117252783177740] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] ["cost time"=5.50528ms] ["completed regions"=1] [2025/04/04 10:52:14.289 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117252783177740] [commitTS=457117252783177741] [session=11] [2025/04/04 10:52:14.299 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117252783177742] [generation=1] [session=11] [keys=90] [size=2.61kB] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=2.201246ms] [2025/04/04 10:52:14.299 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117252783177742] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=39.527Β΅s] [2025/04/04 10:52:14.299 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=90] [flush_wait_duration=2.278514ms] [total_duration=13.294173ms] ["memdb traversal cache hit"=180] ["memdb traversal cache miss"=290] [size=2.61kB] [startTS=457117252783177742] [2025/04/04 10:52:14.300 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117252783177742] [commitTS=457117252783177744] [2025/04/04 10:52:14.300 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117252783177742] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] [concurrency=8] [2025/04/04 10:52:14.304 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117252783177742] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] ["cost time"=3.36884ms] ["completed regions"=1] [2025/04/04 10:52:14.304 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117252783177742] [commitTS=457117252783177744] [session=11] [2025/04/04 10:52:14.307 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:14.307 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [] [2025/04/04 10:52:14.307 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:14.307 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.308 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:14.308 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:14.308 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=111.352Β΅s] [2025/04/04 10:52:14.308 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=69.399Β΅s] [2025/04/04 10:52:14.308 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=68.229Β΅s] [2025/04/04 10:52:14.308 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=58.945Β΅s] [2025/04/04 10:52:14.308 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.308 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.309 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:14.310 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:14.312 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=85e5e9b4-f805-4f5c-83df-296909442aec] ["take time"=4.46454ms] [2025/04/04 10:52:14.312 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.312 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:14.312 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6547d543-2c3a-4c19-ba37-6b5afadbd3ca] [2025/04/04 10:52:14.312 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [ttl-worker=task-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [originalCount=4] [newCount=0] [2025/04/04 10:52:14.312 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:14.312 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:14.312 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:14.312 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:14.312 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [ttl-worker=task-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [originalCount=4] [newCount=0] [2025/04/04 10:52:14.315 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:14.315 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:14.315 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:14.315 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:14.318 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.318 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1784] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:14.320 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:14.320 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:14.319 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [2025/04/04 10:52:14.320 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:14.320 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:14.320 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [2025/04/04 10:52:14.320 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:14.319 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:14.320 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:14.320 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:14.319 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:14.320 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:14.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:14.320 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:14.319 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.320 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:14.320 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.320 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:14.322 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=60cf0e7f-ecd8-4e92-ab2a-f9fa609fd47c] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:14.322 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:14.322 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:14.322 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:14.322 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:14.322 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:14.322 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:14.322 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:14.322 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:14.322 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:14.322 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:14.323 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [error="context canceled"] [2025/04/04 10:52:14.323 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [2025/04/04 10:52:14.341 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:14.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:14.383 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=85e5e9b4-f805-4f5c-83df-296909442aec] [error="context canceled"] [2025/04/04 10:52:14.383 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:14.383 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:14.394 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.388602ms] [2025/04/04 10:52:15.218 +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/04 10:52:19.291 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117252783177740 commit_ts:457117252783177741 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:19.291 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117252783177740 commit_ts:457117252783177741 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:19.291 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117252783177740 commit_ts:457117252783177741 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:19.305 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117252783177742 commit_ts:457117252783177744 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:19.305 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117252783177742 commit_ts:457117252783177744 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:19.305 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117252783177742 commit_ts:457117252783177744 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:19.305 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:19.305 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:19.305 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:19.305 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:19.305 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:19.305 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:19.305 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:19.305 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:19.305 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:19.305 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:19.305 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:19.305 +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/04 10:52:19.307 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertIgnore (6.11s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdate [2025/04/04 10:52:19.315 +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/04 10:52:19.316 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:19.317 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:19.318 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:19.318 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:19.318 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:19.318 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:19.318 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:19.318 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:19.319 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:19.319 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:19.323 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:19.329 +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/04 10:52:19.330 +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/04 10:52:19.331 +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/04 10:52:19.341 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:19.352 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:19.389 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=661] ["lease id"=2231960069ddb5c9] [2025/04/04 10:52:19.391 +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/04 10:52:19.480 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=266] ["elapsed time"=85.646086ms] [2025/04/04 10:52:19.480 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:19.482 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:19.488 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:19.488 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:19.490 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:19.491 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:19.492 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 227835650048/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:19.492 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:19.492 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:19.492 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:19.492 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2be62b97-5387-4992-8c00-77546a007169] [2025/04/04 10:52:19.494 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddb11f] [ownerID=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [op=none] [2025/04/04 10:52:19.494 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:19.494 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddb11f] [currRev=1334] [2025/04/04 10:52:19.495 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:19.495 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2be62b97-5387-4992-8c00-77546a007169] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:19.496 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddafcb] [ownerID=2be62b97-5387-4992-8c00-77546a007169] [op=none] [2025/04/04 10:52:19.496 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:19.496 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2be62b97-5387-4992-8c00-77546a007169] [2025/04/04 10:52:19.496 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2be62b97-5387-4992-8c00-77546a007169] [ownerKey=/tidb/br-stream/owner/6f18960069ddafcb] [currRev=1335] [2025/04/04 10:52:19.497 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddb11f] [ownerID=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [op=none] [2025/04/04 10:52:19.497 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [op=none] [2025/04/04 10:52:19.497 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:19.506 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:19.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:19.508 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:19.517 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:19.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:19.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:19.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:19.529 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:19.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:19.529 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:19.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:19.529 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:19.529 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:19.529 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:19.531 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:19.531 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:19.532 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:19.532 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:19.532 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:19.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:19.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:19.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:19.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:19.535 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069ddb5d3] [ownerID=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [op=none] [2025/04/04 10:52:19.535 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:19.535 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:19.535 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [ownerKey=/tidb/stats/owner/2231960069ddb5d3] [currRev=1337] [2025/04/04 10:52:19.538 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/86645bc6-aacb-43a9-8cc2-234d49a845b2] [2025/04/04 10:52:19.538 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [ttl-worker=task-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [originalCount=0] [newCount=4] [2025/04/04 10:52:19.538 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [ttl-worker=task-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [originalCount=0] [newCount=4] [2025/04/04 10:52:19.538 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:19.538 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:19.538 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:19.539 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763939539322488 [2025/04/04 10:52:19.539 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:19.545 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:19.554 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.799206ms] [2025/04/04 10:52:19.554 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:19.554 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:19.562 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:52:19.575 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:19.578 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:52:19.579 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:19.592 +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-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:19.592 +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-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:19.598 +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-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=1.866939ms] [gotSchemaVersion=267] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:19.618 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=267] [2025/04/04 10:52:19.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=267] ["take time"=9.029792ms] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.630 +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-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.648 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=2.137582ms] [gotSchemaVersion=268] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:19.653 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=268] [2025/04/04 10:52:19.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=268] ["take time"=12.41342ms] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.664 +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-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.671 +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/04 10:52:19.685 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=1.145742ms] [gotSchemaVersion=269] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:19.689 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=269] [2025/04/04 10:52:19.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=269] ["take time"=9.503086ms] [job="ID:297, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.702 +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/04 10:52:19.709 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=297] [jobType="drop table"] [2025/04/04 10:52:19.710 +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-04 10:52:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.730 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=297] [2025/04/04 10:52:19.742 +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-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:19.742 +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-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:19.748 +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-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.764 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=1.976816ms] [gotSchemaVersion=270] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:19.768 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=270] [2025/04/04 10:52:19.770 +00:00] [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"=9.606082ms] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.780 +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-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.795 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=1.9363ms] [gotSchemaVersion=271] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:19.799 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=271] [2025/04/04 10:52:19.801 +00:00] [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.591518ms] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.809 +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-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.815 +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/04 10:52:19.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.125881ms] [gotSchemaVersion=272] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:19.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=272] [2025/04/04 10:52:19.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=272] ["take time"=8.334931ms] [job="ID:298, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.843 +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/04 10:52:19.848 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=298] [jobType="drop table"] [2025/04/04 10:52:19.849 +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-04 10:52:19.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.868 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/04 10:52:19.868 +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: 1743763939868837502 [2025/04/04 10:52:19.872 +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/04 10:52:19.885 +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-04 10:52:19.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:52:19.885 +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-04 10:52:19.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:19.891 +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-04 10:52:19.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.896 +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/04 10:52:19.912 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.647823ms] [gotSchemaVersion=273] [phyTblIDs="[299]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:19.916 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=273] [2025/04/04 10:52:19.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=273] ["take time"=9.885383ms] [job="ID:300, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:19.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.930 +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-04 10:52:19.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.942 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/04 10:52:19.942 +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/04 10:52:19.956 +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-04 10:52:19.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:19.956 +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-04 10:52:19.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:52:19.962 +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-04 10:52:19.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.966 +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/04 10:52:19.981 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.533417ms] [gotSchemaVersion=274] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:19.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=274] [2025/04/04 10:52:19.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=274] ["take time"=8.808313ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:19.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:19.997 +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-04 10:52:19.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/04 10:52:20.009 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=274] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:52:20.012 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254277136405] [2025/04/04 10:52:20.016 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243587] [2025/04/04 10:52:20.020 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243590] [2025/04/04 10:52:20.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243593] [2025/04/04 10:52:20.027 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243596] [2025/04/04 10:52:20.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243599] [2025/04/04 10:52:20.034 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243602] [2025/04/04 10:52:20.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243605] [2025/04/04 10:52:20.042 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243608] [2025/04/04 10:52:20.046 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243611] [2025/04/04 10:52:20.050 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243615] [2025/04/04 10:52:20.054 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243618] [2025/04/04 10:52:20.057 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243621] [2025/04/04 10:52:20.061 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254290243624] [2025/04/04 10:52:20.065 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350786] [2025/04/04 10:52:20.069 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350789] [2025/04/04 10:52:20.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350792] [2025/04/04 10:52:20.076 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350795] [2025/04/04 10:52:20.080 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350798] [2025/04/04 10:52:20.084 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350801] [2025/04/04 10:52:20.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350804] [2025/04/04 10:52:20.091 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350807] [2025/04/04 10:52:20.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350810] [2025/04/04 10:52:20.098 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350813] [2025/04/04 10:52:20.103 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350817] [2025/04/04 10:52:20.107 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350820] [2025/04/04 10:52:20.110 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254303350823] [2025/04/04 10:52:20.114 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720130] [2025/04/04 10:52:20.118 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720133] [2025/04/04 10:52:20.122 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720136] [2025/04/04 10:52:20.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720139] [2025/04/04 10:52:20.129 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720142] [2025/04/04 10:52:20.133 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720145] [2025/04/04 10:52:20.137 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720148] [2025/04/04 10:52:20.141 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720152] [2025/04/04 10:52:20.145 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720155] [2025/04/04 10:52:20.149 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720159] [2025/04/04 10:52:20.153 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720162] [2025/04/04 10:52:20.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720165] [2025/04/04 10:52:20.161 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254316720168] [2025/04/04 10:52:20.165 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565186] [2025/04/04 10:52:20.169 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565190] [2025/04/04 10:52:20.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565193] [2025/04/04 10:52:20.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565196] [2025/04/04 10:52:20.180 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565199] [2025/04/04 10:52:20.184 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565202] [2025/04/04 10:52:20.188 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565205] [2025/04/04 10:52:20.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565208] [2025/04/04 10:52:20.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565211] [2025/04/04 10:52:20.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565215] [2025/04/04 10:52:20.203 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565218] [2025/04/04 10:52:20.207 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565221] [2025/04/04 10:52:20.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254329565224] [2025/04/04 10:52:20.215 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672387] [2025/04/04 10:52:20.219 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672390] [2025/04/04 10:52:20.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672393] [2025/04/04 10:52:20.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672396] [2025/04/04 10:52:20.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672399] [2025/04/04 10:52:20.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672402] [2025/04/04 10:52:20.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672405] [2025/04/04 10:52:20.243 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672408] [2025/04/04 10:52:20.247 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672414] [2025/04/04 10:52:20.252 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672418] [2025/04/04 10:52:20.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672421] [2025/04/04 10:52:20.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254342672424] [2025/04/04 10:52:20.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041730] [2025/04/04 10:52:20.268 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041733] [2025/04/04 10:52:20.272 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041736] [2025/04/04 10:52:20.276 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041739] [2025/04/04 10:52:20.280 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041742] [2025/04/04 10:52:20.283 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041745] [2025/04/04 10:52:20.287 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041748] [2025/04/04 10:52:20.291 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041751] [2025/04/04 10:52:20.295 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041754] [2025/04/04 10:52:20.299 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041758] [2025/04/04 10:52:20.303 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041761] [2025/04/04 10:52:20.307 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041764] [2025/04/04 10:52:20.311 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254356041767] [2025/04/04 10:52:20.314 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886786] [2025/04/04 10:52:20.318 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886789] [2025/04/04 10:52:20.322 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886792] [2025/04/04 10:52:20.326 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886795] [2025/04/04 10:52:20.330 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886798] [2025/04/04 10:52:20.333 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886801] [2025/04/04 10:52:20.337 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886804] [2025/04/04 10:52:20.341 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886807] [2025/04/04 10:52:20.345 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886810] [2025/04/04 10:52:20.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886813] [2025/04/04 10:52:20.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886817] [2025/04/04 10:52:20.357 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886820] [2025/04/04 10:52:20.360 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254368886823] [2025/04/04 10:52:20.364 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256130] [2025/04/04 10:52:20.368 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256133] [2025/04/04 10:52:20.371 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256136] [2025/04/04 10:52:20.375 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256139] [2025/04/04 10:52:20.379 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256142] [2025/04/04 10:52:20.383 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256145] [2025/04/04 10:52:20.386 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256148] [2025/04/04 10:52:20.390 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256151] [2025/04/04 10:52:20.394 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256154] [2025/04/04 10:52:20.402 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117254382256158] [2025/04/04 10:52:20.422 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:20.422 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:20.422 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [] [2025/04/04 10:52:20.422 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.422 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:20.422 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:20.422 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=45.442Β΅s] [2025/04/04 10:52:20.422 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=45.367Β΅s] [2025/04/04 10:52:20.422 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=33.829Β΅s] [2025/04/04 10:52:20.422 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=32.022Β΅s] [2025/04/04 10:52:20.423 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.423 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.424 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:20.424 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:20.425 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=dea3b4e2-aebe-4f91-9baf-efeccca039d2] ["take time"=3.564826ms] [2025/04/04 10:52:20.425 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.425 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:20.425 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/86645bc6-aacb-43a9-8cc2-234d49a845b2] [2025/04/04 10:52:20.426 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [ttl-worker=task-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [originalCount=4] [newCount=0] [2025/04/04 10:52:20.426 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:20.426 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:20.426 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:20.426 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:20.426 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [ttl-worker=task-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [originalCount=4] [newCount=0] [2025/04/04 10:52:20.428 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:20.429 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:20.429 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:20.429 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:20.431 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.431 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=661] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:20.432 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2be62b97-5387-4992-8c00-77546a007169] [] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:20.433 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:20.432 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:20.433 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:20.432 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2be62b97-5387-4992-8c00-77546a007169] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:20.433 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:20.433 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:20.433 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:20.433 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:20.433 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [] [2025/04/04 10:52:20.433 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:20.433 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:20.433 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:20.433 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:20.433 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:20.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:20.433 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:20.432 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:20.433 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:20.433 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:20.433 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2be62b97-5387-4992-8c00-77546a007169] [2025/04/04 10:52:20.433 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:20.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:20.433 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:20.433 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2be62b97-5387-4992-8c00-77546a007169] [2025/04/04 10:52:20.434 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:20.434 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:20.434 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:20.435 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:20.435 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:20.435 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2be62b97-5387-4992-8c00-77546a007169] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:20.435 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:20.435 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:20.435 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:20.435 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:20.435 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:20.436 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [error="context canceled"] [2025/04/04 10:52:20.436 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [2025/04/04 10:52:20.436 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [error="context canceled"] [2025/04/04 10:52:20.436 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=dea3b4e2-aebe-4f91-9baf-efeccca039d2] [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/04 10:52:20.451 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:20.451 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:20.502 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:20.502 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:20.512 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.293448ms] [2025/04/04 10:52:20.515 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:20.515 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:20.515 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:20.515 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:20.515 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:20.515 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:20.515 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:20.515 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:20.515 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:20.515 +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/04 10:52:20.515 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:20.515 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:20.516 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.21s) === NAME === RUN TestPipelinedDMLInsertRPC [2025/04/04 10:52:20.522 +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/04 10:52:20.522 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:20.523 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:20.523 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:20.524 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:20.524 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:20.524 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:20.524 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:20.524 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:20.524 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:20.524 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:20.528 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:20.533 +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/04 10:52:20.534 +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/04 10:52:20.535 +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/04 10:52:20.544 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:20.554 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:20.591 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=947] ["lease id"=2231960069ddb5eb] [2025/04/04 10:52:20.593 +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/04 10:52:20.681 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=274] ["elapsed time"=85.679302ms] [2025/04/04 10:52:20.681 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:20.683 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:20.688 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=db652f84-a1d1-47b3-8447-58b0b91314e1] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:20.688 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:20.690 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:20.691 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:20.691 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 227835682816/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:20.692 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:20.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:20.692 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:20.692 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [2025/04/04 10:52:20.694 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddafe6] [ownerID=db652f84-a1d1-47b3-8447-58b0b91314e1] [op=none] [2025/04/04 10:52:20.694 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:20.694 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddafe6] [currRev=1374] [2025/04/04 10:52:20.695 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:20.695 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:20.695 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:20.695 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddafe8] [ownerID=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [op=none] [2025/04/04 10:52:20.695 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [2025/04/04 10:52:20.695 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [ownerKey=/tidb/br-stream/owner/6f18960069ddafe8] [currRev=1375] [2025/04/04 10:52:20.696 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddafe6] [ownerID=db652f84-a1d1-47b3-8447-58b0b91314e1] [op=none] [2025/04/04 10:52:20.696 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [op=none] [2025/04/04 10:52:20.696 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:20.705 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:20.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:20.706 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:20.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:20.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:20.726 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:20.727 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:20.727 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:20.727 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:20.727 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:20.727 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:20.727 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:20.727 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:20.727 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:20.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:20.728 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:20.729 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:20.729 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:20.729 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:20.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:20.731 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069ddb5f6] [ownerID=db652f84-a1d1-47b3-8447-58b0b91314e1] [op=none] [2025/04/04 10:52:20.731 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:20.731 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:20.731 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [ownerKey=/tidb/stats/owner/2231960069ddb5f6] [currRev=1377] [2025/04/04 10:52:20.733 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a3a57f8e-2a5d-4344-8fd9-9ffac05ceca0] [2025/04/04 10:52:20.734 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [ttl-worker=task-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [originalCount=0] [newCount=4] [2025/04/04 10:52:20.734 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [ttl-worker=task-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [originalCount=0] [newCount=4] [2025/04/04 10:52:20.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:20.734 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:20.734 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:20.734 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:20.734 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763940734649942 [2025/04/04 10:52:20.739 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:20.749 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.960165ms] [2025/04/04 10:52:20.749 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:20.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:20.758 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:52:20.770 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:20.772 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:52:20.774 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:20.786 +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-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:20.786 +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-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:20.792 +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-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.808 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=2.021348ms] [gotSchemaVersion=275] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:20.812 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=275] [2025/04/04 10:52:20.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=275] ["take time"=9.674315ms] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.824 +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-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.838 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.947451ms] [gotSchemaVersion=276] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:20.842 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=276] [2025/04/04 10:52:20.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=276] ["take time"=9.153251ms] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.852 +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-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.857 +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/04 10:52:20.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=965.724Β΅s] [gotSchemaVersion=277] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:20.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=277] [2025/04/04 10:52:20.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=277] ["take time"=8.055054ms] [job="ID:303, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.884 +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/04 10:52:20.891 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop table"] [2025/04/04 10:52:20.892 +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-04 10:52:20.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/04 10:52:20.919 +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-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:20.919 +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-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:20.925 +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-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.940 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.900771ms] [gotSchemaVersion=278] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:20.943 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=278] [2025/04/04 10:52:20.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=278] ["take time"=9.302606ms] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.954 +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-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.968 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=1.818054ms] [gotSchemaVersion=279] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:20.972 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=279] [2025/04/04 10:52: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=279] ["take time"=8.584082ms] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.981 +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-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:20.987 +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/04 10:52:20.999 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=1.038819ms] [gotSchemaVersion=280] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:21.002 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=280] [2025/04/04 10:52:21.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=280] ["take time"=7.263905ms] [job="ID:304, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.012 +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/04 10:52:21.016 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=304] [jobType="drop table"] [2025/04/04 10:52:21.017 +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-04 10:52:20.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.040 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=304] [2025/04/04 10:52:21.041 +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: 1743763941041725068 [2025/04/04 10:52:21.051 +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/04 10:52:21.067 +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-04 10:52:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.066 +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-04 10:52:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:52:21.074 +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-04 10:52:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.079 +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/04 10:52:21.096 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=1.798769ms] [gotSchemaVersion=281] [phyTblIDs="[305]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:21.100 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=306] [version=281] [2025/04/04 10:52:21.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=281] ["take time"=10.671758ms] [job="ID:306, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.116 +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-04 10:52:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.130 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=306] [2025/04/04 10:52:21.130 +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/04 10:52:21.152 +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-04 10:52:21.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.152 +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-04 10:52:21.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 10:52:21.159 +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-04 10:52:21.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.164 +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/04 10:52:21.263 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=2.952646ms] [gotSchemaVersion=282] [phyTblIDs="[307]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:21.267 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=308] [version=282] [2025/04/04 10:52:21.270 +00:00] [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"=92.180905ms] [job="ID:308, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.282 +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-04 10:52:21.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.293 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=308] [2025/04/04 10:52:21.294 +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/04 10:52:21.317 +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-04 10:52:21.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.317 +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-04 10:52:21.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:21.323 +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-04 10:52:21.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.330 +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/04 10:52:21.346 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.517898ms] [gotSchemaVersion=283] [phyTblIDs="[307,309]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:21.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=310] [version=283] [2025/04/04 10:52:21.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=283] ["take time"=9.159342ms] [job="ID:310, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.362 +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/04 10:52:21.366 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=310] [jobType="truncate table"] [2025/04/04 10:52:21.367 +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-04 10:52:21.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.383 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=310] [2025/04/04 10:52:21.384 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=283] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:21.390 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254644400138] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=955.169Β΅s] [2025/04/04 10:52:21.390 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.256525ms] [total_duration=5.039725ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117254644400138] [2025/04/04 10:52:21.391 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254644400138] [commitTS=457117254644400141] [2025/04/04 10:52:21.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254644400138] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] [concurrency=8] [2025/04/04 10:52:21.396 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254644400138] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] ["cost time"=4.474836ms] ["completed regions"=1] [2025/04/04 10:52:21.396 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254644400138] [commitTS=457117254644400141] [session=15] [2025/04/04 10:52:21.406 +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-04 10:52:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.406 +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-04 10:52:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:21.412 +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-04 10:52:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.418 +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/04 10:52:21.432 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.429744ms] [gotSchemaVersion=284] [phyTblIDs="[309,311]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:21.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=312] [version=284] [2025/04/04 10:52:21.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=284] ["take time"=8.583357ms] [job="ID:312, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.448 +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/04 10:52:21.452 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=312] [jobType="truncate table"] [2025/04/04 10:52:21.453 +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-04 10:52:21.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.471 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=312] [2025/04/04 10:52:21.471 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=284] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:21.477 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254670614533] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=924.597Β΅s] [2025/04/04 10:52:21.478 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.019433ms] [total_duration=5.198039ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117254670614533] [2025/04/04 10:52:21.479 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254670614533] [commitTS=457117254670614536] [2025/04/04 10:52:21.479 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254670614533] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] [concurrency=8] [2025/04/04 10:52:21.481 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254670614533] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] ["cost time"=2.295917ms] ["completed regions"=1] [2025/04/04 10:52:21.481 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254670614533] [commitTS=457117254670614536] [session=15] [2025/04/04 10:52:21.487 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254670614537] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=909.272Β΅s] [2025/04/04 10:52:21.487 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=997.911Β΅s] [total_duration=2.439765ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117254670614537] [2025/04/04 10:52:21.488 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254670614537] [commitTS=457117254670614538] [2025/04/04 10:52:21.488 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254670614537] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] [concurrency=8] [2025/04/04 10:52:21.491 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254670614537] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] ["cost time"=2.160308ms] ["completed regions"=1] [2025/04/04 10:52:21.491 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254670614537] [commitTS=457117254670614538] [session=15] [2025/04/04 10:52:21.495 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254670614539] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=917.229Β΅s] [2025/04/04 10:52:21.495 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.000138ms] [total_duration=2.624619ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117254670614539] [2025/04/04 10:52:21.496 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254670614539] [commitTS=457117254670614540] [2025/04/04 10:52:21.496 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254670614539] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] [concurrency=8] [2025/04/04 10:52:21.498 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254670614539] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] ["cost time"=1.845378ms] ["completed regions"=1] [2025/04/04 10:52:21.498 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254670614539] [commitTS=457117254670614540] [session=15] [2025/04/04 10:52:21.503 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254670614542] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=906.904Β΅s] [2025/04/04 10:52:21.503 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.007442ms] [total_duration=2.594277ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117254670614542] [2025/04/04 10:52:21.504 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254670614542] [commitTS=457117254670614543] [2025/04/04 10:52:21.504 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254670614542] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] [concurrency=8] [2025/04/04 10:52:21.506 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254670614542] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] ["cost time"=1.817771ms] ["completed regions"=1] [2025/04/04 10:52:21.506 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254670614542] [commitTS=457117254670614543] [session=15] [2025/04/04 10:52:21.517 +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-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:21.517 +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-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.523 +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-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.539 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=284] [neededSchemaVersion=285] ["elapsed time"=1.855599ms] [gotSchemaVersion=285] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:21.543 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=285] [2025/04/04 10:52:21.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=285] ["take time"=9.188361ms] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.554 +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-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.569 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=285] [neededSchemaVersion=286] ["elapsed time"=1.866943ms] [gotSchemaVersion=286] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:21.573 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=286] [2025/04/04 10:52:21.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=286] ["take time"=8.934618ms] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.583 +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-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.589 +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/04 10:52:21.602 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=286] [neededSchemaVersion=287] ["elapsed time"=1.017168ms] [gotSchemaVersion=287] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:21.605 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=287] [2025/04/04 10:52:21.607 +00:00] [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.827906ms] [job="ID:313, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.616 +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/04 10:52:21.620 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=313] [jobType="drop table"] [2025/04/04 10:52:21.621 +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-04 10:52:21.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.638 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/04 10:52:21.649 +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-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:21.649 +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-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.657 +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-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.672 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=287] [neededSchemaVersion=288] ["elapsed time"=1.917268ms] [gotSchemaVersion=288] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:21.675 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=288] [2025/04/04 10:52:21.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=288] ["take time"=8.69459ms] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.686 +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-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.700 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:52:21.700 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:52:21.700 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:52:21.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:21.703 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=288] [neededSchemaVersion=289] ["elapsed time"=1.806174ms] [gotSchemaVersion=289] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:21.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=289] [2025/04/04 10:52:21.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=289] ["take time"=9.692102ms] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.716 +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-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.722 +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/04 10:52:21.733 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:52:21.733 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:52:21.734 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a3a57f8e-2a5d-4344-8fd9-9ffac05ceca0] [watcherID=712fffae-a064-48f1-a94a-76a2e399864b] [2025/04/04 10:52:21.734 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=289] [neededSchemaVersion=290] ["elapsed time"=1.028957ms] [gotSchemaVersion=290] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:21.734 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:52:21.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=290] [2025/04/04 10:52:21.740 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:52:21.740 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:52:21.740 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:52:21.740 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:52:21.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=290] ["take time"=8.414149ms] [job="ID:314, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.750 +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/04 10:52:21.755 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=314] [jobType="drop table"] [2025/04/04 10:52:21.756 +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-04 10:52:21.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.773 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=314] [2025/04/04 10:52:21.773 +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/04 10:52:21.786 +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-04 10:52:21.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 10:52:21.786 +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-04 10:52:21.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.792 +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-04 10:52:21.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.796 +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/04 10:52:21.810 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=290] [neededSchemaVersion=291] ["elapsed time"=1.490261ms] [gotSchemaVersion=291] [phyTblIDs="[315]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:21.813 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=291] [2025/04/04 10:52:21.815 +00:00] [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.093779ms] [job="ID:316, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.826 +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-04 10:52:21.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.837 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/04 10:52:21.837 +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/04 10:52:21.857 +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-04 10:52:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.857 +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-04 10:52:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:21.863 +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-04 10:52:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.870 +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/04 10:52:21.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=291] [neededSchemaVersion=292] ["elapsed time"=1.485258ms] [gotSchemaVersion=292] [phyTblIDs="[315,317]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:21.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=292] [2025/04/04 10:52:21.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=292] ["take time"=8.478776ms] [job="ID:318, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.899 +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/04 10:52:21.903 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=318] [jobType="truncate table"] [2025/04/04 10:52:21.904 +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-04 10:52:21.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.921 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/04 10:52:21.921 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=292] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:21.927 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254788579333] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=891.069Β΅s] [2025/04/04 10:52:21.927 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=985.372Β΅s] [total_duration=4.363988ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117254788579333] [2025/04/04 10:52:21.928 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254788579333] [commitTS=457117254788579336] [2025/04/04 10:52:21.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254788579333] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] [concurrency=8] [2025/04/04 10:52:21.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254788579333] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] ["cost time"=2.306981ms] ["completed regions"=1] [2025/04/04 10:52:21.931 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254788579333] [commitTS=457117254788579336] [session=15] [2025/04/04 10:52:21.941 +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-04 10:52:21.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:21.941 +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-04 10:52:21.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:21.947 +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-04 10:52:21.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.954 +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/04 10:52:21.968 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=292] [neededSchemaVersion=293] ["elapsed time"=1.505385ms] [gotSchemaVersion=293] [phyTblIDs="[317,319]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:21.972 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=293] [2025/04/04 10:52:21.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=293] ["take time"=8.572599ms] [job="ID:320, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:21.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:21.984 +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/04 10:52:21.988 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=320] [jobType="truncate table"] [2025/04/04 10:52:21.989 +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-04 10:52:21.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.006 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/04 10:52:22.006 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=293] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:22.012 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254801686548] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=976.258Β΅s] [2025/04/04 10:52:22.012 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.072305ms] [total_duration=4.384332ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117254801686548] [2025/04/04 10:52:22.013 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254801686548] [commitTS=457117254814793729] [2025/04/04 10:52:22.013 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254801686548] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] [concurrency=8] [2025/04/04 10:52:22.015 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254801686548] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] ["cost time"=1.907276ms] ["completed regions"=1] [2025/04/04 10:52:22.015 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254801686548] [commitTS=457117254814793729] [session=15] [2025/04/04 10:52:22.019 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254814793730] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=850.828Β΅s] [2025/04/04 10:52:22.019 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=937.387Β΅s] [total_duration=1.53696ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457117254814793730] [2025/04/04 10:52:22.020 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254814793730] [commitTS=457117254814793731] [2025/04/04 10:52:22.020 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254814793730] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] [concurrency=8] [2025/04/04 10:52:22.022 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254814793730] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] ["cost time"=2.178878ms] ["completed regions"=1] [2025/04/04 10:52:22.022 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254814793730] [commitTS=457117254814793731] [session=15] [2025/04/04 10:52:22.024 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254814793732] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=924.953Β΅s] [2025/04/04 10:52:22.024 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.026604ms] [total_duration=1.650562ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117254814793732] [2025/04/04 10:52:22.025 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254814793732] [commitTS=457117254814793733] [2025/04/04 10:52:22.025 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254814793732] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] [concurrency=8] [2025/04/04 10:52:22.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254814793732] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] ["cost time"=1.916067ms] ["completed regions"=1] [2025/04/04 10:52:22.027 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254814793732] [commitTS=457117254814793733] [session=15] [2025/04/04 10:52:22.029 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254814793734] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=877.392Β΅s] [2025/04/04 10:52:22.029 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=955.511Β΅s] [total_duration=1.58617ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117254814793734] [2025/04/04 10:52:22.030 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254814793734] [commitTS=457117254814793735] [2025/04/04 10:52:22.030 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254814793734] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] [concurrency=8] [2025/04/04 10:52:22.032 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254814793734] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] ["cost time"=1.770186ms] ["completed regions"=1] [2025/04/04 10:52:22.032 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254814793734] [commitTS=457117254814793735] [session=15] [2025/04/04 10:52:22.042 +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-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.042 +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-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:22.047 +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-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=293] [neededSchemaVersion=294] ["elapsed time"=1.887436ms] [gotSchemaVersion=294] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.066 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=294] [2025/04/04 10:52:22.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=294] ["take time"=8.556387ms] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.077 +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-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.091 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=294] [neededSchemaVersion=295] ["elapsed time"=1.850577ms] [gotSchemaVersion=295] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.095 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=295] [2025/04/04 10:52:22.096 +00:00] [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.94423ms] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.105 +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-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.111 +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/04 10:52:22.124 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=295] [neededSchemaVersion=296] ["elapsed time"=1.101592ms] [gotSchemaVersion=296] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.127 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=296] [2025/04/04 10:52:22.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=296] ["take time"=8.05586ms] [job="ID:321, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.138 +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/04 10:52:22.142 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop table"] [2025/04/04 10:52:22.143 +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-04 10:52:22.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.160 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/04 10:52:22.160 +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/04 10:52:22.173 +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-04 10:52:22.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.173 +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-04 10:52:22.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:52:22.178 +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-04 10:52:22.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.183 +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/04 10:52:22.202 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=296] [neededSchemaVersion=297] ["elapsed time"=1.499212ms] [gotSchemaVersion=297] [phyTblIDs="[322]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:22.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=297] [2025/04/04 10:52:22.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=297] ["take time"=12.631004ms] [job="ID:323, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.218 +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-04 10:52:22.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.229 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/04 10:52:22.229 +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/04 10:52:22.234 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254867222534] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=954.189Β΅s] [2025/04/04 10:52:22.234 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.065131ms] [total_duration=4.489592ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117254867222534] [2025/04/04 10:52:22.236 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254867222534] [commitTS=457117254867222538] [2025/04/04 10:52:22.236 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254867222534] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] [concurrency=8] [2025/04/04 10:52:22.238 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254867222534] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] ["cost time"=2.225848ms] ["completed regions"=1] [2025/04/04 10:52:22.238 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254867222534] [commitTS=457117254867222538] [session=15] [2025/04/04 10:52:22.248 +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-04 10:52:22.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.248 +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-04 10:52:22.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 10:52:22.257 +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-04 10:52:22.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.261 +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/04 10:52:22.277 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=297] [neededSchemaVersion=298] ["elapsed time"=1.591771ms] [gotSchemaVersion=298] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:22.281 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=298] [2025/04/04 10:52:22.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=298] ["take time"=9.517301ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.294 +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-04 10:52:22.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.307 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/04 10:52:22.308 +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/04 10:52:22.330 +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-04 10:52:22.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.330 +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-04 10:52:22.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:22.335 +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-04 10:52:22.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.342 +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/04 10:52:22.358 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=298] [neededSchemaVersion=299] ["elapsed time"=1.453246ms] [gotSchemaVersion=299] [phyTblIDs="[324,326]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:22.361 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=299] [2025/04/04 10:52:22.363 +00:00] [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.074198ms] [job="ID:327, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.375 +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/04 10:52:22.381 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=327] [jobType="truncate table"] [2025/04/04 10:52:22.382 +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-04 10:52:22.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.400 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/04 10:52:22.401 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=299] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:22.405 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254906544142] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.264964ms] [2025/04/04 10:52:22.405 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.35949ms] [total_duration=2.957427ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457117254906544142] [2025/04/04 10:52:22.406 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254906544142] [commitTS=457117254906544143] [2025/04/04 10:52:22.407 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254906544142] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] [concurrency=8] [2025/04/04 10:52:22.409 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254906544142] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] ["cost time"=2.551082ms] ["completed regions"=1] [2025/04/04 10:52:22.409 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254906544142] [commitTS=457117254906544143] [session=15] [2025/04/04 10:52:22.420 +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-04 10:52:22.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.420 +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-04 10:52:22.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:22.426 +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-04 10:52:22.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.433 +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/04 10:52:22.452 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=299] [neededSchemaVersion=300] ["elapsed time"=1.485829ms] [gotSchemaVersion=300] [phyTblIDs="[326,328]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:22.455 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=300] [2025/04/04 10:52:22.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=300] ["take time"=11.47612ms] [job="ID:329, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.468 +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/04 10:52:22.472 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=329] [jobType="truncate table"] [2025/04/04 10:52:22.473 +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-04 10:52:22.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.491 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/04 10:52:22.492 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=300] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:22.497 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254932758539] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=957.937Β΅s] [2025/04/04 10:52:22.497 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.081856ms] [total_duration=4.029944ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457117254932758539] [2025/04/04 10:52:22.499 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254932758539] [commitTS=457117254932758541] [2025/04/04 10:52:22.499 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254932758539] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/04 10:52:22.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254932758539] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=2.19775ms] ["completed regions"=1] [2025/04/04 10:52:22.501 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254932758539] [commitTS=457117254932758541] [session=15] [2025/04/04 10:52:22.517 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254945865729] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.211252ms] [2025/04/04 10:52:22.517 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.32183ms] [total_duration=4.652436ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457117254945865729] [2025/04/04 10:52:22.519 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254945865729] [commitTS=457117254945865730] [2025/04/04 10:52:22.519 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254945865729] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] [concurrency=8] [2025/04/04 10:52:22.521 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254945865729] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] ["cost time"=2.354608ms] ["completed regions"=1] [2025/04/04 10:52:22.521 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254945865729] [commitTS=457117254945865730] [session=15] [2025/04/04 10:52:22.528 +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/04 10:52:22.528 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117254945865731] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.065927ms] [2025/04/04 10:52:22.529 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.161439ms] [total_duration=4.139802ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457117254945865731] [2025/04/04 10:52:22.530 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117254945865731] [commitTS=457117254945865733] [2025/04/04 10:52:22.530 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117254945865731] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/04 10:52:22.532 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117254945865731] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=2.260845ms] ["completed regions"=1] [2025/04/04 10:52:22.533 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117254945865731] [commitTS=457117254945865733] [session=15] [2025/04/04 10:52:22.546 +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-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.546 +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-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:22.552 +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-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.567 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=300] [neededSchemaVersion=301] ["elapsed time"=1.919556ms] [gotSchemaVersion=301] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.571 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=301] [2025/04/04 10:52:22.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=301] ["take time"=9.211372ms] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.583 +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-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.598 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=301] [neededSchemaVersion=302] ["elapsed time"=1.955142ms] [gotSchemaVersion=302] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.602 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=302] [2025/04/04 10:52:22.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=302] ["take time"=9.448493ms] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.613 +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-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.619 +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/04 10:52:22.632 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=302] [neededSchemaVersion=303] ["elapsed time"=1.096196ms] [gotSchemaVersion=303] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=303] [2025/04/04 10:52:22.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=303] ["take time"=8.902496ms] [job="ID:330, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.647 +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/04 10:52:22.652 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=330] [jobType="drop table"] [2025/04/04 10:52:22.653 +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-04 10:52:22.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.671 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=330] [2025/04/04 10:52:22.682 +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-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:22.682 +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-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.687 +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-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.692 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 10:52:22.703 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=303] [neededSchemaVersion=304] ["elapsed time"=1.88299ms] [gotSchemaVersion=304] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.707 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=304] [2025/04/04 10:52:22.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=304] ["take time"=9.18576ms] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.719 +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-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.734 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=304] [neededSchemaVersion=305] ["elapsed time"=1.959588ms] [gotSchemaVersion=305] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=305] [2025/04/04 10:52:22.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=305] ["take time"=9.595675ms] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.749 +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-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.755 +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/04 10:52:22.769 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=305] [neededSchemaVersion=306] ["elapsed time"=1.07569ms] [gotSchemaVersion=306] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:22.773 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=306] [2025/04/04 10:52:22.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=306] ["take time"=8.684176ms] [job="ID:331, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.784 +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/04 10:52:22.788 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="drop table"] [2025/04/04 10:52:22.789 +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-04 10:52:22.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.806 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/04 10:52:22.806 +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/04 10:52:22.820 +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-04 10:52:22.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.820 +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-04 10:52:22.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 10:52:22.825 +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-04 10:52:22.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.830 +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/04 10:52:22.844 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=306] [neededSchemaVersion=307] ["elapsed time"=1.572047ms] [gotSchemaVersion=307] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:22.848 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=307] [2025/04/04 10:52:22.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=307] ["take time"=9.404769ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.862 +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-04 10:52:22.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.873 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/04 10:52:22.873 +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/04 10:52:22.891 +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-04 10:52:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.891 +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-04 10:52:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:22.897 +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-04 10:52:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.904 +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/04 10:52:22.919 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=307] [neededSchemaVersion=308] ["elapsed time"=1.540386ms] [gotSchemaVersion=308] [phyTblIDs="[332,334]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:22.927 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=308] [2025/04/04 10:52:22.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=308] ["take time"=13.321902ms] [job="ID:335, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.940 +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/04 10:52:22.945 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=335] [jobType="truncate table"] [2025/04/04 10:52:22.946 +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-04 10:52:22.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.964 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/04 10:52:22.964 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=308] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:22.968 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255063830529] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.653041ms] [2025/04/04 10:52:22.968 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.746777ms] [total_duration=2.319295ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457117255063830529] [2025/04/04 10:52:22.970 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255063830529] [commitTS=457117255063830530] [2025/04/04 10:52:22.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255063830529] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] [concurrency=8] [2025/04/04 10:52:22.972 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255063830529] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] ["cost time"=2.524248ms] ["completed regions"=1] [2025/04/04 10:52:22.972 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255063830529] [commitTS=457117255063830530] [session=15] [2025/04/04 10:52:22.983 +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-04 10:52:22.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:22.983 +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-04 10:52:22.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:22.989 +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-04 10:52:22.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:22.996 +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/04 10:52:23.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=308] [neededSchemaVersion=309] ["elapsed time"=1.591449ms] [gotSchemaVersion=309] [phyTblIDs="[334,336]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:23.016 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=337] [version=309] [2025/04/04 10:52: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=309] ["take time"=9.269385ms] [job="ID:337, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:22.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.029 +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/04 10:52:23.033 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=337] [jobType="truncate table"] [2025/04/04 10:52:23.034 +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-04 10:52:22.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.052 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=337] [2025/04/04 10:52:23.053 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=309] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:23.057 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255076937744] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.084516ms] [2025/04/04 10:52:23.057 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.169156ms] [total_duration=2.94147ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457117255076937744] [2025/04/04 10:52:23.058 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255076937744] [commitTS=457117255076937745] [2025/04/04 10:52:23.058 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255076937744] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/04 10:52:23.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255076937744] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=2.342661ms] ["completed regions"=1] [2025/04/04 10:52:23.061 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255076937744] [commitTS=457117255076937745] [session=15] [2025/04/04 10:52:23.070 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255090044929] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.209692ms] [2025/04/04 10:52:23.070 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.318903ms] [total_duration=3.467338ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457117255090044929] [2025/04/04 10:52:23.071 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255090044929] [commitTS=457117255090044930] [2025/04/04 10:52:23.072 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255090044929] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] [concurrency=8] [2025/04/04 10:52:23.074 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255090044929] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] ["cost time"=2.757673ms] ["completed regions"=1] [2025/04/04 10:52:23.074 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255090044929] [commitTS=457117255090044930] [session=15] [2025/04/04 10:52:23.077 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255090044931] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=963.535Β΅s] [2025/04/04 10:52:23.078 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.065156ms] [total_duration=2.90329ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457117255090044931] [2025/04/04 10:52:23.079 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255090044931] [commitTS=457117255090044932] [2025/04/04 10:52:23.079 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255090044931] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/04 10:52:23.081 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255090044931] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=2.072699ms] ["completed regions"=1] [2025/04/04 10:52:23.081 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255090044931] [commitTS=457117255090044932] [session=15] [2025/04/04 10:52:23.092 +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-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.092 +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-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:23.098 +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-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=309] [neededSchemaVersion=310] ["elapsed time"=1.826524ms] [gotSchemaVersion=310] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=310] [2025/04/04 10:52: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=310] ["take time"=9.181843ms] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.129 +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-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=310] [neededSchemaVersion=311] ["elapsed time"=1.944185ms] [gotSchemaVersion=311] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.149 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=311] [2025/04/04 10:52:23.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=311] ["take time"=9.868325ms] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.160 +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-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.166 +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/04 10:52:23.179 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=311] [neededSchemaVersion=312] ["elapsed time"=1.027664ms] [gotSchemaVersion=312] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.183 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=312] [2025/04/04 10:52:23.185 +00:00] [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.568537ms] [job="ID:338, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.194 +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/04 10:52:23.198 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=338] [jobType="drop table"] [2025/04/04 10:52:23.199 +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-04 10:52:23.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.217 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/04 10:52:23.217 +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/04 10:52:23.230 +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-04 10:52:23.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.230 +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-04 10:52:23.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:52:23.236 +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-04 10:52:23.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.241 +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/04 10:52:23.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=312] [neededSchemaVersion=313] ["elapsed time"=1.535417ms] [gotSchemaVersion=313] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:23.260 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=313] [2025/04/04 10:52:23.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=313] ["take time"=9.146264ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.273 +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-04 10:52:23.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.284 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/04 10:52:23.284 +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/04 10:52:23.290 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255142473736] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=988.677Β΅s] [2025/04/04 10:52:23.290 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.106901ms] [total_duration=4.554438ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117255142473736] [2025/04/04 10:52:23.291 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255142473736] [commitTS=457117255142473740] [2025/04/04 10:52:23.291 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255142473736] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] [concurrency=8] [2025/04/04 10:52:23.294 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255142473736] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] ["cost time"=2.211373ms] ["completed regions"=1] [2025/04/04 10:52:23.294 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255142473736] [commitTS=457117255142473740] [session=15] [2025/04/04 10:52:23.305 +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-04 10:52:23.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.305 +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-04 10:52:23.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 10:52:23.311 +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-04 10:52:23.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.316 +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/04 10:52:23.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=313] [neededSchemaVersion=314] ["elapsed time"=1.67538ms] [gotSchemaVersion=314] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:23.334 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=314] [2025/04/04 10:52:23.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=314] ["take time"=8.730946ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.348 +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-04 10:52:23.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.360 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/04 10:52:23.360 +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/04 10:52:23.385 +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-04 10:52:23.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.385 +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-04 10:52:23.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:23.391 +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-04 10:52:23.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.403 +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/04 10:52:23.419 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=314] [neededSchemaVersion=315] ["elapsed time"=1.712686ms] [gotSchemaVersion=315] [phyTblIDs="[341,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:23.423 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=315] [2025/04/04 10:52:23.425 +00:00] [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"=9.588648ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.436 +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/04 10:52:23.441 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/04 10:52:23.442 +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-04 10:52:23.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.461 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/04 10:52:23.462 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=315] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:23.469 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255194640385] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.047605ms] [2025/04/04 10:52:23.469 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.183424ms] [total_duration=5.815303ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117255194640385] [2025/04/04 10:52:23.470 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255194640385] [commitTS=457117255194640388] [2025/04/04 10:52:23.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255194640385] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] [concurrency=8] [2025/04/04 10:52:23.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255194640385] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] ["cost time"=2.693752ms] ["completed regions"=1] [2025/04/04 10:52:23.474 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255194640385] [commitTS=457117255194640388] [session=15] [2025/04/04 10:52:23.486 +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-04 10:52:23.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.486 +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-04 10:52:23.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:23.491 +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-04 10:52:23.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.499 +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/04 10:52:23.514 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=315] [neededSchemaVersion=316] ["elapsed time"=1.680803ms] [gotSchemaVersion=316] [phyTblIDs="[343,345]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:23.518 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=316] [2025/04/04 10:52:23.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=316] ["take time"=9.140629ms] [job="ID:346, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.531 +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/04 10:52:23.535 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=346] [jobType="truncate table"] [2025/04/04 10:52:23.536 +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-04 10:52:23.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.554 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=346] [2025/04/04 10:52:23.554 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=316] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:23.563 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255208009744] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.130114ms] [2025/04/04 10:52:23.563 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.242419ms] [total_duration=7.086973ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117255208009744] [2025/04/04 10:52:23.564 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255208009744] [commitTS=457117255221116929] [2025/04/04 10:52:23.564 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255208009744] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/04 10:52:23.567 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255208009744] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.181902ms] ["completed regions"=1] [2025/04/04 10:52:23.567 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255208009744] [commitTS=457117255221116929] [session=15] [2025/04/04 10:52:23.585 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255221116931] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=999.45Β΅s] [2025/04/04 10:52:23.585 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.105525ms] [total_duration=5.333967ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457117255221116931] [2025/04/04 10:52:23.586 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255221116931] [commitTS=457117255221116932] [2025/04/04 10:52:23.586 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255221116931] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/04 10:52:23.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255221116931] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.184311ms] ["completed regions"=1] [2025/04/04 10:52:23.589 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255221116931] [commitTS=457117255221116932] [session=15] [2025/04/04 10:52:23.598 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255221116933] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.231474ms] [2025/04/04 10:52:23.598 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.320161ms] [total_duration=5.698929ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457117255221116933] [2025/04/04 10:52:23.599 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255221116933] [commitTS=457117255221116935] [2025/04/04 10:52:23.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255221116933] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] [concurrency=8] [2025/04/04 10:52:23.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255221116933] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] ["cost time"=2.078019ms] ["completed regions"=1] [2025/04/04 10:52:23.602 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255221116933] [commitTS=457117255221116935] [session=15] [2025/04/04 10:52:23.614 +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-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.614 +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-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:23.620 +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-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.636 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=316] [neededSchemaVersion=317] ["elapsed time"=1.88748ms] [gotSchemaVersion=317] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.640 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=317] [2025/04/04 10:52:23.641 +00:00] [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"=9.884122ms] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.652 +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-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.668 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=317] [neededSchemaVersion=318] ["elapsed time"=1.788018ms] [gotSchemaVersion=318] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.672 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=318] [2025/04/04 10:52:23.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=318] ["take time"=8.954317ms] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.682 +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-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.688 +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/04 10:52:23.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=318] [neededSchemaVersion=319] ["elapsed time"=1.127271ms] [gotSchemaVersion=319] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=319] [2025/04/04 10:52:23.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=319] ["take time"=9.064852ms] [job="ID:347, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.718 +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/04 10:52:23.723 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=347] [jobType="drop table"] [2025/04/04 10:52:23.724 +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-04 10:52:23.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.746 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/04 10:52:23.759 +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-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.759 +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-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:23.766 +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-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.783 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=319] [neededSchemaVersion=320] ["elapsed time"=2.252472ms] [gotSchemaVersion=320] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.786 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=320] [2025/04/04 10:52:23.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=320] ["take time"=10.12706ms] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.799 +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-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=320] [neededSchemaVersion=321] ["elapsed time"=2.132633ms] [gotSchemaVersion=321] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.819 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=321] [2025/04/04 10:52:23.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=321] ["take time"=9.698723ms] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.830 +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-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.836 +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/04 10:52:23.849 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=321] [neededSchemaVersion=322] ["elapsed time"=1.192365ms] [gotSchemaVersion=322] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:23.853 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=322] [2025/04/04 10:52:23.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=322] ["take time"=8.424455ms] [job="ID:348, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.864 +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/04 10:52:23.868 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=348] [jobType="drop table"] [2025/04/04 10:52:23.869 +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-04 10:52:23.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.887 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=348] [2025/04/04 10:52:23.888 +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/04 10:52:23.901 +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-04 10:52:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 10:52:23.901 +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-04 10:52:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.907 +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-04 10:52:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.912 +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/04 10:52:23.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=322] [neededSchemaVersion=323] ["elapsed time"=1.633576ms] [gotSchemaVersion=323] [phyTblIDs="[349]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:23.931 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=323] [2025/04/04 10:52:23.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=323] ["take time"=9.165601ms] [job="ID:350, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.945 +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-04 10:52:23.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.957 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/04 10:52:23.957 +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/04 10:52:23.980 +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-04 10:52:23.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:23.980 +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-04 10:52:23.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:23.985 +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-04 10:52:23.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:23.993 +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/04 10:52:24.008 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=323] [neededSchemaVersion=324] ["elapsed time"=1.569922ms] [gotSchemaVersion=324] [phyTblIDs="[349,351]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:24.012 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=324] [2025/04/04 10:52:24.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=324] ["take time"=8.75081ms] [job="ID:352, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:23.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.024 +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/04 10:52:24.029 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=352] [jobType="truncate table"] [2025/04/04 10:52:24.030 +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-04 10:52:23.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.049 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/04 10:52:24.049 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=324] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:24.055 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255339081743] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.06646ms] [2025/04/04 10:52:24.055 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.176532ms] [total_duration=4.803012ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117255339081743] [2025/04/04 10:52:24.057 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255339081743] [commitTS=457117255339081746] [2025/04/04 10:52:24.060 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255339081743] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] [concurrency=8] [2025/04/04 10:52:24.062 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255339081743] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] ["cost time"=2.569576ms] ["completed regions"=1] [2025/04/04 10:52:24.062 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255339081743] [commitTS=457117255339081746] [session=15] [2025/04/04 10:52:24.071 +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-04 10:52:24.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.071 +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-04 10:52:24.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:24.076 +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-04 10:52:24.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.084 +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/04 10:52:24.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=324] [neededSchemaVersion=325] ["elapsed time"=1.673517ms] [gotSchemaVersion=325] [phyTblIDs="[351,353]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:24.103 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=325] [2025/04/04 10:52: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=325] ["take time"=9.4734ms] [job="ID:354, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.116 +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/04 10:52:24.120 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=354] [jobType="truncate table"] [2025/04/04 10:52:24.121 +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-04 10:52:24.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.138 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/04 10:52:24.139 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=325] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:24.146 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255365033995] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.140041ms] [2025/04/04 10:52:24.146 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.244664ms] [total_duration=6.156341ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457117255365033995] [2025/04/04 10:52:24.147 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255365033995] [commitTS=457117255365033998] [2025/04/04 10:52:24.148 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255365033995] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/04 10:52:24.150 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255365033995] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.374712ms] ["completed regions"=1] [2025/04/04 10:52:24.150 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255365033995] [commitTS=457117255365033998] [session=15] [2025/04/04 10:52:24.160 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255365034001] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=913.67Β΅s] [2025/04/04 10:52:24.161 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.028676ms] [total_duration=4.227522ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457117255365034001] [2025/04/04 10:52:24.162 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255365034001] [commitTS=457117255365034002] [2025/04/04 10:52:24.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255365034001] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/04 10:52:24.164 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255365034001] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.242837ms] ["completed regions"=1] [2025/04/04 10:52:24.164 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255365034001] [commitTS=457117255365034002] [session=15] [2025/04/04 10:52:24.170 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255378403329] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.267414ms] [2025/04/04 10:52:24.170 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.365632ms] [total_duration=4.818732ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457117255378403329] [2025/04/04 10:52:24.171 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255378403329] [commitTS=457117255378403330] [2025/04/04 10:52:24.171 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255378403329] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] [concurrency=8] [2025/04/04 10:52:24.174 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255378403329] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] ["cost time"=2.072388ms] ["completed regions"=1] [2025/04/04 10:52:24.174 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255378403329] [commitTS=457117255378403330] [session=15] [2025/04/04 10:52:24.185 +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-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.185 +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-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:24.190 +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-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.207 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=325] [neededSchemaVersion=326] ["elapsed time"=2.553921ms] [gotSchemaVersion=326] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.211 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=326] [2025/04/04 10:52:24.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=326] ["take time"=10.166484ms] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.223 +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-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.239 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=326] [neededSchemaVersion=327] ["elapsed time"=1.982601ms] [gotSchemaVersion=327] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.243 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=327] [2025/04/04 10:52:24.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=327] ["take time"=9.437618ms] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.253 +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-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.259 +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/04 10:52:24.272 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=327] [neededSchemaVersion=328] ["elapsed time"=1.041814ms] [gotSchemaVersion=328] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.276 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=328] [2025/04/04 10:52:24.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=328] ["take time"=8.237135ms] [job="ID:355, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.287 +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/04 10:52:24.291 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop table"] [2025/04/04 10:52:24.292 +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-04 10:52:24.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.310 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/04 10:52:24.310 +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/04 10:52:24.323 +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-04 10:52:24.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.323 +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-04 10:52:24.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 10:52:24.329 +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-04 10:52:24.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.333 +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/04 10:52:24.347 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=328] [neededSchemaVersion=329] ["elapsed time"=1.483031ms] [gotSchemaVersion=329] [phyTblIDs="[356]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:24.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=329] [2025/04/04 10:52:24.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=329] ["take time"=9.433356ms] [job="ID:357, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.365 +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-04 10:52:24.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.376 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/04 10:52:24.377 +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/04 10:52:24.382 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255430832134] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=988Β΅s] [2025/04/04 10:52:24.382 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.0912ms] [total_duration=4.495208ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457117255430832134] [2025/04/04 10:52:24.383 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255430832134] [commitTS=457117255430832138] [2025/04/04 10:52:24.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255430832134] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] [concurrency=8] [2025/04/04 10:52:24.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255430832134] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] ["cost time"=2.37054ms] ["completed regions"=1] [2025/04/04 10:52:24.386 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255430832134] [commitTS=457117255430832138] [session=15] [2025/04/04 10:52:24.397 +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-04 10:52:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.397 +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-04 10:52:24.362 +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/04 10:52:24.402 +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-04 10:52:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.407 +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/04 10:52:24.422 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=329] [neededSchemaVersion=330] ["elapsed time"=1.567716ms] [gotSchemaVersion=330] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:24.426 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=330] [2025/04/04 10:52:24.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=330] ["take time"=8.908203ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.439 +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-04 10:52:24.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.451 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/04 10:52:24.451 +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/04 10:52:24.473 +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-04 10:52:24.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.473 +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-04 10:52:24.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:24.479 +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-04 10:52:24.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.486 +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/04 10:52:24.502 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=330] [neededSchemaVersion=331] ["elapsed time"=1.661995ms] [gotSchemaVersion=331] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:24.506 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=331] [2025/04/04 10:52: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=331] ["take time"=9.509634ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.519 +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/04 10:52:24.523 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/04 10:52:24.524 +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-04 10:52:24.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/04 10:52:24.543 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=331] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:24.547 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255469891596] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.16113ms] [2025/04/04 10:52:24.547 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.27363ms] [total_duration=3.02129ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457117255469891596] [2025/04/04 10:52:24.549 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255469891596] [commitTS=457117255469891598] [2025/04/04 10:52:24.549 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255469891596] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] [concurrency=8] [2025/04/04 10:52:24.552 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255469891596] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] ["cost time"=2.642628ms] ["completed regions"=1] [2025/04/04 10:52:24.552 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255469891596] [commitTS=457117255469891598] [session=15] [2025/04/04 10:52:24.562 +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-04 10:52:24.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.562 +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-04 10:52:24.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:24.568 +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-04 10:52:24.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.575 +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/04 10:52:24.591 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=331] [neededSchemaVersion=332] ["elapsed time"=1.62977ms] [gotSchemaVersion=332] [phyTblIDs="[360,362]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:24.595 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=332] [2025/04/04 10:52:24.597 +00:00] [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"=9.352966ms] [job="ID:363, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.608 +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/04 10:52:24.612 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=363] [jobType="truncate table"] [2025/04/04 10:52:24.613 +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-04 10:52:24.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.631 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/04 10:52:24.631 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=332] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:24.637 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255496368135] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.111437ms] [2025/04/04 10:52:24.637 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.208976ms] [total_duration=4.416029ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457117255496368135] [2025/04/04 10:52:24.638 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255496368135] [commitTS=457117255496368137] [2025/04/04 10:52:24.638 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255496368135] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] [concurrency=8] [2025/04/04 10:52:24.641 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255496368135] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] ["cost time"=2.870081ms] ["completed regions"=1] [2025/04/04 10:52:24.641 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255496368135] [commitTS=457117255496368137] [session=15] [2025/04/04 10:52:24.659 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255496368140] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.134711ms] [2025/04/04 10:52:24.659 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.26969ms] [total_duration=5.59071ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457117255496368140] [2025/04/04 10:52:24.660 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255496368140] [commitTS=457117255496368141] [2025/04/04 10:52:24.660 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255496368140] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/04 10:52:24.663 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255496368140] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.292948ms] ["completed regions"=1] [2025/04/04 10:52:24.663 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255496368140] [commitTS=457117255496368141] [session=15] [2025/04/04 10:52:24.672 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255509213185] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.093068ms] [2025/04/04 10:52:24.672 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.19297ms] [total_duration=5.600829ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457117255509213185] [2025/04/04 10:52:24.673 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255509213185] [commitTS=457117255509213186] [2025/04/04 10:52:24.673 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255509213185] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/04 10:52:24.676 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255509213185] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.472666ms] ["completed regions"=1] [2025/04/04 10:52:24.676 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255509213185] [commitTS=457117255509213186] [session=15] [2025/04/04 10:52:24.688 +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-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.688 +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-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:24.694 +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-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.714 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=332] [neededSchemaVersion=333] ["elapsed time"=1.947276ms] [gotSchemaVersion=333] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.718 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=333] [2025/04/04 10:52:24.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=333] ["take time"=9.644725ms] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.730 +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-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.747 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=333] [neededSchemaVersion=334] ["elapsed time"=1.985389ms] [gotSchemaVersion=334] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.751 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=334] [2025/04/04 10:52:24.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=334] ["take time"=9.875323ms] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.762 +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-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.768 +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/04 10:52:24.781 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=334] [neededSchemaVersion=335] ["elapsed time"=963.517Β΅s] [gotSchemaVersion=335] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.785 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=335] [2025/04/04 10:52:24.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=335] ["take time"=8.007525ms] [job="ID:364, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.796 +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/04 10:52:24.801 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=364] [jobType="drop table"] [2025/04/04 10:52:24.802 +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-04 10:52:24.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.822 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=364] [2025/04/04 10:52:24.833 +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-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 10:52:24.833 +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-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.839 +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-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.855 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=335] [neededSchemaVersion=336] ["elapsed time"=2.183932ms] [gotSchemaVersion=336] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.859 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=336] [2025/04/04 10:52:24.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=336] ["take time"=9.949947ms] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.871 +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-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.888 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=336] [neededSchemaVersion=337] ["elapsed time"=2.141382ms] [gotSchemaVersion=337] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.892 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=337] [2025/04/04 10:52:24.893 +00:00] [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.508002ms] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.902 +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-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.909 +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/04 10:52:24.922 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=337] [neededSchemaVersion=338] ["elapsed time"=1.075892ms] [gotSchemaVersion=338] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:24.926 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=338] [2025/04/04 10:52:24.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=338] ["take time"=8.690842ms] [job="ID:365, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.938 +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/04 10:52:24.942 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=365] [jobType="drop table"] [2025/04/04 10:52:24.943 +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-04 10:52:24.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.961 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/04 10:52:24.962 +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/04 10:52:24.975 +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-04 10:52:24.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:24.975 +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-04 10:52:24.961 +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/04 10:52:24.981 +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-04 10:52:24.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:24.985 +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/04 10:52:25.001 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=338] [neededSchemaVersion=339] ["elapsed time"=1.624732ms] [gotSchemaVersion=339] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:25.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=339] [2025/04/04 10:52:25.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=339] ["take time"=8.804249ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:24.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:25.018 +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-04 10:52:24.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:25.030 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/04 10:52:25.030 +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/04 10:52:25.048 +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-04 10:52:25.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:25.048 +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-04 10:52:25.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:25.057 +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-04 10:52:25.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:25.064 +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/04 10:52:25.079 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=339] [neededSchemaVersion=340] ["elapsed time"=1.599921ms] [gotSchemaVersion=340] [phyTblIDs="[366,368]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:25.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=369] [version=340] [2025/04/04 10:52:25.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=340] ["take time"=9.247727ms] [job="ID:369, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:25.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:25.095 +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/04 10:52:25.100 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=369] [jobType="truncate table"] [2025/04/04 10:52:25.101 +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-04 10:52:25.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:25.122 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=369] [2025/04/04 10:52:25.122 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=340] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:25.125 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255627440131] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.227885ms] [2025/04/04 10:52:25.126 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.338338ms] [total_duration=2.120883ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457117255627440131] [2025/04/04 10:52:25.127 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255627440131] [commitTS=457117255627440132] [2025/04/04 10:52:25.127 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255627440131] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] [concurrency=8] [2025/04/04 10:52:25.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255627440131] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] ["cost time"=2.548194ms] ["completed regions"=1] [2025/04/04 10:52:25.130 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255627440131] [commitTS=457117255627440132] [session=15] [2025/04/04 10:52:25.140 +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-04 10:52:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:25.140 +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-04 10:52:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:52:25.146 +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-04 10:52:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:25.153 +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/04 10:52:25.169 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=340] [neededSchemaVersion=341] ["elapsed time"=1.738686ms] [gotSchemaVersion=341] [phyTblIDs="[368,370]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:52:25.173 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=371] [version=341] [2025/04/04 10:52:25.175 +00:00] [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.712373ms] [job="ID:371, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:25.186 +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/04 10:52:25.191 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=371] [jobType="truncate table"] [2025/04/04 10:52:25.192 +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-04 10:52:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:25.210 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=371] [2025/04/04 10:52:25.210 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=341] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:52:25.215 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255640547352] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.067733ms] [2025/04/04 10:52:25.215 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.159018ms] [total_duration=3.149685ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457117255640547352] [2025/04/04 10:52:25.216 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255640547352] [commitTS=457117255653654529] [2025/04/04 10:52:25.216 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255640547352] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] [concurrency=8] [2025/04/04 10:52:25.219 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255640547352] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] ["cost time"=2.500305ms] ["completed regions"=1] [2025/04/04 10:52:25.219 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255640547352] [commitTS=457117255653654529] [session=15] [2025/04/04 10:52:25.229 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255653654531] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.149887ms] [2025/04/04 10:52:25.229 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.247397ms] [total_duration=4.416606ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457117255653654531] [2025/04/04 10:52:25.230 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255653654531] [commitTS=457117255653654532] [2025/04/04 10:52:25.230 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255653654531] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/04 10:52:25.233 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255653654531] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.503616ms] ["completed regions"=1] [2025/04/04 10:52:25.233 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255653654531] [commitTS=457117255653654532] [session=15] [2025/04/04 10:52:25.238 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117255653654533] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.092298ms] [2025/04/04 10:52:25.238 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.190601ms] [total_duration=4.771214ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457117255653654533] [2025/04/04 10:52:25.239 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117255653654533] [commitTS=457117255653654535] [2025/04/04 10:52:25.240 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117255653654533] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/04 10:52:25.241 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:25.241 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:25.241 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [] [2025/04/04 10:52:25.241 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.241 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:25.241 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=67.767Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=58.903Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=40.279Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=32.782Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=48.25Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=32.368Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=45.16Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117255653654533] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.449912ms] ["completed regions"=1] [2025/04/04 10:52:25.242 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117255653654533] [commitTS=457117255653654535] [session=15] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=37.947Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=32.335Β΅s] [2025/04/04 10:52:25.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=25.198Β΅s] [2025/04/04 10:52:25.243 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.243 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.244 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:25.244 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:25.263 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=db652f84-a1d1-47b3-8447-58b0b91314e1] ["take time"=22.011339ms] [2025/04/04 10:52:25.263 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.263 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:25.263 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a3a57f8e-2a5d-4344-8fd9-9ffac05ceca0] [watcherID=712fffae-a064-48f1-a94a-76a2e399864b] [2025/04/04 10:52:25.263 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:52:25.264 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a3a57f8e-2a5d-4344-8fd9-9ffac05ceca0] [2025/04/04 10:52:25.264 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [ttl-worker=task-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [originalCount=4] [newCount=0] [2025/04/04 10:52:25.264 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:25.264 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:25.264 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:25.264 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:25.264 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [ttl-worker=task-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [originalCount=4] [newCount=0] [2025/04/04 10:52:25.267 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:25.267 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:25.267 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:25.268 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:25.270 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.270 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:25.271 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=947] [2025/04/04 10:52:25.271 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:25.271 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:25.271 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:25.271 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [2025/04/04 10:52:25.272 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:52:25.272 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:52:25.272 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [] [2025/04/04 10:52:25.272 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:25.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:25.273 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:25.273 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.273 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:25.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:25.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:25.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:25.273 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:52:25.272 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:25.272 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:25.272 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:52:25.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:25.273 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.273 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:25.273 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:25.273 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:25.273 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:25.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:25.273 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:25.273 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:25.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:25.273 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6fdd26c1-5e84-45bc-b2ef-ae507f6e7cba] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:25.274 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:25.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:25.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:25.274 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:25.274 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [error="context canceled"] [2025/04/04 10:52:25.274 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:25.274 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:25.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:25.275 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [error="context canceled"] [2025/04/04 10:52:25.275 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [2025/04/04 10:52:25.297 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:25.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:25.342 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=db652f84-a1d1-47b3-8447-58b0b91314e1] [error="context canceled"] [2025/04/04 10:52:25.342 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:25.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:25.354 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=113.18319ms] [2025/04/04 10:52:26.397 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254644400138 commit_ts:457117254644400141 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:26.397 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254644400138 commit_ts:457117254644400141 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:26.397 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254644400138 commit_ts:457117254644400141 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:26.482 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254670614533 commit_ts:457117254670614536 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:26.482 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254670614533 commit_ts:457117254670614536 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:26.482 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254670614533 commit_ts:457117254670614536 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:26.491 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254670614537 commit_ts:457117254670614538 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:26.491 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254670614537 commit_ts:457117254670614538 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:26.491 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254670614537 commit_ts:457117254670614538 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:26.499 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254670614539 commit_ts:457117254670614540 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:26.499 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254670614539 commit_ts:457117254670614540 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:26.499 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254670614539 commit_ts:457117254670614540 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:26.507 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254670614542 commit_ts:457117254670614543 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:26.507 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254670614542 commit_ts:457117254670614543 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:26.507 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254670614542 commit_ts:457117254670614543 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:26.932 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254788579333 commit_ts:457117254788579336 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:26.932 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254788579333 commit_ts:457117254788579336 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:26.932 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254788579333 commit_ts:457117254788579336 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.017 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254801686548 commit_ts:457117254814793729 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.017 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254801686548 commit_ts:457117254814793729 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.017 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254801686548 commit_ts:457117254814793729 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.023 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254814793730 commit_ts:457117254814793731 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.023 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254814793730 commit_ts:457117254814793731 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.023 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254814793730 commit_ts:457117254814793731 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.028 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254814793732 commit_ts:457117254814793733 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.028 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254814793732 commit_ts:457117254814793733 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.028 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254814793732 commit_ts:457117254814793733 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.033 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254814793734 commit_ts:457117254814793735 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.033 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254814793734 commit_ts:457117254814793735 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.033 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254814793734 commit_ts:457117254814793735 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.238 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254867222534 commit_ts:457117254867222538 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.239 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254867222534 commit_ts:457117254867222538 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.239 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254867222534 commit_ts:457117254867222538 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.410 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254906544142 commit_ts:457117254906544143 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.410 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254906544142 commit_ts:457117254906544143 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.410 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254906544142 commit_ts:457117254906544143 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.502 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254932758539 commit_ts:457117254932758541 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.502 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254932758539 commit_ts:457117254932758541 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.502 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254932758539 commit_ts:457117254932758541 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.522 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254945865729 commit_ts:457117254945865730 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.522 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254945865729 commit_ts:457117254945865730 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.522 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254945865729 commit_ts:457117254945865730 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.533 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117254945865731 commit_ts:457117254945865733 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.533 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117254945865731 commit_ts:457117254945865733 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.533 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117254945865731 commit_ts:457117254945865733 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:27.974 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255063830529 commit_ts:457117255063830530 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:27.974 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255063830529 commit_ts:457117255063830530 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:27.974 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255063830529 commit_ts:457117255063830530 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.062 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255076937744 commit_ts:457117255076937745 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.062 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255076937744 commit_ts:457117255076937745 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:28.062 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255076937744 commit_ts:457117255076937745 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:28.075 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255090044929 commit_ts:457117255090044930 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:28.075 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255090044929 commit_ts:457117255090044930 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.075 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255090044929 commit_ts:457117255090044930 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:28.082 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255090044931 commit_ts:457117255090044932 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:28.082 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255090044931 commit_ts:457117255090044932 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:28.082 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255090044931 commit_ts:457117255090044932 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.295 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255142473736 commit_ts:457117255142473740 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:28.295 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255142473736 commit_ts:457117255142473740 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:28.295 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255142473736 commit_ts:457117255142473740 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.475 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255194640385 commit_ts:457117255194640388 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:28.475 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255194640385 commit_ts:457117255194640388 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:28.475 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255194640385 commit_ts:457117255194640388 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.567 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255208009744 commit_ts:457117255221116929 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.567 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255208009744 commit_ts:457117255221116929 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:28.567 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255208009744 commit_ts:457117255221116929 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:28.589 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255221116931 commit_ts:457117255221116932 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:28.589 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255221116931 commit_ts:457117255221116932 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:28.589 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255221116931 commit_ts:457117255221116932 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.603 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255221116933 commit_ts:457117255221116935 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:28.603 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255221116933 commit_ts:457117255221116935 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:28.603 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255221116933 commit_ts:457117255221116935 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.063 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255339081743 commit_ts:457117255339081746 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.063 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255339081743 commit_ts:457117255339081746 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.063 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255339081743 commit_ts:457117255339081746 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.151 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255365033995 commit_ts:457117255365033998 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.151 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255365033995 commit_ts:457117255365033998 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.151 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255365033995 commit_ts:457117255365033998 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.165 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255365034001 commit_ts:457117255365034002 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.165 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255365034001 commit_ts:457117255365034002 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.165 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255365034001 commit_ts:457117255365034002 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255378403329 commit_ts:457117255378403330 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255378403329 commit_ts:457117255378403330 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255378403329 commit_ts:457117255378403330 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.387 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255430832134 commit_ts:457117255430832138 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.387 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255430832134 commit_ts:457117255430832138 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.387 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255430832134 commit_ts:457117255430832138 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.553 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255469891596 commit_ts:457117255469891598 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.553 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255469891596 commit_ts:457117255469891598 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.553 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255469891596 commit_ts:457117255469891598 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.642 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255496368135 commit_ts:457117255496368137 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.642 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255496368135 commit_ts:457117255496368137 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.642 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255496368135 commit_ts:457117255496368137 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.663 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255496368140 commit_ts:457117255496368141 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.663 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255496368140 commit_ts:457117255496368141 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:29.663 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255496368140 commit_ts:457117255496368141 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.676 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255509213185 commit_ts:457117255509213186 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:29.676 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255509213185 commit_ts:457117255509213186 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:29.676 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255509213185 commit_ts:457117255509213186 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:30.130 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255627440131 commit_ts:457117255627440132 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:30.131 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255627440131 commit_ts:457117255627440132 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:30.131 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255627440131 commit_ts:457117255627440132 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:30.220 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255640547352 commit_ts:457117255653654529 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:30.220 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255640547352 commit_ts:457117255653654529 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:30.220 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255640547352 commit_ts:457117255653654529 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:30.234 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255653654531 commit_ts:457117255653654532 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:30.234 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255653654531 commit_ts:457117255653654532 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:30.234 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255653654531 commit_ts:457117255653654532 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:30.243 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117255653654533 commit_ts:457117255653654535 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:30.243 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117255653654533 commit_ts:457117255653654535 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:30.243 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117255653654533 commit_ts:457117255653654535 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:30.243 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:30.244 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:30.244 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:30.244 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:30.244 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:30.244 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:30.244 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:30.244 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:30.244 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:30.244 +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/04 10:52:30.244 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:30.244 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:30.245 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertRPC (9.73s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn [2025/04/04 10:52:30.254 +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/04 10:52:30.255 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:30.256 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:30.257 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:30.257 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:30.257 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:30.257 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:30.257 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:30.257 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:30.258 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:30.258 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:30.262 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:30.268 +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/04 10:52:30.269 +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/04 10:52:30.270 +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/04 10:52:30.279 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:30.290 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:30.325 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1580] ["lease id"=2231960069ddb67d] [2025/04/04 10:52:30.327 +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/04 10:52:30.419 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=341] ["elapsed time"=89.488612ms] [2025/04/04 10:52:30.419 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:30.422 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:30.428 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=2d9ede58-4254-430b-8711-017bd52b0425] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:30.428 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:30.430 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:30.431 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:30.431 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 228627746816/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:30.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:30.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:30.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:30.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:30.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:30.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:30.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:30.431 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:30.432 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:30.432 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:30.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:30.432 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:30.432 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [2025/04/04 10:52:30.433 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddb1ea] [ownerID=2d9ede58-4254-430b-8711-017bd52b0425] [op=none] [2025/04/04 10:52:30.433 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:30.434 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddb1ea] [currRev=1575] [2025/04/04 10:52:30.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:30.434 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:30.435 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:30.435 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddb077] [ownerID=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [op=none] [2025/04/04 10:52:30.435 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [2025/04/04 10:52:30.435 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [ownerKey=/tidb/br-stream/owner/6f18960069ddb077] [currRev=1576] [2025/04/04 10:52:30.436 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddb1ea] [ownerID=2d9ede58-4254-430b-8711-017bd52b0425] [op=none] [2025/04/04 10:52:30.436 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [op=none] [2025/04/04 10:52:30.436 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:30.441 +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/04 10:52:30.442 +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/04 10:52:30.443 +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/04 10:52:30.443 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:30.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:30.444 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:30.453 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:30.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:30.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:30.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:30.465 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:30.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:30.465 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:30.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:30.465 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:30.465 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:30.466 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:30.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:30.467 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:30.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:30.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:30.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:30.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:30.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:30.468 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:30.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:30.468 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:30.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:30.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:30.469 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:30.469 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:30.469 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:30.469 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:30.469 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:30.470 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069ddb687] [ownerID=2d9ede58-4254-430b-8711-017bd52b0425] [op=none] [2025/04/04 10:52:30.470 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:30.470 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:30.470 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [ownerKey=/tidb/stats/owner/2231960069ddb687] [currRev=1578] [2025/04/04 10:52:30.473 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/656ea465-43b3-4871-a5f5-18049b803b1b] [2025/04/04 10:52:30.473 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [ttl-worker=task-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [originalCount=0] [newCount=4] [2025/04/04 10:52:30.473 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [ttl-worker=task-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [originalCount=0] [newCount=4] [2025/04/04 10:52:30.473 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:30.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:30.474 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:30.474 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:30.474 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763950474454847 [2025/04/04 10:52:30.479 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:30.489 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:30.489 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.529765ms] [2025/04/04 10:52:30.490 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:30.490 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:30.492 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=341] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:52:30.505 +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-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:30.506 +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-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`"] [2025/04/04 10:52:30.511 +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-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.528 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=341] [neededSchemaVersion=342] ["elapsed time"=2.065266ms] [gotSchemaVersion=342] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:30.531 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=342] [2025/04/04 10:52:30.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=342] ["take time"=9.655973ms] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.543 +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-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.558 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=342] [neededSchemaVersion=343] ["elapsed time"=2.061514ms] [gotSchemaVersion=343] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:30.562 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=343] [2025/04/04 10:52:30.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=343] ["take time"=8.934376ms] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.572 +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-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.578 +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/04 10:52:30.592 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=343] [neededSchemaVersion=344] ["elapsed time"=1.067194ms] [gotSchemaVersion=344] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:30.595 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=344] [2025/04/04 10:52:30.597 +00:00] [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.084919ms] [job="ID:372, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.606 +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/04 10:52:30.613 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=372] [jobType="drop table"] [2025/04/04 10:52:30.614 +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-04 10:52:30.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/04 10:52:30.633 +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: 1743763950634062534 [2025/04/04 10:52:30.637 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=344] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:52:30.651 +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-04 10:52:30.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:30.651 +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-04 10:52:30.612 +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/04 10:52:30.657 +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-04 10:52:30.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.661 +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/04 10:52:30.677 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=344] [neededSchemaVersion=345] ["elapsed time"=1.695093ms] [gotSchemaVersion=345] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:30.681 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=345] [2025/04/04 10:52:30.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=345] ["take time"=8.861525ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:30.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.697 +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-04 10:52:30.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:30.709 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/04 10:52:30.710 +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/04 10:52:30.969 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:52:31.297 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117257187196931] [generation=1] [session=17] [keys=3998] [size=253.6kB] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=23.332994ms] [2025/04/04 10:52:31.298 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117257187196931] [generation=2] [session=17] [keys=0] [size=0B] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=36.715Β΅s] [2025/04/04 10:52:31.298 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3998] [flush_wait_duration=23.532182ms] [total_duration=192.178758ms] ["memdb traversal cache hit"=7996] ["memdb traversal cache miss"=7998] [size=253.6kB] [startTS=457117257187196931] [2025/04/04 10:52:31.299 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117257187196931] [commitTS=457117257239363586] [2025/04/04 10:52:31.299 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117257187196931] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] [concurrency=8] [2025/04/04 10:52:31.301 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457117257187196931\n# Conn_ID: 17\n# Query_time: 0.320936006\n# Parse_time: 0.046377535\n# Compile_time: 0.080124819\n# Rewrite_time: 0.011210161\n# Optimize_time: 0.001145965\n# Wait_TS: 0.000527119\n# Commit_primary_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 100Β΅s, total_suspend_time: 319.5Β΅s, tikv_grpc_process_time: 12.5Β΅s, tikv_grpc_wait_time: 11.8Β΅s, tikv_wall_time: 450.9Β΅s}, scan_detail: {get_snapshot_time: 10.5Β΅s, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 18.3Β΅s, propose_send_wait: 0s, persist_log: {total: 60.2Β΅s, write_leader_wait: 88ns, sync_log: 33.9Β΅s, write_memtable: 565ns}, commit_log: 189.3Β΅s, apply_batch_wait: 17Β΅s, apply: {total:64.2Β΅s, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 12.9Β΅s, write_memtable: 20.6Β΅s}, scheduler: {process: 380.9Β΅s, latch_wait: 2.72Β΅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('xwnwTzAJMjdfMQkwCTAJTi9BCTAJdGltZToxNjguM21zLCBvcGVuOjIwLjHCtXMsIGNsb3NlOjIwLjLCtXMsIGxvb3BzOjEsIHByZXBhcmU6IDIwATVQY2hlY2tfaW5zZXJ0OiB7dG90YWxfBVgIIDE0DVkIbWVtDSIRGgwyOC42AT40cHJlZmV0Y2g6IDE5LjgBEghma18FUww6IDEwCRJgcnBjOntCdWZmZXJCYXRjaEdldDp7bnVtXwEZCDEsIB1zHDUuOTZtc30sfigADDcuNTgBKAAgAakYX2RldGFpbBW9GHByb2Nlc3MNqwg3bnMRYyhrdl9yZWFkX3dhbBXjCDAuNAG2IHRpa3ZfZ3JwYzo+ABA1OTEuMiVAGSIId2FpMQgMMjEuNBkeHVgMNi4wMQWhDHNjYW4+oQBYa2V5czogMjAwMCwgZ2V0X3NuYXBzaG8VVQgyLjMFVUhyb2Nrc2RiOiB7YmxvY2s6IHt9AQEULCBjb21tAYQQeG46IHsVDxhwcmltYXJ5JVctyUg6IDAuMDAxcywgcmVnaW9uX2lkIdcQLCBzdG9BAzgxMjcuMC4wLjE6MjAxNjCOUAEIMTAwBZ0pthhzdXNwZW5kLWwQMzE5LjUJHlpQAQQxMkIhAD1PDDExLjgZPz1PJDQ1MC45wrVzfSw6UQFKPwEEMTANY1I/ARQsIHdyaXRdNCUKBF9iQZkFiww6IDE4LYAgcHJvcG9zZV9zAeIBp0A6IDBzLCBwZXJzaXN0X2xvZzloBDYwTSgJXxRsZWFkZXINNQQ4OEGEDHN5bmMJNAQzMwXNEYs0bWVtdGFibGU6IDU2NW4B5ABjKeAFYQgxODkNjxBhcHBseTaqAAA3JS4FGRWLBDY0DYoUbXV0ZXhfSToBuEqaABkXDHdhbDohniFmRpkADDIwLjYxfyhoZWR1bGVyOiB7cGlpDDogMzgpnwgsIGw9SAgyLjdhO0GzNAk1MjUuNCBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('0wnwWArOCQoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTY4LjNtcywgb3BlbjoyMC4xwrVzLCBjbG9zZToyMC4ywrVzLCBsb29wczoxYsEDcHJlcGFyZTogMjBtASgUaGVja19pBV0gOiB7dG90YWxfBVkIIDE0DVoIbWVtDSIRGlQyOC42bXMsIHByZWZldGNoOiAxOS44ARIIZmtfBVMMOiAxMAkSYHJwYzp7QnVmZmVyQmF0Y2hHZXQ6e251bV8BGQgxLCAdcxw1Ljk2bXN9LH4oAAw3LjU4ASgAIAGpGF9kZXRhaWwVvRhwcm9jZXNzDasIN25zEWMoa3ZfcmVhZF93YWwV4wgwLjQBtiB0aWt2X2dycGM6PgAQNTkxLjIlUBkiCHdhaTEIDDIxLjQZHh1YDDYuMDEFoQxzY2FuPqEAWGtleXM6IDIwMDAsIGdldF9zbmFwc2hvFVUIMi4zBVVIcm9ja3NkYjoge2Jsb2NrOiB7fQEBGGKxBWNvbW0BhRh4bjogeywgDQ8YcHJpbWFyeSVYLcpIOiAwLjAwMXMsIHJlZ2lvbl9pZCHYXCwgc3RvcmU6IDEyNy4wLjAuMToyMDE2MI5RAQgxMDAFnim3GHN1c3BlbmQtbRAzMTkuNQkeWlEBBDEyQiEAPVAMMTEuOBk/PVAkNDUwLjnCtXN9LDpSAUpAAQQxMA1jUkABFCwgd3JpdF01JQoEX2JBmgWLDDogMTgtgSBwcm9wb3NlX3MB4gGnCDogMEH1JGVyc2lzdF9sb2c5aAA2cWoJXxRsZWFkZXINNQQ4OEGFDHN5bmMJNAQzMwXNEYs0bWVtdGFibGU6IDU2NW4B5ABjKeAFYQgxODkNjxBhcHBseTaqAAA3JS4FGRWLBDY0TbMUbXV0ZXhfSTsBuEqaABkXCHdhbEEPWpkADDIwLjYxfyhoZWR1bGVyOiB7cGlqDDogMzgpnwgsIGw9SAgyLjdhPEG0QHCQ6yB4////////////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/04 10:52:31.316 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:31.316 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [] [2025/04/04 10:52:31.316 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:31.316 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.316 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:31.316 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:31.317 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=96.218Β΅s] [2025/04/04 10:52:31.317 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=40.59Β΅s] [2025/04/04 10:52:31.317 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.317 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.318 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:31.318 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:31.320 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=2d9ede58-4254-430b-8711-017bd52b0425] ["take time"=3.476908ms] [2025/04/04 10:52:31.320 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.320 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:31.320 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/656ea465-43b3-4871-a5f5-18049b803b1b] [2025/04/04 10:52:31.320 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [ttl-worker=task-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [originalCount=4] [newCount=0] [2025/04/04 10:52:31.320 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:31.320 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:31.320 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:31.320 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:31.320 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [ttl-worker=task-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [originalCount=4] [newCount=0] [2025/04/04 10:52:31.323 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:31.323 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:31.323 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:31.324 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:31.326 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.326 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1580] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:31.327 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:31.327 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:31.327 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:31.328 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.327 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:31.328 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:31.328 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:31.327 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:31.328 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [2025/04/04 10:52:31.328 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:31.327 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:31.327 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:31.327 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:31.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:31.329 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:31.329 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:31.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:31.329 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:31.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:31.329 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2b23fc6f-e3d8-4314-b146-7b63be4f5290] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:31.329 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:31.329 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:31.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:31.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:31.330 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:31.331 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [error="context canceled"] [2025/04/04 10:52:31.331 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [2025/04/04 10:52:31.336 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117257187196931] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] ["cost time"=37.021492ms] ["completed regions"=1] [2025/04/04 10:52:31.336 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117257187196931] [commitTS=457117257239363586] [session=17] [2025/04/04 10:52:31.346 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:31.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:31.396 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=2d9ede58-4254-430b-8711-017bd52b0425] [error="context canceled"] [2025/04/04 10:52:31.396 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:31.396 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:31.407 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.633091ms] [2025/04/04 10:52:32.263 +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/04 10:52:36.338 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117257187196931 commit_ts:457117257239363586 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:36.338 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117257187196931 commit_ts:457117257239363586 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:36.338 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117257187196931 commit_ts:457117257239363586 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:36.338 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:36.338 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:36.338 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:36.338 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:36.338 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:36.338 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:36.338 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:36.338 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:36.338 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:36.338 +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/04 10:52:36.338 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:36.338 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:36.339 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.09s) === NAME === RUN TestPipelinedDMLDelete [2025/04/04 10:52:36.350 +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/04 10:52:36.350 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:36.351 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:36.352 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:36.352 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:36.352 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:36.352 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:36.352 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:36.352 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:36.353 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:36.353 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:36.357 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:36.362 +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/04 10:52:36.363 +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/04 10:52:36.364 +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/04 10:52:36.373 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:36.384 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:36.419 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=487] ["lease id"=3eaa960069ddb213] [2025/04/04 10:52:36.421 +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/04 10:52:36.511 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=345] ["elapsed time"=87.36155ms] [2025/04/04 10:52:36.511 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:36.513 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:36.519 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:36.519 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:36.520 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:36.522 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:36.524 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238187925504/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:36.524 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:36.524 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb09f] [ownerID=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [op=none] [2025/04/04 10:52:36.524 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:36.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:36.524 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [2025/04/04 10:52:36.524 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:36.524 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddb09f] [currRev=1606] [2025/04/04 10:52:36.526 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:36.526 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb09f] [ownerID=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [op=none] [2025/04/04 10:52:36.526 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [op=none] [2025/04/04 10:52:36.526 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:36.527 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:36.527 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:36.528 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb6a7] [ownerID=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [op=none] [2025/04/04 10:52:36.528 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [2025/04/04 10:52:36.528 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [ownerKey=/tidb/br-stream/owner/2231960069ddb6a7] [currRev=1607] [2025/04/04 10:52:36.532 +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/04 10:52:36.533 +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/04 10:52:36.534 +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/04 10:52:36.534 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:36.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:36.535 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:36.544 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:36.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:36.555 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:36.555 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:36.555 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:36.556 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:36.556 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:36.556 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:36.556 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:36.556 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:36.556 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:36.557 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:36.557 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:36.558 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:36.558 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:36.558 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:36.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:36.560 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:36.560 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960069ddb21d] [ownerID=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [op=none] [2025/04/04 10:52:36.560 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:36.560 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [ownerKey=/tidb/stats/owner/3eaa960069ddb21d] [currRev=1609] [2025/04/04 10:52:36.562 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ec14abdd-a3d9-481a-9a14-1093b1fd1ebb] [2025/04/04 10:52:36.563 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [ttl-worker=task-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [originalCount=0] [newCount=4] [2025/04/04 10:52:36.563 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [ttl-worker=task-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [originalCount=0] [newCount=4] [2025/04/04 10:52:36.563 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:36.563 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:36.563 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:36.563 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:36.563 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763956563912420 [2025/04/04 10:52:36.568 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:36.575 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.132722ms] [2025/04/04 10:52:36.575 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:36.575 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:36.584 +00:00] [INFO] [set.go:172] ["set global var"] [conn=18] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:36.587 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=345] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:52:36.599 +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-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:52:36.599 +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-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:36.605 +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-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.621 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=345] [neededSchemaVersion=346] ["elapsed time"=2.313251ms] [gotSchemaVersion=346] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:36.625 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=346] [2025/04/04 10:52:36.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=346] ["take time"=9.777606ms] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.637 +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-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.653 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=346] [neededSchemaVersion=347] ["elapsed time"=2.367647ms] [gotSchemaVersion=347] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:36.657 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=347] [2025/04/04 10:52:36.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=347] ["take time"=10.054707ms] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.668 +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-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.674 +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/04 10:52:36.688 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=347] [neededSchemaVersion=348] ["elapsed time"=1.06503ms] [gotSchemaVersion=348] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:36.692 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=348] [2025/04/04 10:52:36.693 +00:00] [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.23052ms] [job="ID:375, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.703 +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/04 10:52:36.710 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=375] [jobType="drop table"] [2025/04/04 10:52:36.711 +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-04 10:52:36.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.730 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=375] [2025/04/04 10:52:36.730 +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: 1743763956730721608 [2025/04/04 10:52:36.734 +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/04 10:52:36.746 +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-04 10:52:36.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:36.746 +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-04 10:52:36.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:52:36.752 +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-04 10:52:36.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.756 +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/04 10:52:36.771 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=348] [neededSchemaVersion=349] ["elapsed time"=1.559964ms] [gotSchemaVersion=349] [phyTblIDs="[376]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:36.774 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=377] [version=349] [2025/04/04 10:52:36.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=349] ["take time"=8.767741ms] [job="ID:377, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:36.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.787 +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-04 10:52:36.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.799 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=377] [2025/04/04 10:52:36.799 +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/04 10:52:36.812 +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-04 10:52:36.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:36.812 +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-04 10:52:36.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:52:36.818 +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-04 10:52:36.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.822 +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/04 10:52:36.836 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=349] [neededSchemaVersion=350] ["elapsed time"=1.482525ms] [gotSchemaVersion=350] [phyTblIDs="[378]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:36.839 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=350] [2025/04/04 10:52:36.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=350] ["take time"=8.395144ms] [job="ID:379, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:36.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.852 +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-04 10:52:36.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:36.863 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=379] [2025/04/04 10:52:36.864 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=350] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:52:36.867 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632132] [2025/04/04 10:52:36.871 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632136] [2025/04/04 10:52:36.875 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632139] [2025/04/04 10:52:36.879 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632143] [2025/04/04 10:52:36.883 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632146] [2025/04/04 10:52:36.887 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632149] [2025/04/04 10:52:36.891 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632152] [2025/04/04 10:52:36.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632155] [2025/04/04 10:52:36.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632158] [2025/04/04 10:52:36.902 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632161] [2025/04/04 10:52:36.906 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632164] [2025/04/04 10:52:36.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258707632167] [2025/04/04 10:52:36.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477186] [2025/04/04 10:52:36.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477189] [2025/04/04 10:52:36.922 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477192] [2025/04/04 10:52:36.926 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477195] [2025/04/04 10:52:36.930 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477199] [2025/04/04 10:52:36.934 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477202] [2025/04/04 10:52:36.938 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477205] [2025/04/04 10:52:36.942 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477208] [2025/04/04 10:52:36.946 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477211] [2025/04/04 10:52:36.950 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477214] [2025/04/04 10:52:36.954 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477217] [2025/04/04 10:52:36.957 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477220] [2025/04/04 10:52:36.961 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258720477223] [2025/04/04 10:52:36.965 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584387] [2025/04/04 10:52:36.969 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584390] [2025/04/04 10:52:36.972 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584393] [2025/04/04 10:52:36.976 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584396] [2025/04/04 10:52:36.980 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584400] [2025/04/04 10:52:36.984 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584403] [2025/04/04 10:52:36.988 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584406] [2025/04/04 10:52:36.992 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584409] [2025/04/04 10:52:36.996 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584412] [2025/04/04 10:52:37.000 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584415] [2025/04/04 10:52:37.004 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584419] [2025/04/04 10:52:37.008 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584423] [2025/04/04 10:52:37.011 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258733584426] [2025/04/04 10:52:37.015 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691587] [2025/04/04 10:52:37.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691590] [2025/04/04 10:52:37.022 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691593] [2025/04/04 10:52:37.026 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691597] [2025/04/04 10:52:37.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691603] [2025/04/04 10:52:37.034 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691606] [2025/04/04 10:52:37.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691609] [2025/04/04 10:52:37.042 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691612] [2025/04/04 10:52:37.046 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691615] [2025/04/04 10:52:37.050 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691618] [2025/04/04 10:52:37.053 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691621] [2025/04/04 10:52:37.057 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691624] [2025/04/04 10:52:37.061 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258746691627] [2025/04/04 10:52:37.065 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798786] [2025/04/04 10:52:37.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798789] [2025/04/04 10:52:37.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798792] [2025/04/04 10:52:37.078 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798795] [2025/04/04 10:52:37.082 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798799] [2025/04/04 10:52:37.086 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798802] [2025/04/04 10:52:37.089 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798805] [2025/04/04 10:52:37.093 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798808] [2025/04/04 10:52:37.096 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798811] [2025/04/04 10:52:37.100 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798814] [2025/04/04 10:52:37.103 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798817] [2025/04/04 10:52:37.107 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798820] [2025/04/04 10:52:37.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258759798823] [2025/04/04 10:52:37.115 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772905986] [2025/04/04 10:52:37.119 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772905989] [2025/04/04 10:52:37.123 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772905992] [2025/04/04 10:52:37.126 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772905995] [2025/04/04 10:52:37.130 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772905999] [2025/04/04 10:52:37.134 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772906002] [2025/04/04 10:52:37.138 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772906005] [2025/04/04 10:52:37.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772906008] [2025/04/04 10:52:37.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772906011] [2025/04/04 10:52:37.149 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772906014] [2025/04/04 10:52:37.153 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772906017] [2025/04/04 10:52:37.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772906020] [2025/04/04 10:52:37.161 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258772906023] [2025/04/04 10:52:37.165 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013186] [2025/04/04 10:52:37.169 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013190] [2025/04/04 10:52:37.173 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013193] [2025/04/04 10:52:37.177 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013196] [2025/04/04 10:52:37.181 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013200] [2025/04/04 10:52:37.185 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013203] [2025/04/04 10:52:37.189 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013206] [2025/04/04 10:52:37.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013210] [2025/04/04 10:52:37.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013213] [2025/04/04 10:52:37.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013216] [2025/04/04 10:52:37.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013219] [2025/04/04 10:52:37.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013222] [2025/04/04 10:52:37.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258786013225] [2025/04/04 10:52:37.215 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120387] [2025/04/04 10:52:37.219 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120390] [2025/04/04 10:52:37.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120393] [2025/04/04 10:52:37.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120396] [2025/04/04 10:52:37.231 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120400] [2025/04/04 10:52:37.235 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120403] [2025/04/04 10:52:37.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120406] [2025/04/04 10:52:37.242 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120409] [2025/04/04 10:52:37.246 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120412] [2025/04/04 10:52:37.250 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117258799120415] [2025/04/04 10:52:37.262 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117258799120419] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.710975ms] [2025/04/04 10:52:37.262 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.818495ms] [total_duration=4.31778ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457117258799120419] [2025/04/04 10:52:37.263 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117258799120419] [commitTS=457117258812489729] [2025/04/04 10:52:37.263 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117258799120419] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] [concurrency=8] [2025/04/04 10:52:37.269 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117258799120419] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] ["cost time"=5.751556ms] ["completed regions"=1] [2025/04/04 10:52:37.269 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117258799120419] [commitTS=457117258812489729] [session=19] [2025/04/04 10:52:37.281 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117258812489731] [generation=1] [session=19] [keys=100] [size=2.4kB] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=2.549301ms] [2025/04/04 10:52:37.281 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.679795ms] [total_duration=8.525371ms] ["memdb traversal cache hit"=150] ["memdb traversal cache miss"=200] [size=2.4kB] [startTS=457117258812489731] [2025/04/04 10:52:37.282 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117258812489731] [commitTS=457117258812489736] [2025/04/04 10:52:37.282 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117258812489731] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/04 10:52:37.283 +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/04 10:52:37.285 +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:2 id:174 store_id:1 id:175 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:52:37.285 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=172] [2025/04/04 10:52:37.286 +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:2 id:174 store_id:1 id:175 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.286 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=176] [2025/04/04 10:52:37.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117258812489731] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] ["cost time"=18.871318ms] ["completed regions"=10] [2025/04/04 10:52:37.301 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117258812489731] [commitTS=457117258812489736] [session=19] [2025/04/04 10:52:37.388 +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:2 id:178 store_id:1 id:179 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.388 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=180] [2025/04/04 10:52:37.389 +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:2 id:182 store_id:1 id:183 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.389 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=184] [2025/04/04 10:52:37.390 +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:2 id:186 store_id:1 id:187 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.390 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=188] [2025/04/04 10:52:37.391 +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:2 id:190 store_id:1 id:191 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.391 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=192] [2025/04/04 10:52:37.392 +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:2 id:194 store_id:1 id:195 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.392 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=196] [2025/04/04 10:52:37.393 +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:2 id:198 store_id:1 id:199 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.393 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=200] [2025/04/04 10:52:37.394 +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:2 id:202 store_id:1 id:203 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.394 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=204] [2025/04/04 10:52:37.395 +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:2 id:206 store_id:1 id:207 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:37.395 +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/04 10:52:37.395 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=172] [backoff(ms)=299887] [2025/04/04 10:52:37.396 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=172] [2025/04/04 10:52:37.396 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=176] [backoff(ms)=299887] [2025/04/04 10:52:37.396 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=176] [2025/04/04 10:52:37.396 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=180] [backoff(ms)=299886] [2025/04/04 10:52:37.397 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=180] [2025/04/04 10:52:37.397 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=184] [backoff(ms)=299886] [2025/04/04 10:52:37.397 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=184] [2025/04/04 10:52:37.397 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=188] [backoff(ms)=299885] [2025/04/04 10:52:37.398 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=188] [2025/04/04 10:52:37.398 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=192] [backoff(ms)=299885] [2025/04/04 10:52:37.398 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=192] [2025/04/04 10:52:37.398 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=196] [backoff(ms)=299884] [2025/04/04 10:52:37.399 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=196] [2025/04/04 10:52:37.399 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=200] [backoff(ms)=299884] [2025/04/04 10:52:37.399 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=200] [2025/04/04 10:52:37.399 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=204] [backoff(ms)=299883] [2025/04/04 10:52:37.400 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=204] [2025/04/04 10:52:37.409 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117258838704136] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=2.444959ms] [2025/04/04 10:52:37.409 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=2.559603ms] [total_duration=7.554345ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457117258838704136] [2025/04/04 10:52:37.410 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117258838704136] [commitTS=457117258838704137] [2025/04/04 10:52:37.410 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117258838704136] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/04 10:52:37.417 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:37.418 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:37.418 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [] [2025/04/04 10:52:37.418 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.418 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:37.418 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:37.418 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=87.121Β΅s] [2025/04/04 10:52:37.418 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=33.334Β΅s] [2025/04/04 10:52:37.418 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=33.991Β΅s] [2025/04/04 10:52:37.418 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.418 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.419 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:37.419 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:37.420 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117258838704136] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] ["cost time"=9.521197ms] ["completed regions"=10] [2025/04/04 10:52:37.420 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117258838704136] [commitTS=457117258838704137] [session=19] [2025/04/04 10:52:37.421 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ba8ab8b2-7612-49ae-aae2-89236daf01c6] ["take time"=3.184732ms] [2025/04/04 10:52:37.421 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.421 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:37.421 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ec14abdd-a3d9-481a-9a14-1093b1fd1ebb] [2025/04/04 10:52:37.421 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [ttl-worker=task-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [originalCount=4] [newCount=0] [2025/04/04 10:52:37.421 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:37.421 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:37.421 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:37.421 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:37.421 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [ttl-worker=task-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [originalCount=4] [newCount=0] [2025/04/04 10:52:37.424 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:37.424 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:37.424 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:37.424 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:37.426 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.426 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=487] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:37.427 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:37.427 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:37.428 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:37.428 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:37.427 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:37.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:37.427 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:37.428 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:37.428 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:37.428 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.428 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:37.428 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.428 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:37.428 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:37.429 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:37.429 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:37.429 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e51a5804-d6e0-4c7d-b5ff-57be2492a869] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:37.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:37.429 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:37.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:37.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:37.429 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:37.429 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [error="context canceled"] [2025/04/04 10:52:37.429 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:37.429 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:37.429 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:37.430 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [error="context canceled"] [2025/04/04 10:52:37.430 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [2025/04/04 10:52:37.446 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:37.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:37.490 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=ba8ab8b2-7612-49ae-aae2-89236daf01c6] [error="context canceled"] [2025/04/04 10:52:37.490 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:37.490 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:37.501 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.150052ms] [2025/04/04 10:52:38.358 +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/04 10:52:42.270 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117258799120419 commit_ts:457117258812489729 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:42.270 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117258799120419 commit_ts:457117258812489729 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:42.270 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117258799120419 commit_ts:457117258812489729 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:42.302 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117258812489731 commit_ts:457117258812489736 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:42.302 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117258812489731 commit_ts:457117258812489736 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:42.302 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117258812489731 commit_ts:457117258812489736 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:42.421 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117258838704136 commit_ts:457117258838704137 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:42.421 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117258838704136 commit_ts:457117258838704137 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:42.421 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117258838704136 commit_ts:457117258838704137 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:42.421 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:42.421 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:42.421 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:42.421 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:42.421 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:42.421 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:42.421 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:42.421 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:42.421 +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/04 10:52:42.421 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:42.421 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:42.421 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:42.423 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDelete (6.08s) === NAME === RUN TestPipelinedDMLUpdate [2025/04/04 10:52:42.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/04 10:52:42.432 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:42.433 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:42.434 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:42.434 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:42.434 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:42.434 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:42.434 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:42.434 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:42.435 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:42.435 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:42.439 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:42.444 +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/04 10:52:42.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/04 10:52:42.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/04 10:52:42.456 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:42.466 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:42.500 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=287] ["lease id"=6f18960069ddb0c4] [2025/04/04 10:52:42.502 +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/04 10:52:42.588 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=350] ["elapsed time"=83.296731ms] [2025/04/04 10:52:42.588 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:42.590 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:42.596 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4296e96f-9da4-45f4-8339-82fb2e77b35c] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:42.596 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:42.598 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:42.599 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:42.599 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238188974080/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:42.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:42.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:42.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:42.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:42.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:42.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:42.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:42.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:42.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:42.600 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:42.600 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:42.600 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:42.600 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [2025/04/04 10:52:42.602 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddb250] [ownerID=4296e96f-9da4-45f4-8339-82fb2e77b35c] [op=none] [2025/04/04 10:52:42.602 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:42.602 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddb250] [currRev=1641] [2025/04/04 10:52:42.602 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:42.602 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:42.603 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddb252] [ownerID=826daedb-0ac9-4f7b-b8c5-069c06941801] [op=none] [2025/04/04 10:52:42.603 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [2025/04/04 10:52:42.603 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [ownerKey=/tidb/br-stream/owner/3eaa960069ddb252] [currRev=1642] [2025/04/04 10:52:42.603 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:42.604 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddb250] [ownerID=4296e96f-9da4-45f4-8339-82fb2e77b35c] [op=none] [2025/04/04 10:52:42.604 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [op=none] [2025/04/04 10:52:42.604 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:42.613 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:42.614 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:42.615 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:42.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:42.634 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:42.638 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:42.638 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:42.638 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:42.638 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:42.638 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:42.639 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:42.639 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:42.639 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:42.639 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:42.640 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:42.640 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:42.641 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:42.641 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:42.641 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:42.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:42.643 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:42.643 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960069ddb0ce] [ownerID=4296e96f-9da4-45f4-8339-82fb2e77b35c] [op=none] [2025/04/04 10:52:42.643 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:42.643 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [ownerKey=/tidb/stats/owner/6f18960069ddb0ce] [currRev=1644] [2025/04/04 10:52:42.645 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/4ec4e2d2-226f-4722-946b-48f799b77d1e] [2025/04/04 10:52:42.646 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [ttl-worker=task-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [originalCount=0] [newCount=4] [2025/04/04 10:52:42.646 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [ttl-worker=task-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [originalCount=0] [newCount=4] [2025/04/04 10:52:42.646 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:42.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:42.647 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:42.647 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:52:42.647 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743763962647524693 [2025/04/04 10:52:42.652 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:42.661 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.296221ms] [2025/04/04 10:52:42.661 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:42.661 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:42.662 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:42.664 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:52:42.665 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:42.678 +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-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:42.678 +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-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:42.683 +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-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.699 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=350] [neededSchemaVersion=351] ["elapsed time"=2.016127ms] [gotSchemaVersion=351] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:42.704 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=351] [2025/04/04 10:52:42.705 +00:00] [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.917451ms] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.715 +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-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=351] [neededSchemaVersion=352] ["elapsed time"=1.96181ms] [gotSchemaVersion=352] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:42.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=352] [2025/04/04 10:52:42.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=352] ["take time"=8.970596ms] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.744 +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-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.750 +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/04 10:52:42.763 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=352] [neededSchemaVersion=353] ["elapsed time"=1.09772ms] [gotSchemaVersion=353] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:42.766 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=353] [2025/04/04 10:52:42.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=353] ["take time"=8.379945ms] [job="ID:380, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.778 +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/04 10:52:42.785 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=380] [jobType="drop table"] [2025/04/04 10:52:42.786 +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-04 10:52:42.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.805 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/04 10:52:42.815 +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-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:42.815 +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-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:42.821 +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-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.835 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=353] [neededSchemaVersion=354] ["elapsed time"=1.914225ms] [gotSchemaVersion=354] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:42.839 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=354] [2025/04/04 10:52:42.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=354] ["take time"=8.963254ms] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.850 +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-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.865 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=354] [neededSchemaVersion=355] ["elapsed time"=1.851413ms] [gotSchemaVersion=355] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:42.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=355] [2025/04/04 10:52:42.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=355] ["take time"=8.979758ms] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.879 +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-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.885 +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/04 10:52:42.897 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=355] [neededSchemaVersion=356] ["elapsed time"=1.087467ms] [gotSchemaVersion=356] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:42.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=356] [2025/04/04 10:52:42.903 +00:00] [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.332137ms] [job="ID:381, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.912 +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/04 10:52:42.916 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=381] [jobType="drop table"] [2025/04/04 10:52:42.917 +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-04 10:52:42.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.935 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=381] [2025/04/04 10:52:42.935 +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: 1743763962935594173 [2025/04/04 10:52:42.955 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:52:42.957 +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/04 10:52:42.971 +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-04 10:52:42.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:42.971 +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-04 10:52:42.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:52:42.977 +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-04 10:52:42.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:42.981 +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/04 10:52:42.996 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=356] [neededSchemaVersion=357] ["elapsed time"=1.518147ms] [gotSchemaVersion=357] [phyTblIDs="[382]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:43.000 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=383] [version=357] [2025/04/04 10:52:43.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=357] ["take time"=8.532947ms] [job="ID:383, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:42.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:43.012 +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-04 10:52:42.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:43.023 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=383] [2025/04/04 10:52:43.024 +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/04 10:52:43.037 +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-04 10:52:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:52:43.037 +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-04 10:52:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:43.043 +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-04 10:52:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:43.047 +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/04 10:52:43.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=357] [neededSchemaVersion=358] ["elapsed time"=1.427621ms] [gotSchemaVersion=358] [phyTblIDs="[384]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:43.064 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=358] [2025/04/04 10:52:43.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=358] ["take time"=8.291376ms] [job="ID:385, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:43.076 +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-04 10:52:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:43.087 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=385] [2025/04/04 10:52:43.087 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=358] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:52:43.090 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260332662794] [2025/04/04 10:52:43.094 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260332662798] [2025/04/04 10:52:43.098 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260332662801] [2025/04/04 10:52:43.102 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260332662805] [2025/04/04 10:52:43.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260332662810] [2025/04/04 10:52:43.110 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260332662814] [2025/04/04 10:52:43.114 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345769986] [2025/04/04 10:52:43.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345769989] [2025/04/04 10:52:43.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345769992] [2025/04/04 10:52:43.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345769995] [2025/04/04 10:52:43.129 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345769998] [2025/04/04 10:52:43.133 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770001] [2025/04/04 10:52:43.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770004] [2025/04/04 10:52:43.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770007] [2025/04/04 10:52:43.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770010] [2025/04/04 10:52:43.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770013] [2025/04/04 10:52:43.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770016] [2025/04/04 10:52:43.155 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770019] [2025/04/04 10:52:43.159 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770023] [2025/04/04 10:52:43.163 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260345770026] [2025/04/04 10:52:43.167 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139331] [2025/04/04 10:52:43.170 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139334] [2025/04/04 10:52:43.174 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139337] [2025/04/04 10:52:43.178 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139340] [2025/04/04 10:52:43.181 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139343] [2025/04/04 10:52:43.185 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139346] [2025/04/04 10:52:43.188 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139349] [2025/04/04 10:52:43.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139352] [2025/04/04 10:52:43.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139355] [2025/04/04 10:52:43.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139359] [2025/04/04 10:52:43.203 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139362] [2025/04/04 10:52:43.207 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139366] [2025/04/04 10:52:43.211 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260359139369] [2025/04/04 10:52:43.215 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246530] [2025/04/04 10:52:43.219 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246533] [2025/04/04 10:52:43.225 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246536] [2025/04/04 10:52:43.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246539] [2025/04/04 10:52:43.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246542] [2025/04/04 10:52:43.238 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246545] [2025/04/04 10:52:43.242 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246548] [2025/04/04 10:52:43.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246551] [2025/04/04 10:52:43.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246554] [2025/04/04 10:52:43.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246558] [2025/04/04 10:52:43.257 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246562] [2025/04/04 10:52:43.261 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260372246565] [2025/04/04 10:52:43.265 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091586] [2025/04/04 10:52:43.269 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091589] [2025/04/04 10:52:43.273 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091592] [2025/04/04 10:52:43.277 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091595] [2025/04/04 10:52:43.280 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091598] [2025/04/04 10:52:43.284 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091601] [2025/04/04 10:52:43.288 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091604] [2025/04/04 10:52:43.292 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091607] [2025/04/04 10:52:43.296 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091610] [2025/04/04 10:52:43.299 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091613] [2025/04/04 10:52:43.303 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091616] [2025/04/04 10:52:43.307 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091620] [2025/04/04 10:52:43.311 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260385091623] [2025/04/04 10:52:43.315 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198786] [2025/04/04 10:52:43.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198789] [2025/04/04 10:52:43.323 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198792] [2025/04/04 10:52:43.327 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198795] [2025/04/04 10:52:43.331 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198798] [2025/04/04 10:52:43.335 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198801] [2025/04/04 10:52:43.339 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198804] [2025/04/04 10:52:43.343 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198807] [2025/04/04 10:52:43.347 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198810] [2025/04/04 10:52:43.351 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198813] [2025/04/04 10:52:43.355 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198819] [2025/04/04 10:52:43.359 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198823] [2025/04/04 10:52:43.363 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260398198826] [2025/04/04 10:52:43.367 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411305987] [2025/04/04 10:52:43.370 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411305990] [2025/04/04 10:52:43.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411305993] [2025/04/04 10:52:43.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411305996] [2025/04/04 10:52:43.382 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411305999] [2025/04/04 10:52:43.386 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411306002] [2025/04/04 10:52:43.389 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411306005] [2025/04/04 10:52:43.394 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411306008] [2025/04/04 10:52:43.398 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411306011] [2025/04/04 10:52:43.402 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411306014] [2025/04/04 10:52:43.406 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411306017] [2025/04/04 10:52:43.410 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260411306021] [2025/04/04 10:52:43.413 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413185] [2025/04/04 10:52:43.417 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413188] [2025/04/04 10:52:43.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413191] [2025/04/04 10:52:43.426 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413194] [2025/04/04 10:52:43.430 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413197] [2025/04/04 10:52:43.434 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413200] [2025/04/04 10:52:43.438 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413203] [2025/04/04 10:52:43.442 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413206] [2025/04/04 10:52:43.446 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413209] [2025/04/04 10:52:43.450 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413212] [2025/04/04 10:52:43.454 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413215] [2025/04/04 10:52:43.458 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413219] [2025/04/04 10:52:43.462 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260424413222] [2025/04/04 10:52:43.465 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260437782531] [2025/04/04 10:52:43.469 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260437782534] [2025/04/04 10:52:43.473 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260437782537] [2025/04/04 10:52:43.477 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117260437782540] [2025/04/04 10:52:43.491 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782545] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.267862ms] [2025/04/04 10:52:43.493 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782545] [generation=2] [session=21] [keys=25] [size=725B] ["flushed keys"=35] ["flushed size"=1.015kB] ["take time"=1.406843ms] [2025/04/04 10:52:43.494 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782545] [generation=3] [session=21] [keys=29] [size=841B] ["flushed keys"=64] ["flushed size"=1.856kB] ["take time"=1.328824ms] [2025/04/04 10:52:43.496 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782545] [generation=4] [session=21] [keys=30] [size=870B] ["flushed keys"=94] ["flushed size"=2.726kB] ["take time"=1.361701ms] [2025/04/04 10:52:43.497 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782545] [generation=5] [session=21] [keys=6] [size=174B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=864.778Β΅s] [2025/04/04 10:52:43.497 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.02383ms] [total_duration=8.961067ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457117260437782545] [2025/04/04 10:52:43.498 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117260437782545] [commitTS=457117260437782546] [2025/04/04 10:52:43.498 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117260437782545] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] [concurrency=8] [2025/04/04 10:52:43.504 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117260437782545] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] ["cost time"=5.885618ms] ["completed regions"=1] [2025/04/04 10:52:43.504 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117260437782545] [commitTS=457117260437782546] [session=21] [2025/04/04 10:52:43.511 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782549] [generation=1] [session=21] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.13713ms] [2025/04/04 10:52:43.513 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782549] [generation=2] [session=21] [keys=28] [size=672B] ["flushed keys"=38] ["flushed size"=912B] ["take time"=1.249016ms] [2025/04/04 10:52:43.514 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782549] [generation=3] [session=21] [keys=32] [size=768B] ["flushed keys"=70] ["flushed size"=1.68kB] ["take time"=1.252428ms] [2025/04/04 10:52:43.515 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782549] [generation=4] [session=21] [keys=32] [size=768B] ["flushed keys"=102] ["flushed size"=2.448kB] ["take time"=1.297653ms] [2025/04/04 10:52:43.517 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782549] [generation=5] [session=21] [keys=32] [size=768B] ["flushed keys"=134] ["flushed size"=3.216kB] ["take time"=1.305511ms] [2025/04/04 10:52:43.518 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782549] [generation=6] [session=21] [keys=32] [size=768B] ["flushed keys"=166] ["flushed size"=3.984kB] ["take time"=1.278786ms] [2025/04/04 10:52:43.520 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782549] [generation=7] [session=21] [keys=30] [size=720B] ["flushed keys"=196] ["flushed size"=4.704kB] ["take time"=1.178985ms] [2025/04/04 10:52:43.521 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260437782549] [generation=8] [session=21] [keys=2] [size=48B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=740.621Β΅s] [2025/04/04 10:52:43.521 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=198] [flush_wait_duration=1.872242ms] [total_duration=12.572738ms] ["memdb traversal cache hit"=297] ["memdb traversal cache miss"=396] [size=4.752kB] [startTS=457117260437782549] [2025/04/04 10:52:43.522 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117260437782549] [commitTS=457117260450889729] [2025/04/04 10:52:43.522 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117260437782549] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/04 10:52:43.523 +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/04 10:52:43.525 +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:2 id:210 store_id:1 id:211 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 10:52:43.525 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=208] [2025/04/04 10:52:43.526 +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:2 id:210 store_id:1 id:211 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.526 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=212] [2025/04/04 10:52:43.527 +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:2 id:214 store_id:1 id:215 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.528 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=216] [2025/04/04 10:52:43.528 +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:2 id:218 store_id:1 id:219 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.528 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=220] [2025/04/04 10:52:43.529 +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:2 id:222 store_id:1 id:223 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.529 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=224] [2025/04/04 10:52:43.530 +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:2 id:226 store_id:1 id:227 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.530 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=228] [2025/04/04 10:52:43.531 +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:2 id:230 store_id:1 id:231 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.531 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=232] [2025/04/04 10:52:43.532 +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:2 id:234 store_id:1 id:235 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.532 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=236] [2025/04/04 10:52:43.532 +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:2 id:238 store_id:1 id:239 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.533 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=240] [2025/04/04 10:52:43.533 +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:2 id:242 store_id:1 id:243 store_id:3 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 10:52:43.534 +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/04 10:52:43.534 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=208] [backoff(ms)=299989] [2025/04/04 10:52:43.534 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=208] [2025/04/04 10:52:43.534 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=212] [backoff(ms)=299988] [2025/04/04 10:52:43.535 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=212] [2025/04/04 10:52:43.535 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=216] [backoff(ms)=299988] [2025/04/04 10:52:43.535 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=216] [2025/04/04 10:52:43.535 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=220] [backoff(ms)=299987] [2025/04/04 10:52:43.536 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=220] [2025/04/04 10:52:43.536 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=224] [backoff(ms)=299987] [2025/04/04 10:52:43.536 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=224] [2025/04/04 10:52:43.536 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=228] [backoff(ms)=299986] [2025/04/04 10:52:43.537 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=228] [2025/04/04 10:52:43.537 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=232] [backoff(ms)=299986] [2025/04/04 10:52:43.537 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=232] [2025/04/04 10:52:43.537 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=236] [backoff(ms)=299985] [2025/04/04 10:52:43.538 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=236] [2025/04/04 10:52:43.538 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=240] [backoff(ms)=299985] [2025/04/04 10:52:43.538 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=240] [2025/04/04 10:52:43.546 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260450889745] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.049931ms] [2025/04/04 10:52:43.547 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117260437782549] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=24.937171ms] ["completed regions"=10] [2025/04/04 10:52:43.547 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117260437782549] [commitTS=457117260450889729] [session=21] [2025/04/04 10:52:43.548 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260450889745] [generation=2] [session=21] [keys=21] [size=609B] ["flushed keys"=31] ["flushed size"=899B] ["take time"=1.580453ms] [2025/04/04 10:52:43.549 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260450889745] [generation=3] [session=21] [keys=32] [size=928B] ["flushed keys"=63] ["flushed size"=1.827kB] ["take time"=1.420301ms] [2025/04/04 10:52:43.551 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260450889745] [generation=4] [session=21] [keys=28] [size=812B] ["flushed keys"=91] ["flushed size"=2.639kB] ["take time"=1.443345ms] [2025/04/04 10:52:43.552 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117260450889745] [generation=5] [session=21] [keys=9] [size=261B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=1.059638ms] [2025/04/04 10:52:43.552 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.100057ms] [total_duration=11.99316ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457117260450889745] [2025/04/04 10:52:43.553 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117260450889745] [commitTS=457117260450889747] [2025/04/04 10:52:43.554 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117260450889745] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/04 10:52:43.560 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:43.560 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [] [2025/04/04 10:52:43.560 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.560 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:43.561 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:43.561 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:43.561 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117260450889745] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=6.75002ms] ["completed regions"=10] [2025/04/04 10:52:43.561 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457117260450889745] [commitTS=457117260450889747] [session=21] [2025/04/04 10:52:43.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=77.745Β΅s] [2025/04/04 10:52:43.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=69.978Β΅s] [2025/04/04 10:52:43.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=64.979Β΅s] [2025/04/04 10:52:43.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=78.256Β΅s] [2025/04/04 10:52:43.561 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.562 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.563 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:43.563 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:43.565 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4296e96f-9da4-45f4-8339-82fb2e77b35c] ["take time"=5.251364ms] [2025/04/04 10:52:43.565 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.565 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:43.566 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/4ec4e2d2-226f-4722-946b-48f799b77d1e] [2025/04/04 10:52:43.566 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [ttl-worker=task-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [originalCount=4] [newCount=0] [2025/04/04 10:52:43.566 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:43.566 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:43.566 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:43.566 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:43.566 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [ttl-worker=task-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [originalCount=4] [newCount=0] [2025/04/04 10:52:43.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:43.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:43.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:43.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:43.570 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.571 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:43.571 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=287] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:43.572 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:43.572 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:43.572 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:43.573 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.573 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:43.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:43.572 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:43.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:43.573 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:43.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:43.572 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [2025/04/04 10:52:43.573 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [2025/04/04 10:52:43.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:43.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:43.574 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:43.574 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:43.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:43.574 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:43.574 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=826daedb-0ac9-4f7b-b8c5-069c06941801] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:43.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:43.574 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:43.574 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:43.574 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:43.575 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:43.575 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:43.576 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [error="context canceled"] [2025/04/04 10:52:43.576 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [2025/04/04 10:52:43.592 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:43.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:43.635 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4296e96f-9da4-45f4-8339-82fb2e77b35c] [error="context canceled"] [2025/04/04 10:52:43.635 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:43.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:43.645 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.680251ms] [2025/04/04 10:52:44.439 +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/04 10:52:48.505 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117260437782545 commit_ts:457117260437782546 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:48.505 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117260437782545 commit_ts:457117260437782546 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:48.505 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117260437782545 commit_ts:457117260437782546 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:48.548 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117260437782549 commit_ts:457117260450889729 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:48.548 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117260437782549 commit_ts:457117260450889729 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:48.548 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117260437782549 commit_ts:457117260450889729 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:48.561 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117260450889745 commit_ts:457117260450889747 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:48.561 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117260450889745 commit_ts:457117260450889747 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:48.562 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117260450889745 commit_ts:457117260450889747 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:48.562 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:48.562 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:48.562 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:48.562 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:48.562 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:48.562 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:48.562 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:48.562 +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/04 10:52:48.562 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:48.562 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:48.562 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:48.562 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:48.563 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLUpdate (6.14s) === NAME === RUN TestPipelinedDMLCommitFailed [2025/04/04 10:52:48.571 +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/04 10:52:48.572 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:48.572 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:48.573 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:48.573 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:48.573 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:48.573 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:48.573 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:48.573 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:48.574 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:48.574 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:48.578 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:48.583 +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/04 10:52:48.584 +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/04 10:52:48.584 +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/04 10:52:48.594 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:48.604 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:48.638 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=979] ["lease id"=2231960069ddb6f5] [2025/04/04 10:52:48.640 +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/04 10:52:48.724 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=358] ["elapsed time"=82.060129ms] [2025/04/04 10:52:48.724 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:48.726 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:48.732 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=fd048751-0502-4d0a-9f85-8e81e8ebd928] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:48.732 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:48.733 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:48.734 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:48.735 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238189248512/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:48.735 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:48.735 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:48.735 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:48.735 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [2025/04/04 10:52:48.737 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb6fd] [ownerID=fd048751-0502-4d0a-9f85-8e81e8ebd928] [op=none] [2025/04/04 10:52:48.737 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:48.737 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb6fd] [currRev=1683] [2025/04/04 10:52:48.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:48.738 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:48.738 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:48.738 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddb0f2] [ownerID=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [op=none] [2025/04/04 10:52:48.738 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [2025/04/04 10:52:48.738 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [ownerKey=/tidb/br-stream/owner/6f18960069ddb0f2] [currRev=1684] [2025/04/04 10:52:48.739 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb6fd] [ownerID=fd048751-0502-4d0a-9f85-8e81e8ebd928] [op=none] [2025/04/04 10:52:48.739 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [op=none] [2025/04/04 10:52:48.739 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:48.748 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:48.749 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:48.749 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:48.758 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:48.766 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:48.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:48.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:48.770 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:48.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:48.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:48.770 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:48.770 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:48.770 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:48.770 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:48.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:48.771 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:48.772 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:48.772 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:48.772 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:48.772 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:48.772 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:48.772 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:48.772 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:48.772 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:48.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:48.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:48.773 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:48.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:48.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:48.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:48.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:48.774 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:48.775 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069ddb705] [ownerID=fd048751-0502-4d0a-9f85-8e81e8ebd928] [op=none] [2025/04/04 10:52:48.775 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:48.775 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [ownerKey=/tidb/stats/owner/2231960069ddb705] [currRev=1686] [2025/04/04 10:52:48.777 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b578232c-b8de-4581-aaf4-ce961468b84d] [2025/04/04 10:52:48.777 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:48.777 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [ttl-worker=task-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [originalCount=0] [newCount=4] [2025/04/04 10:52:48.777 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [ttl-worker=task-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [originalCount=0] [newCount=4] [2025/04/04 10:52:48.777 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:48.778 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:48.778 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:48.778 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763968778475951 [2025/04/04 10:52:48.782 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:48.789 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.333127ms] [2025/04/04 10:52:48.789 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:48.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:48.791 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:52:48.812 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:48.815 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:52:48.816 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:48.829 +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-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:48.829 +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-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:48.835 +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-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.850 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=358] [neededSchemaVersion=359] ["elapsed time"=1.776094ms] [gotSchemaVersion=359] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:48.854 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=359] [2025/04/04 10:52:48.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=359] ["take time"=8.884705ms] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.865 +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-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.880 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=359] [neededSchemaVersion=360] ["elapsed time"=1.792522ms] [gotSchemaVersion=360] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:48.883 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=360] [2025/04/04 10:52:48.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=360] ["take time"=8.666333ms] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.893 +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-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.898 +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/04 10:52:48.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=360] [neededSchemaVersion=361] ["elapsed time"=1.068555ms] [gotSchemaVersion=361] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:48.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=361] [2025/04/04 10:52:48.916 +00:00] [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"=8.241324ms] [job="ID:386, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.926 +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/04 10:52:48.932 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=386] [jobType="drop table"] [2025/04/04 10:52:48.933 +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-04 10:52:48.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.951 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/04 10:52:48.963 +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-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:48.963 +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-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:48.968 +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-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.983 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=361] [neededSchemaVersion=362] ["elapsed time"=1.827894ms] [gotSchemaVersion=362] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:48.987 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=362] [2025/04/04 10:52:48.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=362] ["take time"=9.135955ms] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:48.998 +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-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=362] [neededSchemaVersion=363] ["elapsed time"=1.849512ms] [gotSchemaVersion=363] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:49.016 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=363] [2025/04/04 10:52:49.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=363] ["take time"=8.815032ms] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.026 +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-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.031 +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/04 10:52:49.043 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=363] [neededSchemaVersion=364] ["elapsed time"=1.054164ms] [gotSchemaVersion=364] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:49.047 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=364] [2025/04/04 10:52:49.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=364] ["take time"=8.369696ms] [job="ID:387, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.058 +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/04 10:52:49.062 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=387] [jobType="drop table"] [2025/04/04 10:52:49.063 +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-04 10:52:48.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.080 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=387] [2025/04/04 10:52:49.080 +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: 1743763969081043764 testkit.go:123: RefreshSession rand seed: 1743763969083247852 [2025/04/04 10:52:49.087 +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/04 10:52:49.100 +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-04 10:52:49.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:49.100 +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-04 10:52:49.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:52:49.106 +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-04 10:52:49.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.110 +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/04 10:52:49.124 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=364] [neededSchemaVersion=365] ["elapsed time"=1.404271ms] [gotSchemaVersion=365] [phyTblIDs="[388]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:49.128 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=389] [version=365] [2025/04/04 10:52:49.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=365] ["take time"=8.527322ms] [job="ID:389, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:49.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.140 +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-04 10:52:49.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.151 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=389] [2025/04/04 10:52:49.151 +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/04 10:52:49.164 +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-04 10:52:49.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:49.164 +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-04 10:52:49.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:52:49.169 +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-04 10:52:49.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.174 +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/04 10:52:49.188 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=365] [neededSchemaVersion=366] ["elapsed time"=1.467928ms] [gotSchemaVersion=366] [phyTblIDs="[390]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:49.192 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=366] [2025/04/04 10:52:49.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=366] ["take time"=8.548824ms] [job="ID:391, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:49.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.205 +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-04 10:52:49.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:49.216 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/04 10:52:49.216 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=366] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:52:49.219 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110532] [2025/04/04 10:52:49.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110536] [2025/04/04 10:52:49.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110539] [2025/04/04 10:52:49.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110542] [2025/04/04 10:52:49.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110545] [2025/04/04 10:52:49.238 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110549] [2025/04/04 10:52:49.242 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110555] [2025/04/04 10:52:49.246 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110558] [2025/04/04 10:52:49.250 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110561] [2025/04/04 10:52:49.254 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110564] [2025/04/04 10:52:49.258 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110567] [2025/04/04 10:52:49.261 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261945110570] [2025/04/04 10:52:49.265 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955587] [2025/04/04 10:52:49.269 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955590] [2025/04/04 10:52:49.273 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955593] [2025/04/04 10:52:49.277 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955596] [2025/04/04 10:52:49.280 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955599] [2025/04/04 10:52:49.284 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955602] [2025/04/04 10:52:49.288 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955605] [2025/04/04 10:52:49.292 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955609] [2025/04/04 10:52:49.295 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955612] [2025/04/04 10:52:49.299 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955615] [2025/04/04 10:52:49.302 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955618] [2025/04/04 10:52:49.306 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955621] [2025/04/04 10:52:49.310 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261957955624] [2025/04/04 10:52:49.313 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062785] [2025/04/04 10:52:49.317 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062788] [2025/04/04 10:52:49.321 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062791] [2025/04/04 10:52:49.325 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062794] [2025/04/04 10:52:49.328 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062797] [2025/04/04 10:52:49.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062800] [2025/04/04 10:52:49.336 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062803] [2025/04/04 10:52:49.340 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062806] [2025/04/04 10:52:49.344 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062810] [2025/04/04 10:52:49.348 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062813] [2025/04/04 10:52:49.352 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062816] [2025/04/04 10:52:49.355 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062819] [2025/04/04 10:52:49.359 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062822] [2025/04/04 10:52:49.363 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261971062825] [2025/04/04 10:52:49.367 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432131] [2025/04/04 10:52:49.371 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432134] [2025/04/04 10:52:49.375 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432137] [2025/04/04 10:52:49.380 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432140] [2025/04/04 10:52:49.384 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432144] [2025/04/04 10:52:49.387 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432147] [2025/04/04 10:52:49.392 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432151] [2025/04/04 10:52:49.396 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432154] [2025/04/04 10:52:49.400 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432157] [2025/04/04 10:52:49.404 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432160] [2025/04/04 10:52:49.408 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432163] [2025/04/04 10:52:49.413 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261984432166] [2025/04/04 10:52:49.417 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539331] [2025/04/04 10:52:49.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539334] [2025/04/04 10:52:49.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539337] [2025/04/04 10:52:49.429 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539340] [2025/04/04 10:52:49.434 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539343] [2025/04/04 10:52:49.437 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539346] [2025/04/04 10:52:49.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539350] [2025/04/04 10:52:49.445 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539353] [2025/04/04 10:52:49.449 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539356] [2025/04/04 10:52:49.454 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539359] [2025/04/04 10:52:49.458 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539362] [2025/04/04 10:52:49.462 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117261997539365] [2025/04/04 10:52:49.466 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646531] [2025/04/04 10:52:49.470 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646534] [2025/04/04 10:52:49.474 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646537] [2025/04/04 10:52:49.478 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646540] [2025/04/04 10:52:49.481 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646543] [2025/04/04 10:52:49.485 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646546] [2025/04/04 10:52:49.489 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646551] [2025/04/04 10:52:49.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646556] [2025/04/04 10:52:49.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646559] [2025/04/04 10:52:49.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646562] [2025/04/04 10:52:49.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646565] [2025/04/04 10:52:49.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262010646568] [2025/04/04 10:52:49.513 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753729] [2025/04/04 10:52:49.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753732] [2025/04/04 10:52:49.521 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753735] [2025/04/04 10:52:49.524 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753738] [2025/04/04 10:52:49.528 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753741] [2025/04/04 10:52:49.532 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753744] [2025/04/04 10:52:49.536 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753747] [2025/04/04 10:52:49.540 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753750] [2025/04/04 10:52:49.543 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753754] [2025/04/04 10:52:49.547 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753757] [2025/04/04 10:52:49.551 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753760] [2025/04/04 10:52:49.555 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753763] [2025/04/04 10:52:49.558 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753766] [2025/04/04 10:52:49.562 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262023753769] [2025/04/04 10:52:49.566 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860931] [2025/04/04 10:52:49.569 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860934] [2025/04/04 10:52:49.573 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860937] [2025/04/04 10:52:49.577 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860940] [2025/04/04 10:52:49.580 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860943] [2025/04/04 10:52:49.584 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860946] [2025/04/04 10:52:49.588 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860949] [2025/04/04 10:52:49.592 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860953] [2025/04/04 10:52:49.596 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860956] [2025/04/04 10:52:49.600 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860959] [2025/04/04 10:52:49.604 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117262036860962] [2025/04/04 10:52:49.618 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117262036860966] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.656264ms] [2025/04/04 10:52:49.618 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117262036860966] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=37.93Β΅s] [2025/04/04 10:52:49.618 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.742074ms] [total_duration=7.308519ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117262036860966] [2025/04/04 10:52:49.619 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117262036860966] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] [concurrency=8] [2025/04/04 10:52:49.619 +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/04 10:52:49.619 +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/04 10:52:49.619 +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/04 10:52:49.625 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117262036860966] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] ["cost time"=5.809808ms] ["completed regions"=1] [2025/04/04 10:52:49.625 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117262036860966] [commitTS=0] [session=23] [2025/04/04 10:52:49.625 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001865f728000000000000000, primary: 7480000000000001865f728000000000000000, txnStartTS: 457117262036860966, lockForUpdateTS:0, minCommitTs:457117262036860967, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 10:52:49.634 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117262049968131] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.470432ms] [2025/04/04 10:52:49.635 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117262049968131] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=35.443Β΅s] [2025/04/04 10:52:49.635 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.540512ms] [total_duration=7.104761ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117262049968131] [2025/04/04 10:52:49.635 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117262049968131] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] [concurrency=8] [2025/04/04 10:52:49.635 +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/04 10:52:49.635 +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/04 10:52:49.636 +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/04 10:52:49.638 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117262049968131] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] ["cost time"=3.08046ms] ["completed regions"=1] [2025/04/04 10:52:49.639 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117262049968131] [commitTS=0] [session=23] [2025/04/04 10:52:49.640 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [] [2025/04/04 10:52:49.640 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:49.640 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.643 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:49.643 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:49.643 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:49.643 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=47.582Β΅s] [2025/04/04 10:52:49.643 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=30.775Β΅s] [2025/04/04 10:52:49.643 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=27.04Β΅s] [2025/04/04 10:52:49.643 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=32.73Β΅s] [2025/04/04 10:52:49.643 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.643 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.645 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:49.645 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:49.646 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=fd048751-0502-4d0a-9f85-8e81e8ebd928] ["take time"=6.06893ms] [2025/04/04 10:52:49.646 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.646 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:49.646 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b578232c-b8de-4581-aaf4-ce961468b84d] [2025/04/04 10:52:49.646 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [ttl-worker=task-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [originalCount=4] [newCount=0] [2025/04/04 10:52:49.646 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:49.646 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:49.646 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:49.646 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:49.647 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [ttl-worker=task-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [originalCount=4] [newCount=0] [2025/04/04 10:52:49.649 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:49.649 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:49.649 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:49.649 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:49.651 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.651 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=979] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:49.652 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:49.652 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:49.652 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:49.653 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:49.652 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:49.653 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:49.652 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:49.652 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:49.653 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:49.652 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [2025/04/04 10:52:49.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:49.653 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [2025/04/04 10:52:49.652 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:49.653 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:49.653 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:49.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:49.652 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:49.653 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:49.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:49.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:49.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:49.652 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:49.653 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.653 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:49.653 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:49.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:49.652 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:49.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:49.652 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:49.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:49.654 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:49.654 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:49.654 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:49.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:49.654 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=8e9a93b6-c773-4458-854f-1bc2e5c7b572] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:49.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:49.654 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:49.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:49.654 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [error="context canceled"] [2025/04/04 10:52:49.654 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:49.654 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:49.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:49.655 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [error="context canceled"] [2025/04/04 10:52:49.655 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [2025/04/04 10:52:49.655 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [error="context canceled"] [2025/04/04 10:52:49.655 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=fd048751-0502-4d0a-9f85-8e81e8ebd928] [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/04 10:52:49.672 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:49.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:49.716 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:49.716 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:49.726 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.180633ms] [2025/04/04 10:52:50.579 +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/04 10:52:54.625 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117262036860966 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:54.625 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117262036860966 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:54.625 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117262036860966 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:54.639 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117262049968131 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:52:54.639 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117262049968131 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:52:54.639 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117262049968131 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:52:54.639 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:54.639 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:54.639 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:54.639 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:54.639 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:54.639 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:54.639 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:54.640 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:54.640 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:54.639 +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/04 10:52:54.640 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:54.640 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:54.641 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitFailed (6.08s) === NAME === RUN TestPipelinedDMLCommitSkipSecondaries [2025/04/04 10:52:54.649 +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/04 10:52:54.650 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:54.651 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:54.651 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:54.651 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:54.651 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:54.651 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:54.651 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:54.652 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:54.652 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:54.652 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:54.656 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:54.661 +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/04 10:52:54.662 +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/04 10:52:54.662 +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/04 10:52:54.672 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:54.682 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:54.715 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1971] ["lease id"=2231960069ddb727] [2025/04/04 10:52:54.719 +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/04 10:52:54.808 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=366] ["elapsed time"=86.788605ms] [2025/04/04 10:52:54.808 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:54.810 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:54.816 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:54.816 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:54.818 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:54.819 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:54.819 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 227846455296/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:54.819 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:54.819 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:54.819 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:54.819 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:54.819 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:54.819 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:54.819 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:54.819 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:54.820 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:54.820 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:54.820 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:54.820 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:54.820 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [2025/04/04 10:52:54.822 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb11d] [ownerID=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [op=none] [2025/04/04 10:52:54.822 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:54.822 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddb11d] [currRev=1726] [2025/04/04 10:52:54.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:54.823 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:54.823 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:54.823 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddb11f] [ownerID=9f573038-783e-41a3-9b27-4bf4247a04f1] [op=none] [2025/04/04 10:52:54.824 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [2025/04/04 10:52:54.824 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [ownerKey=/tidb/br-stream/owner/6f18960069ddb11f] [currRev=1727] [2025/04/04 10:52:54.824 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb11d] [ownerID=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [op=none] [2025/04/04 10:52:54.824 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [op=none] [2025/04/04 10:52:54.824 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:54.833 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:54.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:54.834 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:54.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:54.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:54.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:54.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:54.859 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:54.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:54.859 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:54.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:54.859 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:54.859 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:54.859 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:54.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:54.860 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:54.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:54.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:54.862 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:54.862 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:54.862 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:54.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:54.864 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:54.864 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960069ddb731] [ownerID=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [op=none] [2025/04/04 10:52:54.864 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:54.864 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [ownerKey=/tidb/stats/owner/2231960069ddb731] [currRev=1729] [2025/04/04 10:52:54.866 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8ca2a145-fad8-40e2-8254-0629730f1eea] [2025/04/04 10:52:54.866 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [ttl-worker=task-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [originalCount=0] [newCount=4] [2025/04/04 10:52:54.867 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [ttl-worker=task-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [originalCount=0] [newCount=4] [2025/04/04 10:52:54.867 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:54.867 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:54.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:54.867 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:54.867 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763974867982043 [2025/04/04 10:52:54.872 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:54.879 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.395206ms] [2025/04/04 10:52:54.879 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:54.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:54.880 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:52:54.901 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:54.903 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:52:54.905 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:54.918 +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-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:54.918 +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-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:54.925 +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-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:54.942 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=366] [neededSchemaVersion=367] ["elapsed time"=1.890204ms] [gotSchemaVersion=367] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:54.946 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=367] [2025/04/04 10:52:54.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=367] ["take time"=9.205454ms] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:54.958 +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-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:54.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=367] [neededSchemaVersion=368] ["elapsed time"=1.848215ms] [gotSchemaVersion=368] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:54.977 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=368] [2025/04/04 10:52:54.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=368] ["take time"=9.033476ms] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:54.987 +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-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:54.993 +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/04 10:52:55.006 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=368] [neededSchemaVersion=369] ["elapsed time"=992.123Β΅s] [gotSchemaVersion=369] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:55.010 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=369] [2025/04/04 10:52:55.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=369] ["take time"=8.326176ms] [job="ID:392, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.021 +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/04 10:52:55.028 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=392] [jobType="drop table"] [2025/04/04 10:52:55.029 +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-04 10:52:54.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.048 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=392] [2025/04/04 10:52:55.058 +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-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:55.058 +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-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:55.064 +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-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.081 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=369] [neededSchemaVersion=370] ["elapsed time"=1.793098ms] [gotSchemaVersion=370] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:55.084 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=370] [2025/04/04 10:52:55.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=370] ["take time"=9.869882ms] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.096 +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-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.213 +00:00] [WARN] [pd.go:261] ["get timestamp too slow"] ["cost time"=107.285593ms] [2025/04/04 10:52:55.223 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=370] [neededSchemaVersion=371] ["elapsed time"=2.458493ms] [gotSchemaVersion=371] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:55.227 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=371] [2025/04/04 10:52:55.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=371] ["take time"=12.480396ms] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.240 +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-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.247 +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/04 10:52:55.261 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=371] [neededSchemaVersion=372] ["elapsed time"=1.09515ms] [gotSchemaVersion=372] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:55.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=372] [2025/04/04 10:52:55.267 +00:00] [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"=9.038637ms] [job="ID:393, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.278 +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/04 10:52:55.283 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=393] [jobType="drop table"] [2025/04/04 10:52:55.284 +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-04 10:52:55.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.307 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/04 10:52:55.307 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 25\n# Query_time: 0.402644228\n# Parse_time: 0.000051707\n# Compile_time: 0.000245255\n# Rewrite_time: 0.000002993\n# Optimize_time: 0.000034028\n# Wait_TS: 0.000401958\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/04 10:52:55.308 +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: 1743763975308544266 [2025/04/04 10:52:55.312 +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/04 10:52:55.327 +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-04 10:52:55.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:55.327 +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-04 10:52:55.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 10:52:55.336 +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-04 10:52:55.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.342 +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/04 10:52:55.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=372] [neededSchemaVersion=373] ["elapsed time"=1.557195ms] [gotSchemaVersion=373] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:55.361 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=373] [2025/04/04 10:52:55.363 +00:00] [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"=9.626188ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:55.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.375 +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-04 10:52:55.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.388 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/04 10:52:55.388 +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/04 10:52:55.403 +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-04 10:52:55.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:55.403 +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-04 10:52:55.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 10:52:55.410 +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-04 10:52:55.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.415 +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/04 10:52:55.432 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=373] [neededSchemaVersion=374] ["elapsed time"=1.683951ms] [gotSchemaVersion=374] [phyTblIDs="[396]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:55.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=374] [2025/04/04 10:52:55.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=374] ["take time"=10.091037ms] [job="ID:397, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:55.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.450 +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-04 10:52:55.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:55.461 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/04 10:52:55.462 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=374] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 10:52:55.465 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510530] [2025/04/04 10:52:55.469 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510534] [2025/04/04 10:52:55.473 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510538] [2025/04/04 10:52:55.477 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510542] [2025/04/04 10:52:55.482 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510545] [2025/04/04 10:52:55.485 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510548] [2025/04/04 10:52:55.489 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510551] [2025/04/04 10:52:55.493 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510554] [2025/04/04 10:52:55.497 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510557] [2025/04/04 10:52:55.501 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510560] [2025/04/04 10:52:55.505 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510563] [2025/04/04 10:52:55.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510566] [2025/04/04 10:52:55.512 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263583510569] [2025/04/04 10:52:55.516 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617731] [2025/04/04 10:52:55.520 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617734] [2025/04/04 10:52:55.523 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617737] [2025/04/04 10:52:55.527 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617741] [2025/04/04 10:52:55.531 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617744] [2025/04/04 10:52:55.535 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617747] [2025/04/04 10:52:55.539 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617750] [2025/04/04 10:52:55.542 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617753] [2025/04/04 10:52:55.546 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617756] [2025/04/04 10:52:55.550 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617759] [2025/04/04 10:52:55.554 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617762] [2025/04/04 10:52:55.558 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617765] [2025/04/04 10:52:55.563 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263596617768] [2025/04/04 10:52:55.567 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724931] [2025/04/04 10:52:55.571 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724934] [2025/04/04 10:52:55.575 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724940] [2025/04/04 10:52:55.579 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724944] [2025/04/04 10:52:55.583 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724947] [2025/04/04 10:52:55.587 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724950] [2025/04/04 10:52:55.590 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724953] [2025/04/04 10:52:55.594 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724956] [2025/04/04 10:52:55.598 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724959] [2025/04/04 10:52:55.601 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724962] [2025/04/04 10:52:55.605 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724965] [2025/04/04 10:52:55.609 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724968] [2025/04/04 10:52:55.613 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263609724971] [2025/04/04 10:52:55.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622569987] [2025/04/04 10:52:55.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622569990] [2025/04/04 10:52:55.624 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622569993] [2025/04/04 10:52:55.628 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622569997] [2025/04/04 10:52:55.632 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570000] [2025/04/04 10:52:55.636 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570003] [2025/04/04 10:52:55.639 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570006] [2025/04/04 10:52:55.643 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570009] [2025/04/04 10:52:55.647 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570012] [2025/04/04 10:52:55.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570015] [2025/04/04 10:52:55.655 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570018] [2025/04/04 10:52:55.659 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570021] [2025/04/04 10:52:55.663 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263622570024] [2025/04/04 10:52:55.667 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677187] [2025/04/04 10:52:55.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677190] [2025/04/04 10:52:55.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677193] [2025/04/04 10:52:55.678 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677197] [2025/04/04 10:52:55.682 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677200] [2025/04/04 10:52:55.686 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677203] [2025/04/04 10:52:55.690 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677206] [2025/04/04 10:52:55.693 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677209] [2025/04/04 10:52:55.697 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677212] [2025/04/04 10:52:55.701 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677215] [2025/04/04 10:52:55.705 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677218] [2025/04/04 10:52:55.708 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677221] [2025/04/04 10:52:55.712 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263635677224] [2025/04/04 10:52:55.716 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046531] [2025/04/04 10:52:55.725 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046534] [2025/04/04 10:52:55.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046538] [2025/04/04 10:52:55.734 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046541] [2025/04/04 10:52:55.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046544] [2025/04/04 10:52:55.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046547] [2025/04/04 10:52:55.746 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046550] [2025/04/04 10:52:55.750 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046553] [2025/04/04 10:52:55.754 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046556] [2025/04/04 10:52:55.758 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046559] [2025/04/04 10:52:55.762 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263649046562] [2025/04/04 10:52:55.766 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153731] [2025/04/04 10:52:55.770 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153734] [2025/04/04 10:52:55.774 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153738] [2025/04/04 10:52:55.778 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153742] [2025/04/04 10:52:55.782 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153745] [2025/04/04 10:52:55.786 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153748] [2025/04/04 10:52:55.790 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153751] [2025/04/04 10:52:55.794 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153754] [2025/04/04 10:52:55.798 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153757] [2025/04/04 10:52:55.802 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153760] [2025/04/04 10:52:55.806 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153763] [2025/04/04 10:52:55.810 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263662153766] [2025/04/04 10:52:55.814 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998785] [2025/04/04 10:52:55.817 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998788] [2025/04/04 10:52:55.822 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998792] [2025/04/04 10:52:55.826 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998798] [2025/04/04 10:52:55.829 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:52:55.829 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:52:55.829 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:52:55.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:55.830 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998803] [2025/04/04 10:52:55.834 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998806] [2025/04/04 10:52:55.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998809] [2025/04/04 10:52:55.842 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998812] [2025/04/04 10:52:55.846 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998815] [2025/04/04 10:52:55.850 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998818] [2025/04/04 10:52:55.854 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998821] [2025/04/04 10:52:55.857 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117263674998824] [2025/04/04 10:52:55.867 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 10:52:55.867 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 10:52:55.867 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8ca2a145-fad8-40e2-8254-0629730f1eea] [watcherID=dde93ebb-30b6-461d-bedd-22230e4d4931] [2025/04/04 10:52:55.868 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 10:52:55.873 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117263688368130] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.994926ms] [2025/04/04 10:52:55.873 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117263688368130] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=53.912Β΅s] [2025/04/04 10:52:55.873 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 10:52:55.873 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=3.144476ms] [total_duration=8.433079ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117263688368130] [2025/04/04 10:52:55.873 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 10:52:55.873 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 10:52:55.873 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 10:52:55.875 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117263688368130] [commitTS=457117263688368141] [2025/04/04 10:52:55.894 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117263688368159] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.410512ms] [2025/04/04 10:52:55.895 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117263688368159] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=32.606Β΅s] [2025/04/04 10:52:55.895 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.51967ms] [total_duration=7.164548ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117263688368159] [2025/04/04 10:52:55.896 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117263688368159] [commitTS=457117263688368160] [2025/04/04 10:52:55.902 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:55.902 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:55.902 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [] [2025/04/04 10:52:55.902 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.902 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:55.902 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:55.903 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=106.534Β΅s] [2025/04/04 10:52:55.903 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=41.168Β΅s] [2025/04/04 10:52:55.903 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=42.372Β΅s] [2025/04/04 10:52:55.903 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=34.666Β΅s] [2025/04/04 10:52:55.903 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.903 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.904 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:55.904 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:55.906 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] ["take time"=4.383156ms] [2025/04/04 10:52:55.906 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.906 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:55.907 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 10:52:55.907 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8ca2a145-fad8-40e2-8254-0629730f1eea] [watcherID=dde93ebb-30b6-461d-bedd-22230e4d4931] [2025/04/04 10:52:55.907 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8ca2a145-fad8-40e2-8254-0629730f1eea] [2025/04/04 10:52:55.907 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [ttl-worker=task-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [originalCount=4] [newCount=0] [2025/04/04 10:52:55.907 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:55.907 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:55.907 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:55.907 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:55.907 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [ttl-worker=task-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [originalCount=4] [newCount=0] [2025/04/04 10:52:55.909 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:55.910 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:55.910 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:55.910 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:55.912 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.912 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1971] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:55.913 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:55.914 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:55.914 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:55.914 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [] [2025/04/04 10:52:55.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:55.914 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:55.914 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.914 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:55.914 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:55.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:55.914 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:55.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:55.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:55.913 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:55.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:55.914 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [2025/04/04 10:52:55.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:55.914 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:55.914 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:52:55.913 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:55.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:55.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:52:55.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:55.916 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=9f573038-783e-41a3-9b27-4bf4247a04f1] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:55.916 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:55.916 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:55.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:55.916 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:55.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:55.916 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:55.916 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:55.917 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [error="context canceled"] [2025/04/04 10:52:55.917 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.935 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:55.935 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:55.959 +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).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\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).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 10:52:55.963 +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/internal/exec.(*BaseExecutorV2).Close\n\tpkg/executor/internal/exec/executor.go:315\ngithub.com/pingcap/tidb/pkg/executor.(*LimitExec).Close\n\tpkg/executor/select.go:511\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/parser/terror.Call\n\tpkg/parser/terror/terror.go:315\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:110\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 10:52:55.964 +00:00] [ERROR] [subscribe.go:170] ["Error processing events"] [category=ddl-notifier] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](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.(*LimitExec).Next\n\tpkg/executor/select.go:466\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/util/sqlexec.DrainRecordSet\n\tpkg/util/sqlexec/restricted_sql_executor.go:241\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:109\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 10:52:55.964 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.964 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [2025/04/04 10:52:55.964 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [error="context canceled"] [2025/04/04 10:52:55.964 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [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/04 10:52:55.964 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:55.965 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:55.965 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:55.977 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=dccf67a8-e7d1-49b8-a637-74e8be8d4da7] [error="context canceled"] [2025/04/04 10:52:55.977 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:55.977 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:55.988 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.275562ms] [2025/04/04 10:52:55.991 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:52:55.991 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:52:55.991 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:52:55.991 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:52:55.991 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:52:55.991 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:52:55.991 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:52:55.991 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:52:55.991 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:52:55.991 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:52:55.991 +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/04 10:52:55.991 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:52:55.992 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitSkipSecondaries (1.35s) === NAME === RUN TestPipelinedDMLDisableRetry [2025/04/04 10:52:56.001 +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/04 10:52:56.001 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:52:56.002 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:52:56.003 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:52:56.003 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:52:56.003 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:52:56.003 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:52:56.003 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:52:56.003 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:52:56.003 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:52:56.004 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:52:56.007 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:52:56.013 +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/04 10:52:56.014 +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/04 10:52:56.014 +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/04 10:52:56.023 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:52:56.033 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:52:56.067 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=22] ["lease id"=2231960069ddb74b] [2025/04/04 10:52:56.069 +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/04 10:52:56.157 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=374] ["elapsed time"=85.583444ms] [2025/04/04 10:52:56.157 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:52:56.159 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:52:56.165 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d6f85776-da0f-48f4-85a9-120df9453680] [runWorker=true] [jobVersion=v2] [2025/04/04 10:52:56.165 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:52:56.167 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:56.168 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:52:56.168 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 228631318528/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:52:56.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:56.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:56.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:56.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:56.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:56.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:56.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:56.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:56.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:56.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:52:56.169 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:52:56.169 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:56.169 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [2025/04/04 10:52:56.171 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb750] [ownerID=d6f85776-da0f-48f4-85a9-120df9453680] [op=none] [2025/04/04 10:52:56.171 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:56.171 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb750] [currRev=1767] [2025/04/04 10:52:56.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:56.171 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:56.172 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:52:56.173 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddb13d] [ownerID=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [op=none] [2025/04/04 10:52:56.173 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [2025/04/04 10:52:56.173 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [ownerKey=/tidb/br-stream/owner/6f18960069ddb13d] [currRev=1768] [2025/04/04 10:52:56.173 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb750] [ownerID=d6f85776-da0f-48f4-85a9-120df9453680] [op=none] [2025/04/04 10:52:56.173 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [op=none] [2025/04/04 10:52:56.173 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:52:56.182 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:56.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:56.183 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:52:56.192 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:56.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:56.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:56.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:56.203 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:52:56.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:56.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:56.203 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:52:56.203 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:52:56.203 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:52:56.204 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:52:56.204 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:56.205 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:56.206 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:52:56.206 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:56.206 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:56.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:56.208 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:52:56.210 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/c3f70db5-72b5-4b2d-884a-f9e283118ecd] [2025/04/04 10:52:56.210 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [ttl-worker=task-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [originalCount=0] [newCount=4] [2025/04/04 10:52:56.210 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [ttl-worker=task-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [originalCount=0] [newCount=4] [2025/04/04 10:52:56.211 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:52:56.211 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:56.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:56.211 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:52:56.211 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763976212088815 [2025/04/04 10:52:56.215 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:52:56.222 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.337568ms] [2025/04/04 10:52:56.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:52:56.222 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:52:56.225 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:52:56.229 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 10:52:56.230 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 10:52:56.247 +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-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:56.247 +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-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:56.254 +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-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.273 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=374] [neededSchemaVersion=375] ["elapsed time"=2.021947ms] [gotSchemaVersion=375] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:56.278 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=375] [2025/04/04 10:52:56.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=375] ["take time"=10.72845ms] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.290 +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-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.306 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=375] [neededSchemaVersion=376] ["elapsed time"=1.905072ms] [gotSchemaVersion=376] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:56.311 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=376] [2025/04/04 10:52:56.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=376] ["take time"=9.99871ms] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.321 +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-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.328 +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/04 10:52:56.341 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=376] [neededSchemaVersion=377] ["elapsed time"=1.109174ms] [gotSchemaVersion=377] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:56.346 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=377] [2025/04/04 10:52:56.347 +00:00] [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.847216ms] [job="ID:398, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.356 +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/04 10:52:56.364 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=398] [jobType="drop table"] [2025/04/04 10:52:56.365 +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-04 10:52:56.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.383 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=398] [2025/04/04 10:52:56.395 +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-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:56.395 +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-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 10:52:56.401 +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-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.417 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=377] [neededSchemaVersion=378] ["elapsed time"=1.824463ms] [gotSchemaVersion=378] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:56.421 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=378] [2025/04/04 10:52:56.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=378] ["take time"=9.63617ms] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.433 +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-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.448 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=378] [neededSchemaVersion=379] ["elapsed time"=1.931014ms] [gotSchemaVersion=379] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:56.452 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=379] [2025/04/04 10:52:56.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=379] ["take time"=8.990331ms] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.462 +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-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.469 +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/04 10:52:56.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=379] [neededSchemaVersion=380] ["elapsed time"=1.012904ms] [gotSchemaVersion=380] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:52:56.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=380] [2025/04/04 10:52:56.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=380] ["take time"=8.727432ms] [job="ID:399, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.498 +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/04 10:52:56.503 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=399] [jobType="drop table"] [2025/04/04 10:52:56.504 +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-04 10:52:56.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.521 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=399] [2025/04/04 10:52:56.522 +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: 1743763976522389359 [2025/04/04 10:52:56.542 +00:00] [INFO] [set.go:172] ["set global var"] [conn=28] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743763976543976422 [2025/04/04 10:52:56.548 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=380] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:52:56.561 +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-04 10:52:56.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:56.561 +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-04 10:52:56.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:52:56.567 +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-04 10:52:56.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.572 +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/04 10:52:56.587 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=380] [neededSchemaVersion=381] ["elapsed time"=1.611541ms] [gotSchemaVersion=381] [phyTblIDs="[400]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:56.591 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=401] [version=381] [2025/04/04 10:52:56.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=381] ["take time"=9.458174ms] [job="ID:401, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:56.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.605 +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-04 10:52:56.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.617 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=401] [2025/04/04 10:52:56.617 +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/04 10:52:56.630 +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-04 10:52:56.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:52:56.630 +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-04 10:52:56.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, b int)"] [2025/04/04 10:52:56.636 +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-04 10:52:56.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.641 +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/04 10:52:56.656 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=381] [neededSchemaVersion=382] ["elapsed time"=1.491748ms] [gotSchemaVersion=382] [phyTblIDs="[402]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:52:56.660 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=403] [version=382] [2025/04/04 10:52:56.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=382] ["take time"=9.474939ms] [job="ID:403, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:52:56.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.673 +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-04 10:52:56.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:52:56.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=403] [2025/04/04 10:52:56.685 +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/04 10:52:57.178 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 10:52:57.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:52:57.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:52:57.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:52:57.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117264029155335] [2025/04/04 10:52:57.196 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117263897821201] [generation=1] [session=28] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=820.08Β΅s] [2025/04/04 10:52:57.197 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:52:57.197 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117263897821201] [startKey=7480000000000001905f728000000000000001] [endKey=7480000000000001905f728000000000000001] [2025/04/04 10:52:57.197 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117263897821201] [commitTS=0] [session=28] [2025/04/04 10:52:57.198 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457117263897821201\n# Conn_ID: 28\n# Query_time: 0.505923407\n# Parse_time: 0.000355967\n# Compile_time: 0.001015192\n# Rewrite_time: 0.000642368\n# Optimize_time: 0.000083198\n# Wait_TS: 0.000361833\n# Cop_time: 0.000704223 Wait_time: 0.000029813 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:20161\n# Cop_wait_avg: 2.9813e-05 Cop_wait_addr: 127.0.0.1:20161\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('8gbwkDAJMjdfMQkwCTAJTi9BCTAJdGltZTo1MDMuNm1zLCBvcGVuOjE0MS4zwrVzLCBjbG9zZTo2OS41wrVzLCBsb29wczoxLCBwcmVwYXJlOiA1MDMuNG1zLCBpbnNlcnQ6MTUwLjTCtXMJNDAyIEJ5dGVzCU4vQQoxCTE0XzYJMAkxMDAwMAl0ZXN0LnQyLmEJMgkFgAwxLjE3GX8QMzEuNsIBcABjBX8MNDMuMgUPCX8cMgkzMjAgQnkBXA0IJAoyCTMxXzEwCTANYVhkYXRhOlRhYmxlRnVsbFNjYW5fOQkyCQVsDDkwMC4JzwXtDDk2LjkFXgltBDIwDXwNbXAsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDYyMA06KHByb2Nfa2V5czogCTB0cl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGJ1aWxkBU4IX2R1BRoQbjogMTYlMwVX6F9kaXN0c3FsX2NvbmN1cnJlbmN5OiAxfSwgcnBjX2luZm86e0NvcDp7bnVtX3JwYzoxLCB0b3RhbF90JcgoNTTCtXN9fQkyODktIyF/IDMJNDNfOQkxXzEguHRhYmxlOnQyLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JMgl0aWt2BbIEOnslPwQwc1UIDH0sIHMhWyRkZXRhaWw6IHt0BYoYcHJvY2VzczkSRhcAJF9zaXplOiA4MiwNHSk+ODMsIGdldF9zbmFwc2hvdAnUECA5LjQxJaJocm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50JXoMYmxvYyGnEH19fSwgAa0+mgAId2FpEVUMMjkuOAVVBeAAZyFeEbgBOgw6IDI0Ld4ZIR0/BDE5Lh4ADHdhbGwNN0QxNDguOcK1c30JTi9BCU4vQQo=')\n# Plan_digest: f7e0f28c5c86b45fa3d92926774edc8a8076ac4356558ce21165e890659f0d92\n# Binary_plan: tidb_decode_binary_plan('yQfACsQHCghJbnNlcnRfMRLIBgoGU29ydF82EuMFCg5UYWJsZVJlYWRlcl8xMBKoAwoPVAETUEZ1bGxTY2FuXzkhjARw3ptXUUEpAAEB8FiIw0AwAjgCQAJKDAoKCgR0ZXN0EgJ0MlIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvargCdGlrdl90YXNrOnt0aW1lOjBzLCBsb29wczoxfSwgcwFtfGRldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogMiwgRhcAHF9zaXplOiA4FR0JLOgzLCBnZXRfc25hcHNob3RfdGltZTogOS40McK1cywgcm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50OgFoMGJsb2NrOiB7fX19LCABPD6aAAh3YWkRVQwyOS44BVUAdAHgDGdycGMVuAE6FDogMjQuOTohAB0/BDE5Lh4ADHdhbGwNNwgxNDgFGgh9cP8RAQQBeBEKJP8BIWKNiDGVpxcylwE0AUABUhRkYXRhOlRhYmw9xQRaMwWMEDkwMC41BYwYb3Blbjo5NgViLCwgY2xvc2U6MjAuNgUdNGxvb3BzOjJitAFjb3BfJbNEIHtudW06IDEsIG1heDogNjIwDTshpC11kDIsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBidWlsZF8BTghfZHUFGhhuOiAxNi40BXRwbWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCAhVSRpbmZvOntDb3A6AYsUX3JwYzoxURIF3QQ1NQFKFH19cKECeD0oGFQtpnHW5lpCKAEsCXRlc3QudDIuYVoyBUAYMS4xN21zLCkbCDEzMS0NAGMlHBA0My4ywkE7BGxvJRwMcMACOCFuDANOL0EtXRA1MDMuNhlBDDQxLjMFMglBCDY5Lil6CUEsMWIhcHJlcGFyZTogATkANAE5BGluYaUMOjE1MCUVPHCSA3j///////////8BGAE=')\n# Resource_group: default\nuse test;\ninsert into t1 select * from t2 order by a;"] [2025/04/04 10:52:57.198 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=382] [error="[kv:9007]Write conflict, txnStartTS=457117263897821201, conflictStartTS=457117264029155335, conflictCommitTS=457117264029155336, 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/04 10:52:57.199 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:52:57.199 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:52:57.199 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [] [2025/04/04 10:52:57.199 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:57.199 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:57.199 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:52:57.199 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=72.473Β΅s] [2025/04/04 10:52:57.199 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=35.784Β΅s] [2025/04/04 10:52:57.200 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=79.771Β΅s] [2025/04/04 10:52:57.200 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=37.877Β΅s] [2025/04/04 10:52:57.200 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:57.200 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:57.201 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:52:57.201 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:52:57.202 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d6f85776-da0f-48f4-85a9-120df9453680] ["take time"=3.563066ms] [2025/04/04 10:52:57.202 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:57.202 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:52:57.203 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/c3f70db5-72b5-4b2d-884a-f9e283118ecd] [2025/04/04 10:52:57.203 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [ttl-worker=task-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [originalCount=4] [newCount=0] [2025/04/04 10:52:57.203 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:57.203 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:57.203 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:57.203 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:52:57.203 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [ttl-worker=task-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [originalCount=4] [newCount=0] [2025/04/04 10:52:57.205 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:57.206 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:57.206 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:57.206 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:52:57.208 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:57.208 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:52:57.209 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=22] [2025/04/04 10:52:57.209 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:52:57.209 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:52:57.209 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:52:57.210 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [] [2025/04/04 10:52:57.210 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:52:57.209 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:52:57.210 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:52:57.210 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:52:57.210 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:52:57.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:52:57.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:52:57.211 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [error="context canceled"] [2025/04/04 10:52:57.211 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:57.211 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:52:57.211 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:52:57.211 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=78ca606c-87b3-4e28-84df-5f9e19fedc3b] [daemon-id=LogBackup::Advancer] [2025/04/04 10:52:57.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:52:57.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:52:57.211 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:52:57.211 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:52:57.212 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:52:57.212 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [error="context canceled"] [2025/04/04 10:52:57.212 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:52:57.212 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:52:57.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:52:57.213 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [error="context canceled"] [2025/04/04 10:52:57.213 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [2025/04/04 10:52:57.230 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:52:57.230 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:52:57.273 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d6f85776-da0f-48f4-85a9-120df9453680] [error="context canceled"] [2025/04/04 10:52:57.273 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:52:57.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:52:57.283 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.475581ms] [2025/04/04 10:52:58.008 +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/04 10:53:02.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117263897821201 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:02.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117263897821201 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:02.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117263897821201 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:02.199 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:53:02.199 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:53:02.199 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:53:02.199 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:53:02.199 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:53:02.199 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:53:02.199 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:53:02.199 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:53:02.199 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:53:02.199 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:53:02.199 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:53:02.199 +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/04 10:53:02.200 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDisableRetry (6.21s) === NAME === RUN TestReplaceRowCheck [2025/04/04 10:53:02.208 +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/04 10:53:02.209 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:53:02.210 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:53:02.210 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:53:02.210 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:53:02.210 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:53:02.211 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:53:02.211 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:53:02.211 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:53:02.211 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:53:02.211 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:53:02.215 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:53:02.220 +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/04 10:53:02.221 +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/04 10:53:02.222 +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/04 10:53:02.231 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:53:02.241 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:53:02.276 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1429] ["lease id"=6f18960069ddb163] [2025/04/04 10:53:02.278 +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/04 10:53:02.366 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=382] ["elapsed time"=85.352434ms] [2025/04/04 10:53:02.366 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:53:02.369 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:53:02.374 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=90fcbd6a-2869-499c-9406-ebd547ff5230] [runWorker=true] [jobVersion=v2] [2025/04/04 10:53:02.374 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:53:02.377 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:02.378 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:53:02.378 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 228632088576/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:02.378 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:53:02.378 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:02.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:02.379 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:02.379 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [2025/04/04 10:53:02.381 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb168] [ownerID=90fcbd6a-2869-499c-9406-ebd547ff5230] [op=none] [2025/04/04 10:53:02.381 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:02.381 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddb168] [currRev=1810] [2025/04/04 10:53:02.381 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:02.381 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:02.382 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:53:02.382 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960069ddb313] [ownerID=7a644456-95cb-4355-bd3a-15ec710242f2] [op=none] [2025/04/04 10:53:02.382 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [2025/04/04 10:53:02.382 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [ownerKey=/tidb/br-stream/owner/3eaa960069ddb313] [currRev=1811] [2025/04/04 10:53:02.383 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb168] [ownerID=90fcbd6a-2869-499c-9406-ebd547ff5230] [op=none] [2025/04/04 10:53:02.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=90fcbd6a-2869-499c-9406-ebd547ff5230] [op=none] [2025/04/04 10:53:02.383 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:53:02.387 +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/04 10:53:02.388 +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/04 10:53:02.389 +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/04 10:53:02.390 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:02.391 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:02.391 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:53:02.393 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f18960069ddb16e] [ownerID=90fcbd6a-2869-499c-9406-ebd547ff5230] [op=none] [2025/04/04 10:53:02.393 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:02.393 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [ownerKey=/tidb/bindinfo/owner/6f18960069ddb16e] [currRev=1812] [2025/04/04 10:53:02.400 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:02.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:02.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:02.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:02.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:02.411 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:53:02.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:02.411 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:53:02.412 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:53:02.411 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:53:02.412 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:53:02.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:02.413 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:02.414 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:02.414 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:02.414 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:02.414 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:02.416 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:53:02.418 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/49fd5cde-d343-425a-906d-c84a8483480a] [2025/04/04 10:53:02.419 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [ttl-worker=task-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [originalCount=0] [newCount=4] [2025/04/04 10:53:02.419 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [ttl-worker=task-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [originalCount=0] [newCount=4] [2025/04/04 10:53:02.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:02.419 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:53:02.419 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:02.419 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:53:02.419 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763982419742488 [2025/04/04 10:53:02.424 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:53:02.430 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.027289ms] [2025/04/04 10:53:02.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:02.430 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:53:02.433 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:53:02.436 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:53:02.437 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/04 10:53:02.451 +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-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:02.451 +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-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 10:53:02.457 +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-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.473 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=382] [neededSchemaVersion=383] ["elapsed time"=1.867253ms] [gotSchemaVersion=383] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:02.477 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=383] [2025/04/04 10:53:02.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=383] ["take time"=9.548975ms] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.490 +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-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.505 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=383] [neededSchemaVersion=384] ["elapsed time"=1.886461ms] [gotSchemaVersion=384] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:02.509 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=384] [2025/04/04 10:53:02.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=384] ["take time"=9.205002ms] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.519 +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-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.525 +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/04 10:53:02.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=384] [neededSchemaVersion=385] ["elapsed time"=986.032Β΅s] [gotSchemaVersion=385] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:02.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=385] [2025/04/04 10:53: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=385] ["take time"=8.337164ms] [job="ID:404, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.553 +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/04 10:53:02.560 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=404] [jobType="drop table"] [2025/04/04 10:53:02.561 +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-04 10:53:02.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.580 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=404] [2025/04/04 10:53:02.590 +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-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 10:53:02.590 +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-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:02.596 +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-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.611 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=385] [neededSchemaVersion=386] ["elapsed time"=2.017104ms] [gotSchemaVersion=386] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:02.615 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=386] [2025/04/04 10:53:02.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=386] ["take time"=9.416761ms] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.627 +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-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.643 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=386] [neededSchemaVersion=387] ["elapsed time"=1.943106ms] [gotSchemaVersion=387] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:02.647 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=387] [2025/04/04 10:53:02.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=387] ["take time"=9.253499ms] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.657 +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-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.663 +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/04 10:53:02.675 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=387] [neededSchemaVersion=388] ["elapsed time"=1.000392ms] [gotSchemaVersion=388] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:02.679 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=388] [2025/04/04 10:53:02.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=388] ["take time"=8.087281ms] [job="ID:405, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.690 +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/04 10:53:02.694 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=405] [jobType="drop table"] [2025/04/04 10:53:02.695 +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-04 10:53:02.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.713 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=405] [2025/04/04 10:53:02.713 +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: 1743763982713704130 [2025/04/04 10:53:02.717 +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/04 10:53:02.730 +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-04 10:53:02.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:02.730 +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-04 10:53:02.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int)"] [2025/04/04 10:53:02.736 +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-04 10:53:02.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.741 +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/04 10:53:02.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=388] [neededSchemaVersion=389] ["elapsed time"=1.435075ms] [gotSchemaVersion=389] [phyTblIDs="[406]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:02.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=407] [version=389] [2025/04/04 10:53:02.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=389] ["take time"=8.635288ms] [job="ID:407, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.771 +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-04 10:53:02.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.782 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=407] [2025/04/04 10:53:02.782 +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/04 10:53:02.796 +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-04 10:53:02.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:02.796 +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-04 10:53:02.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 10:53:02.802 +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-04 10:53:02.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.806 +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/04 10:53:02.820 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=389] [neededSchemaVersion=390] ["elapsed time"=1.450503ms] [gotSchemaVersion=390] [phyTblIDs="[408]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:02.824 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=409] [version=390] [2025/04/04 10:53:02.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=390] ["take time"=8.840141ms] [job="ID:409, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.838 +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-04 10:53:02.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.850 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=409] [2025/04/04 10:53:02.850 +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/04 10:53:02.862 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117265510006802] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=1.014055ms] [2025/04/04 10:53:02.862 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.141076ms] [total_duration=4.148285ms] ["memdb traversal cache hit"=16] ["memdb traversal cache miss"=12] [size=58B] [startTS=457117265510006802] [2025/04/04 10:53:02.864 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117265510006802] [commitTS=457117265523113985] [2025/04/04 10:53:02.864 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117265510006802] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] [concurrency=8] [2025/04/04 10:53:02.869 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117265510006802] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] ["cost time"=4.504093ms] ["completed regions"=1] [2025/04/04 10:53:02.869 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117265510006802] [commitTS=457117265523113985] [session=31] [2025/04/04 10:53:02.881 +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-04 10:53:02.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:53:02.881 +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-04 10:53:02.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:02.887 +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-04 10:53:02.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.895 +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/04 10:53:02.912 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=390] [neededSchemaVersion=391] ["elapsed time"=1.61683ms] [gotSchemaVersion=391] [phyTblIDs="[408,410]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:53:02.916 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=411] [version=391] [2025/04/04 10:53:02.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=391] ["take time"=9.151367ms] [job="ID:411, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.930 +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/04 10:53:02.935 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=411] [jobType="truncate table"] [2025/04/04 10:53:02.936 +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-04 10:53:02.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.954 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=411] [2025/04/04 10:53:02.954 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=391] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:53:02.959 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117265536483344] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=889.601Β΅s] [2025/04/04 10:53:02.960 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.000008ms] [total_duration=3.840998ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=10] [size=58B] [startTS=457117265536483344] [2025/04/04 10:53:02.961 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117265536483344] [commitTS=457117265536483345] [2025/04/04 10:53:02.961 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117265536483344] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] [concurrency=8] [2025/04/04 10:53:02.963 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117265536483344] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] ["cost time"=2.266439ms] ["completed regions"=1] [2025/04/04 10:53:02.963 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117265536483344] [commitTS=457117265536483345] [session=31] [2025/04/04 10:53:02.976 +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-04 10:53:02.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:02.976 +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-04 10:53:02.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 10:53:02.981 +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-04 10:53:02.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:02.988 +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/04 10:53:03.002 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=391] [neededSchemaVersion=392] ["elapsed time"=1.486502ms] [gotSchemaVersion=392] [phyTblIDs="[410,412]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 10:53:03.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=392] [2025/04/04 10:53:03.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=392] ["take time"=8.473374ms] [job="ID:413, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:02.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:03.017 +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/04 10:53:03.021 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=413] [jobType="truncate table"] [2025/04/04 10:53:03.022 +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-04 10:53:02.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:03.039 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=413] [2025/04/04 10:53:03.039 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=392] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 10:53:03.044 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117265562697743] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=876.127Β΅s] [2025/04/04 10:53:03.044 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=981.79Β΅s] [total_duration=3.664738ms] ["memdb traversal cache hit"=8] ["memdb traversal cache miss"=12] [size=58B] [startTS=457117265562697743] [2025/04/04 10:53:03.045 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117265562697743] [commitTS=457117265562697744] [2025/04/04 10:53:03.046 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117265562697743] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] [concurrency=8] [2025/04/04 10:53:03.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117265562697743] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] ["cost time"=2.401555ms] ["completed regions"=1] [2025/04/04 10:53:03.048 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117265562697743] [commitTS=457117265562697744] [session=31] [2025/04/04 10:53:03.049 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:53:03.049 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:53:03.049 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [] [2025/04/04 10:53:03.049 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.049 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:03.049 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:03.049 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=52.13Β΅s] [2025/04/04 10:53:03.049 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=36.987Β΅s] [2025/04/04 10:53:03.049 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=48.654Β΅s] [2025/04/04 10:53:03.050 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=45.932Β΅s] [2025/04/04 10:53:03.050 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=47.926Β΅s] [2025/04/04 10:53:03.050 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=58.077Β΅s] [2025/04/04 10:53:03.050 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.050 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.051 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:53:03.051 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:53:03.053 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=90fcbd6a-2869-499c-9406-ebd547ff5230] ["take time"=4.011808ms] [2025/04/04 10:53:03.053 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.053 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:53:03.053 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/49fd5cde-d343-425a-906d-c84a8483480a] [2025/04/04 10:53:03.053 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [ttl-worker=task-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [originalCount=4] [newCount=0] [2025/04/04 10:53:03.053 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:03.053 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:03.053 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:03.053 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:03.053 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [ttl-worker=task-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [originalCount=4] [newCount=0] [2025/04/04 10:53:03.056 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:03.056 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:03.056 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:03.056 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:03.058 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.058 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1429] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:03.059 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:53:03.060 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:03.059 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:03.059 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:53:03.059 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:03.059 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [2025/04/04 10:53:03.060 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [2025/04/04 10:53:03.059 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:03.060 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:03.060 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:03.061 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [error="context canceled"] [2025/04/04 10:53:03.061 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.062 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:53:03.062 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:53:03.062 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:03.062 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:53:03.062 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [] [2025/04/04 10:53:03.062 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7a644456-95cb-4355-bd3a-15ec710242f2] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:03.062 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:53:03.062 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:03.062 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:03.062 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.062 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:53:03.062 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:53:03.062 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.062 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:03.062 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [2025/04/04 10:53:03.062 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [error="context canceled"] [2025/04/04 10:53:03.062 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=90fcbd6a-2869-499c-9406-ebd547ff5230] [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/04 10:53:03.080 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:53:03.080 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:03.123 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:53:03.123 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:03.133 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.808168ms] [2025/04/04 10:53:04.216 +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/04 10:53:07.869 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117265510006802 commit_ts:457117265523113985 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:07.869 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117265510006802 commit_ts:457117265523113985 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:07.870 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117265510006802 commit_ts:457117265523113985 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:07.965 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117265536483344 commit_ts:457117265536483345 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:07.965 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117265536483344 commit_ts:457117265536483345 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:07.965 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117265536483344 commit_ts:457117265536483345 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:08.049 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117265562697743 commit_ts:457117265562697744 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:08.049 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117265562697743 commit_ts:457117265562697744 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:08.049 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117265562697743 commit_ts:457117265562697744 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:08.049 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:53:08.049 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:53:08.049 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:53:08.049 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:53:08.049 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:53:08.049 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:53:08.049 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:53:08.049 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:53:08.049 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:53:08.049 +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/04 10:53:08.050 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:53:08.050 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:53:08.051 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReplaceRowCheck (5.85s) === NAME === RUN TestDuplicateKeyErrorMessage [2025/04/04 10:53:08.059 +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/04 10:53:08.060 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:53:08.060 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:53:08.061 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:53:08.061 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:53:08.061 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:53:08.061 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:53:08.061 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:53:08.061 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:53:08.062 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:53:08.062 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:53:08.066 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:53:08.071 +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/04 10:53:08.072 +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/04 10:53:08.073 +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/04 10:53:08.086 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:53:08.097 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:53:08.131 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=53] ["lease id"=3eaa960069ddb34d] [2025/04/04 10:53:08.132 +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/04 10:53:08.218 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=392] ["elapsed time"=82.891976ms] [2025/04/04 10:53:08.218 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:53:08.220 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:53:08.226 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=66bc4734-3170-4fc3-baa1-9e6650652bfd] [runWorker=true] [jobVersion=v2] [2025/04/04 10:53:08.226 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:53:08.228 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.229 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:53:08.229 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238192500736/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:53:08.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:08.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:08.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:08.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:08.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:08.230 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:08.230 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:08.230 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:08.230 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:53:08.230 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:08.230 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:08.230 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:08.230 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [2025/04/04 10:53:08.232 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb198] [ownerID=66bc4734-3170-4fc3-baa1-9e6650652bfd] [op=none] [2025/04/04 10:53:08.232 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.232 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddb198] [currRev=1856] [2025/04/04 10:53:08.232 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:08.232 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:08.233 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:53:08.233 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb7ad] [ownerID=22100bbe-90b9-4130-8f28-413ea60b3a83] [op=none] [2025/04/04 10:53:08.234 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [2025/04/04 10:53:08.234 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [ownerKey=/tidb/br-stream/owner/2231960069ddb7ad] [currRev=1857] [2025/04/04 10:53:08.234 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb198] [ownerID=66bc4734-3170-4fc3-baa1-9e6650652bfd] [op=none] [2025/04/04 10:53:08.234 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [op=none] [2025/04/04 10:53:08.234 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:53:08.238 +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/04 10:53:08.239 +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/04 10:53:08.240 +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/04 10:53:08.240 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:08.241 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:53:08.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:08.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:08.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:08.263 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:08.263 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:53:08.263 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:08.263 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:53:08.263 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:08.263 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:53:08.263 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:53:08.263 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:53:08.264 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:08.264 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:08.265 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:53:08.265 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:08.265 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:08.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:08.268 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:53:08.270 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:53:08.270 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f51d1a99-3465-4b70-920f-3d1d865052eb] [2025/04/04 10:53:08.271 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [ttl-worker=task-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [originalCount=0] [newCount=4] [2025/04/04 10:53:08.271 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [ttl-worker=task-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [originalCount=0] [newCount=4] [2025/04/04 10:53:08.271 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.271 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:08.272 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:53:08.272 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763988272212517 [2025/04/04 10:53:08.275 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:53:08.282 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.712415ms] [2025/04/04 10:53:08.283 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:53:08.283 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:08.293 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:53:08.296 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:53:08.297 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:53:08.311 +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-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:08.311 +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-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:53:08.317 +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-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.334 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=392] [neededSchemaVersion=393] ["elapsed time"=1.949674ms] [gotSchemaVersion=393] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:08.338 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=393] [2025/04/04 10:53:08.340 +00:00] [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"=10.005702ms] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.350 +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-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.367 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=393] [neededSchemaVersion=394] ["elapsed time"=2.085473ms] [gotSchemaVersion=394] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:08.371 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=394] [2025/04/04 10:53:08.373 +00:00] [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"=10.323548ms] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.382 +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-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.389 +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/04 10:53:08.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=394] [neededSchemaVersion=395] ["elapsed time"=1.061009ms] [gotSchemaVersion=395] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:08.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=395] [2025/04/04 10:53:08.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=395] ["take time"=9.094899ms] [job="ID:414, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.418 +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/04 10:53:08.425 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=414] [jobType="drop table"] [2025/04/04 10:53:08.426 +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-04 10:53:08.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.445 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=414] [2025/04/04 10:53:08.455 +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-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:08.455 +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-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:53:08.462 +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-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.478 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=395] [neededSchemaVersion=396] ["elapsed time"=1.806643ms] [gotSchemaVersion=396] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:08.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=396] [2025/04/04 10:53:08.483 +00:00] [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"=9.23005ms] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.494 +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-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.509 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=396] [neededSchemaVersion=397] ["elapsed time"=1.869679ms] [gotSchemaVersion=397] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:08.513 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=397] [2025/04/04 10:53:08.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=397] ["take time"=9.162602ms] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.523 +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-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.529 +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/04 10:53:08.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=397] [neededSchemaVersion=398] ["elapsed time"=1.059345ms] [gotSchemaVersion=398] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:08.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=398] [2025/04/04 10:53:08.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=398] ["take time"=8.282862ms] [job="ID:415, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.557 +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/04 10:53:08.561 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=415] [jobType="drop table"] [2025/04/04 10:53:08.562 +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-04 10:53:08.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.579 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=415] [2025/04/04 10:53:08.580 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=398] [cur_db=test] [sql="drop table `_t1`,`t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743763988580614868 [2025/04/04 10:53:08.584 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=398] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:53:08.597 +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-04 10:53:08.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:53:08.597 +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-04 10:53:08.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:08.603 +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-04 10:53:08.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.608 +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/04 10:53:08.622 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=398] [neededSchemaVersion=399] ["elapsed time"=1.570472ms] [gotSchemaVersion=399] [phyTblIDs="[416]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:08.626 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=417] [version=399] [2025/04/04 10:53:08.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=399] ["take time"=10.202405ms] [job="ID:417, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:08.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.640 +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-04 10:53:08.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:08.652 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=417] [2025/04/04 10:53:08.652 +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/04 10:53:08.654 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117267030704141] [2025/04/04 10:53:08.661 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117267030704146] [generation=1] [session=33] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=693.751Β΅s] [2025/04/04 10:53:08.661 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457117267030704146] [startKey=7480000000000001a05f728000000000000001] [endKey=7480000000000001a05f728000000000000001] [2025/04/04 10:53:08.661 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457117267030704146] [commitTS=0] [session=33] [2025/04/04 10:53:08.662 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [] [2025/04/04 10:53:08.662 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:53:08.662 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.662 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:53:08.662 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:08.662 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:08.662 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=58.614Β΅s] [2025/04/04 10:53:08.662 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=33.837Β΅s] [2025/04/04 10:53:08.662 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=34.276Β΅s] [2025/04/04 10:53:08.662 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.662 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.663 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:53:08.663 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:53:08.665 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=66bc4734-3170-4fc3-baa1-9e6650652bfd] ["take time"=3.267779ms] [2025/04/04 10:53:08.665 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.665 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:53:08.665 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f51d1a99-3465-4b70-920f-3d1d865052eb] [2025/04/04 10:53:08.665 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [ttl-worker=task-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [originalCount=4] [newCount=0] [2025/04/04 10:53:08.665 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:08.665 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:08.665 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:08.665 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:08.665 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [ttl-worker=task-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [originalCount=4] [newCount=0] [2025/04/04 10:53:08.668 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:08.668 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:08.668 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:08.669 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:08.671 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.671 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=53] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:08.672 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [] [2025/04/04 10:53:08.673 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:08.673 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [2025/04/04 10:53:08.673 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:53:08.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:53:08.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:08.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:53:08.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:08.673 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:08.672 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:53:08.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:08.673 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:08.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:08.674 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:53:08.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:08.674 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=22100bbe-90b9-4130-8f28-413ea60b3a83] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:08.674 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:53:08.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:08.674 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:53:08.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:08.674 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [error="context canceled"] [2025/04/04 10:53:08.674 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.674 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:53:08.675 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [error="context canceled"] [2025/04/04 10:53:08.675 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:53:08.675 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:53:08.675 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:08.675 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [error="context canceled"] [2025/04/04 10:53:08.675 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [2025/04/04 10:53:08.675 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [error="context canceled"] [2025/04/04 10:53:08.675 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=66bc4734-3170-4fc3-baa1-9e6650652bfd] [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/04 10:53:08.691 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:53:08.691 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:08.734 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:53:08.735 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:08.744 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.593833ms] [2025/04/04 10:53:10.066 +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/04 10:53:13.662 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117267030704146 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:13.662 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117267030704146 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:13.662 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117267030704146 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:13.663 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:53:13.663 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:53:13.663 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:53:13.663 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:53:13.663 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:53:13.663 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:53:13.663 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:53:13.663 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:53:13.663 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:53:13.663 +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/04 10:53:13.663 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:53:13.663 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:53:13.664 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateKeyErrorMessage (5.61s) === NAME === RUN TestInsertIgnoreOnDuplicateKeyUpdate [2025/04/04 10:53:13.673 +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/04 10:53:13.673 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:53:13.674 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:53:13.675 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:53:13.675 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:53:13.675 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:53:13.675 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:53:13.675 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:53:13.675 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:53:13.676 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:53:13.676 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:53:13.680 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:53:13.685 +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/04 10:53:13.685 +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/04 10:53:13.686 +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/04 10:53:13.696 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:53:13.706 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:53:13.741 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=2033] ["lease id"=3eaa960069ddb386] [2025/04/04 10:53:13.742 +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/04 10:53:13.828 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=399] ["elapsed time"=82.976369ms] [2025/04/04 10:53:13.828 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:53:13.830 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:53:13.836 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ee6689ae-8401-4797-ae3d-c9aeced6512a] [runWorker=true] [jobVersion=v2] [2025/04/04 10:53:13.836 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:53:13.838 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:13.839 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:53:13.839 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238192926720/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:53:13.839 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:13.839 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:13.839 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:13.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:13.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:13.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:13.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:13.840 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:53:13.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:13.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:13.840 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:13.840 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:13.840 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2da37b42-7833-47e3-a204-e3e72f287842] [2025/04/04 10:53:13.842 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb7d4] [ownerID=ee6689ae-8401-4797-ae3d-c9aeced6512a] [op=none] [2025/04/04 10:53:13.842 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:13.842 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [ownerKey=/tidb/ddl/fg/owner/2231960069ddb7d4] [currRev=1894] [2025/04/04 10:53:13.842 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:13.842 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2da37b42-7833-47e3-a204-e3e72f287842] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:13.843 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:53:13.843 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960069ddb7d6] [ownerID=2da37b42-7833-47e3-a204-e3e72f287842] [op=none] [2025/04/04 10:53:13.843 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2da37b42-7833-47e3-a204-e3e72f287842] [2025/04/04 10:53:13.844 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2da37b42-7833-47e3-a204-e3e72f287842] [ownerKey=/tidb/br-stream/owner/2231960069ddb7d6] [currRev=1895] [2025/04/04 10:53:13.844 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960069ddb7d4] [ownerID=ee6689ae-8401-4797-ae3d-c9aeced6512a] [op=none] [2025/04/04 10:53:13.844 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [op=none] [2025/04/04 10:53:13.844 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:53:13.849 +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/04 10:53:13.849 +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/04 10:53:13.850 +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/04 10:53:13.851 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:13.851 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:13.852 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:53:13.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:13.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:13.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:13.873 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:13.873 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:53:13.873 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:13.873 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:13.873 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:53:13.873 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:53:13.873 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:53:13.873 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:53:13.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:13.874 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:13.875 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:13.875 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:13.875 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:13.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:13.877 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:53:13.879 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/2f8b3bc5-2afc-4855-b4f7-c83e396599da] [2025/04/04 10:53:13.879 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [ttl-worker=task-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [originalCount=0] [newCount=4] [2025/04/04 10:53:13.880 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [ttl-worker=task-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [originalCount=0] [newCount=4] [2025/04/04 10:53:13.880 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:13.880 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:13.880 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:53:13.880 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:53:13.880 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763993880615965 [2025/04/04 10:53:13.885 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:53:13.891 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.342654ms] [2025/04/04 10:53:13.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:13.891 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:53:13.894 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:53:13.896 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=399] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:53:13.910 +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-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:13.910 +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-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:53:13.916 +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-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:13.932 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=399] [neededSchemaVersion=400] ["elapsed time"=1.963334ms] [gotSchemaVersion=400] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:13.937 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=400] [2025/04/04 10:53:13.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=400] ["take time"=9.869196ms] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:13.949 +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-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:13.964 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=400] [neededSchemaVersion=401] ["elapsed time"=1.788165ms] [gotSchemaVersion=401] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:13.968 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=401] [2025/04/04 10:53:13.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=401] ["take time"=9.277354ms] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:13.978 +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-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:13.984 +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/04 10:53:13.997 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=401] [neededSchemaVersion=402] ["elapsed time"=1.129999ms] [gotSchemaVersion=402] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:14.001 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=402] [2025/04/04 10:53:14.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=402] ["take time"=8.432921ms] [job="ID:418, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:14.012 +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/04 10:53:14.019 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=418] [jobType="drop table"] [2025/04/04 10:53:14.020 +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-04 10:53:13.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:14.038 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=418] [2025/04/04 10:53:14.038 +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: 1743763994039096691 [2025/04/04 10:53:14.070 +00:00] [INFO] [set.go:172] ["set global var"] [conn=35] [name=tidb_schema_cache_size] [val=0] [2025/04/04 10:53:14.073 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=402] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 10:53:14.087 +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-04 10:53:14.062 +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/04 10:53:14.087 +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-04 10:53:14.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:14.094 +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-04 10:53:14.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:14.100 +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/04 10:53:14.116 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=402] [neededSchemaVersion=403] ["elapsed time"=1.835675ms] [gotSchemaVersion=403] [phyTblIDs="[419]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:14.120 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=420] [version=403] [2025/04/04 10:53:14.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=403] ["take time"=9.519965ms] [job="ID:420, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:14.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:14.134 +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-04 10:53:14.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:14.147 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=420] [2025/04/04 10:53:14.147 +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/04 10:53:14.153 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117268472233996] [generation=1] [session=35] [keys=6] [size=228B] ["flushed keys"=6] ["flushed size"=228B] ["take time"=1.037106ms] [2025/04/04 10:53:14.153 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=6] [flush_wait_duration=1.121604ms] [total_duration=4.691207ms] ["memdb traversal cache hit"=12] ["memdb traversal cache miss"=12] [size=228B] [startTS=457117268472233996] [2025/04/04 10:53:14.154 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117268472233996] [commitTS=457117268472234000] [2025/04/04 10:53:14.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117268472233996] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] [concurrency=8] [2025/04/04 10:53:14.159 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117268472233996] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] ["cost time"=4.040195ms] ["completed regions"=1] [2025/04/04 10:53:14.159 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117268472233996] [commitTS=457117268472234000] [session=35] [2025/04/04 10:53:14.163 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117268472234001] [generation=1] [session=35] [keys=3] [size=115B] ["flushed keys"=3] ["flushed size"=115B] ["take time"=945.834Β΅s] [2025/04/04 10:53:14.163 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3] [flush_wait_duration=1.055133ms] [total_duration=6.64909ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=19] [size=115B] [startTS=457117268472234001] [2025/04/04 10:53:14.164 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117268472234001] [commitTS=457117268485603329] [2025/04/04 10:53:14.164 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117268472234001] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] [concurrency=8] [2025/04/04 10:53:14.167 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117268472234001] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] ["cost time"=2.314746ms] ["completed regions"=1] [2025/04/04 10:53:14.167 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117268472234001] [commitTS=457117268485603329] [session=35] [2025/04/04 10:53:14.168 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:53:14.168 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [] [2025/04/04 10:53:14.168 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:53:14.168 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:14.168 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:14.168 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:14.168 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=55.171Β΅s] [2025/04/04 10:53:14.168 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=36.656Β΅s] [2025/04/04 10:53:14.168 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:14.168 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:14.170 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:53:14.170 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:53:14.170 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ee6689ae-8401-4797-ae3d-c9aeced6512a] ["take time"=2.678238ms] [2025/04/04 10:53:14.171 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:14.171 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:53:14.171 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/2f8b3bc5-2afc-4855-b4f7-c83e396599da] [2025/04/04 10:53:14.171 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [ttl-worker=task-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [originalCount=4] [newCount=0] [2025/04/04 10:53:14.171 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:14.171 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:14.171 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:14.171 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:14.171 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [ttl-worker=task-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [originalCount=4] [newCount=0] [2025/04/04 10:53:14.174 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:14.174 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:14.174 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:14.174 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:14.177 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:14.177 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:53:14.177 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=2033] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2da37b42-7833-47e3-a204-e3e72f287842] [] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:14.178 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2da37b42-7833-47e3-a204-e3e72f287842] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2da37b42-7833-47e3-a204-e3e72f287842] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:14.178 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2da37b42-7833-47e3-a204-e3e72f287842] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:14.178 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:14.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:14.179 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:53:14.179 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:53:14.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:14.178 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:53:14.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:14.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:14.180 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:53:14.180 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:14.180 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:53:14.180 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2da37b42-7833-47e3-a204-e3e72f287842] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:14.180 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:53:14.180 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:14.180 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:14.180 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [error="context canceled"] [2025/04/04 10:53:14.180 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:14.180 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:53:14.180 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [error="context canceled"] [2025/04/04 10:53:14.180 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [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/04 10:53:14.181 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:53:14.181 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:53:14.181 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:14.181 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [error="context canceled"] [2025/04/04 10:53:14.181 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [2025/04/04 10:53:14.181 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [error="context canceled"] [2025/04/04 10:53:14.181 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=ee6689ae-8401-4797-ae3d-c9aeced6512a] [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/04 10:53:14.200 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:53:14.200 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:14.246 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:53:14.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:14.259 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=91.052483ms] [2025/04/04 10:53:15.680 +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/04 10:53:19.159 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117268472233996 commit_ts:457117268472234000 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:19.160 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117268472233996 commit_ts:457117268472234000 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:19.160 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117268472233996 commit_ts:457117268472234000 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:19.167 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117268472234001 commit_ts:457117268485603329 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:19.167 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117268472234001 commit_ts:457117268485603329 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:19.168 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117268472234001 commit_ts:457117268485603329 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:19.168 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:53:19.168 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:53:19.168 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:53:19.168 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:53:19.168 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:53:19.168 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:53:19.168 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:53:19.168 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:53:19.168 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:53:19.168 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:53:19.168 +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/04 10:53:19.168 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:53:19.169 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInsertIgnoreOnDuplicateKeyUpdate (5.51s) === NAME === RUN TestConflictError [2025/04/04 10:53:19.179 +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/04 10:53:19.180 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:53:19.180 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:53:19.181 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:53:19.181 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:53:19.181 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:53:19.181 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:53:19.181 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:53:19.182 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:53:19.182 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:53:19.182 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:53:19.186 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:53:19.195 +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/04 10:53:19.196 +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/04 10:53:19.197 +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/04 10:53:19.208 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:53:19.219 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:53:19.260 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1565] ["lease id"=2231960069ddb7f4] [2025/04/04 10:53:19.262 +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/04 10:53:19.359 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=403] ["elapsed time"=93.379598ms] [2025/04/04 10:53:19.360 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:53:19.362 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:53:19.369 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8411f288-ddb2-4b3b-a33b-badfe0577f02] [runWorker=true] [jobVersion=v2] [2025/04/04 10:53:19.369 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:53:19.371 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.373 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:53:19.373 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238192996352/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:19.373 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:19.373 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:19.373 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:19.374 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [2025/04/04 10:53:19.375 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddb3b8] [ownerID=8411f288-ddb2-4b3b-a33b-badfe0577f02] [op=none] [2025/04/04 10:53:19.375 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.376 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [ownerKey=/tidb/ddl/fg/owner/3eaa960069ddb3b8] [currRev=1926] [2025/04/04 10:53:19.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:19.376 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:19.377 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:53:19.377 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddb1e4] [ownerID=f10300f5-5500-4554-ab93-cf445df1bf1d] [op=none] [2025/04/04 10:53:19.377 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [2025/04/04 10:53:19.377 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [ownerKey=/tidb/br-stream/owner/6f18960069ddb1e4] [currRev=1927] [2025/04/04 10:53:19.378 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960069ddb3b8] [ownerID=8411f288-ddb2-4b3b-a33b-badfe0577f02] [op=none] [2025/04/04 10:53:19.378 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [op=none] [2025/04/04 10:53:19.378 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:53:19.387 +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/04 10:53:19.388 +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/04 10:53:19.389 +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/04 10:53:19.389 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.391 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:19.391 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:53:19.402 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:19.410 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:19.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:19.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:19.415 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:53:19.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:19.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:19.415 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:53:19.416 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:53:19.416 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:53:19.416 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:53:19.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:19.417 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:19.419 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:53:19.419 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:19.419 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:19.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:19.421 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:53:19.424 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/963edf37-d44d-469d-8671-90f802555673] [2025/04/04 10:53:19.424 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [ttl-worker=task-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [originalCount=0] [newCount=4] [2025/04/04 10:53:19.424 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [ttl-worker=task-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [originalCount=0] [newCount=4] [2025/04/04 10:53:19.425 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:19.425 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:53:19.425 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743763999425551895 [2025/04/04 10:53:19.425 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 10:53:19.431 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:53:19.439 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.097342ms] [2025/04/04 10:53:19.439 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:53:19.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:19.448 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:53:19.451 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=403] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:53:19.466 +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-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 10:53:19.466 +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-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:19.472 +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-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.490 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=403] [neededSchemaVersion=404] ["elapsed time"=2.442452ms] [gotSchemaVersion=404] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:19.494 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=404] [2025/04/04 10:53:19.496 +00:00] [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.493858ms] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.506 +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-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=404] [neededSchemaVersion=405] ["elapsed time"=2.340676ms] [gotSchemaVersion=405] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:19.526 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=405] [2025/04/04 10:53:19.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=405] ["take time"=9.817093ms] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.536 +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-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.543 +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/04 10:53:19.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=405] [neededSchemaVersion=406] ["elapsed time"=1.106344ms] [gotSchemaVersion=406] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:19.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=406] [2025/04/04 10:53:19.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=406] ["take time"=8.180176ms] [job="ID:421, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.573 +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/04 10:53:19.580 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=421] [jobType="drop table"] [2025/04/04 10:53:19.582 +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-04 10:53:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.601 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=421] [2025/04/04 10:53:19.601 +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: 1743763999602234348 [2025/04/04 10:53:19.606 +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/04 10:53:19.619 +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-04 10:53:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:19.619 +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-04 10:53:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 10:53:19.625 +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-04 10:53:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.630 +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/04 10:53:19.645 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=406] [neededSchemaVersion=407] ["elapsed time"=1.556614ms] [gotSchemaVersion=407] [phyTblIDs="[422]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:19.648 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=423] [version=407] [2025/04/04 10:53:19.650 +00:00] [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.94155ms] [job="ID:423, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.662 +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-04 10:53:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.673 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=423] [2025/04/04 10:53:19.674 +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/04 10:53:19.687 +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-04 10:53:19.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:19.687 +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-04 10:53:19.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 10:53:19.693 +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-04 10:53:19.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.698 +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/04 10:53:19.713 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=407] [neededSchemaVersion=408] ["elapsed time"=1.491914ms] [gotSchemaVersion=408] [phyTblIDs="[424]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:19.718 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=425] [version=408] [2025/04/04 10:53:19.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=408] ["take time"=9.939031ms] [job="ID:425, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:19.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.731 +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-04 10:53:19.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:19.744 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=425] [2025/04/04 10:53:19.744 +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/04 10:53:19.764 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117269940240399] [generation=1] [session=37] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.546628ms] [2025/04/04 10:53:19.764 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117269940240399] [generation=2] [session=37] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=28.581Β΅s] [2025/04/04 10:53:19.764 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.579023ms] [total_duration=7.144785ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457117269940240399] [2025/04/04 10:53:19.765 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117269940240399] [commitTS=457117269953609729] [2025/04/04 10:53:19.766 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117269940240399] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] [concurrency=8] [2025/04/04 10:53:19.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117269940240399] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] ["cost time"=5.211202ms] ["completed regions"=1] [2025/04/04 10:53:19.771 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117269940240399] [commitTS=457117269953609729] [session=37] [2025/04/04 10:53:19.774 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117269953609730] [generation=1] [session=37] [keys=32] [size=928B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=818.509Β΅s] [2025/04/04 10:53:19.774 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:53:19.774 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457117269953609730] [startKey=7480000000000001a85f728000000000000001] [endKey=7480000000000001a85f728000000000000061] [concurrency=8] [2025/04/04 10:53:19.775 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:53:19.775 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [] [2025/04/04 10:53:19.775 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.775 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:53:19.775 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:19.775 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:19.775 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=54.987Β΅s] [2025/04/04 10:53:19.775 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=38.625Β΅s] [2025/04/04 10:53:19.775 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=42.797Β΅s] [2025/04/04 10:53:19.775 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.775 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.777 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:53:19.777 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:53:19.777 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457117269953609730] [startKey=7480000000000001a85f728000000000000001] [endKey=7480000000000001a85f728000000000000061] ["cost time"=2.025327ms] ["completed regions"=1] [2025/04/04 10:53:19.777 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457117269953609730] [commitTS=0] [session=37] [2025/04/04 10:53:19.778 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8411f288-ddb2-4b3b-a33b-badfe0577f02] ["take time"=3.094186ms] [2025/04/04 10:53:19.778 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.778 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:53:19.778 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/963edf37-d44d-469d-8671-90f802555673] [2025/04/04 10:53:19.778 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [ttl-worker=task-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [originalCount=4] [newCount=0] [2025/04/04 10:53:19.778 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:19.778 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:19.778 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:19.778 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:19.778 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [ttl-worker=task-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [originalCount=4] [newCount=0] [2025/04/04 10:53:19.781 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:19.781 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:19.781 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:19.781 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:19.783 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.783 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1565] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:19.784 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:53:19.784 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:53:19.785 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:53:19.785 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:19.785 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:53:19.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:19.784 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:53:19.785 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:53:19.785 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:19.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:19.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:19.784 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:19.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:19.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:53:19.785 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:19.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:19.784 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:19.785 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:19.784 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [] [2025/04/04 10:53:19.785 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [2025/04/04 10:53:19.785 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:19.785 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:19.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:19.784 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:53:19.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:19.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:19.785 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [error="context canceled"] [2025/04/04 10:53:19.785 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.787 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:53:19.787 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:53:19.787 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:19.787 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f10300f5-5500-4554-ab93-cf445df1bf1d] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:19.787 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:19.787 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:53:19.787 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:53:19.787 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:53:19.787 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:19.787 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:19.787 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:53:19.788 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [error="context canceled"] [2025/04/04 10:53:19.788 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [2025/04/04 10:53:19.804 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:53:19.805 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:19.850 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8411f288-ddb2-4b3b-a33b-badfe0577f02] [error="context canceled"] [2025/04/04 10:53:19.850 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:53:19.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:19.863 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.172349ms] [2025/04/04 10:53:21.187 +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/04 10:53:24.772 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117269940240399 commit_ts:457117269953609729 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:24.772 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117269940240399 commit_ts:457117269953609729 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:24.772 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117269940240399 commit_ts:457117269953609729 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:24.778 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117269953609730 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:24.778 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117269953609730 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:24.778 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117269953609730 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:24.778 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:53:24.778 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:53:24.778 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:53:24.778 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:53:24.778 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:53:24.778 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:53:24.778 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:53:24.778 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:53:24.778 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:53:24.778 +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/04 10:53:24.778 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:53:24.778 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:53:24.780 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestConflictError (5.61s) === NAME === RUN TestRejectUnsupportedTables [2025/04/04 10:53:24.788 +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/04 10:53:24.789 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 10:53:24.790 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489407898776694710] [2025/04/04 10:53:24.790 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 10:53:24.790 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 10:53:24.791 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 10:53:24.791 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 10:53:24.791 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 10:53:24.791 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 10:53:24.791 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 10:53:24.792 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 10:53:24.796 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 10:53:24.802 +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/04 10:53:24.802 +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/04 10:53:24.803 +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/04 10:53:24.814 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489407898776694710] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 10:53:24.825 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 10:53:24.861 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=621] ["lease id"=2231960069ddb81a] [2025/04/04 10:53:24.864 +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/04 10:53:24.959 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=408] ["elapsed time"=91.700679ms] [2025/04/04 10:53:24.959 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 10:53:24.961 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 10:53:24.968 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5f39a003-c9d6-4901-b87e-f458a5c587ee] [runWorker=true] [jobVersion=v2] [2025/04/04 10:53:24.968 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 10:53:24.970 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:24.971 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 10:53:24.972 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 238193397760/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:24.972 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:24.972 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 10:53:24.972 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:24.972 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [2025/04/04 10:53:24.974 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb20b] [ownerID=5f39a003-c9d6-4901-b87e-f458a5c587ee] [op=none] [2025/04/04 10:53:24.974 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:24.974 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [ownerKey=/tidb/ddl/fg/owner/6f18960069ddb20b] [currRev=1960] [2025/04/04 10:53:24.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:24.975 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:24.976 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 10:53:24.976 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960069ddb20d] [ownerID=5cf3e23e-41fd-4d77-8d4e-573e48798791] [op=none] [2025/04/04 10:53:24.976 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [2025/04/04 10:53:24.976 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [ownerKey=/tidb/br-stream/owner/6f18960069ddb20d] [currRev=1961] [2025/04/04 10:53:24.977 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960069ddb20b] [ownerID=5f39a003-c9d6-4901-b87e-f458a5c587ee] [op=none] [2025/04/04 10:53:24.977 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [op=none] [2025/04/04 10:53:24.977 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 10:53:24.983 +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/04 10:53:24.984 +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/04 10:53:24.985 +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/04 10:53:24.985 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:24.986 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:24.986 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 10:53:24.996 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:25.004 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:25.008 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:25.008 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:25.008 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 10:53:25.008 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:25.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:25.008 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 10:53:25.009 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 10:53:25.009 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 10:53:25.009 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 10:53:25.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:25.010 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:25.011 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:25.011 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:25.011 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:25.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:25.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:25.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:25.014 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 10:53:25.016 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/856f01ea-5f04-4e36-86be-b1358fff412d] [2025/04/04 10:53:25.016 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [ttl-worker=task-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [originalCount=0] [newCount=4] [2025/04/04 10:53:25.016 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [ttl-worker=task-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [originalCount=0] [newCount=4] [2025/04/04 10:53:25.017 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:25.018 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 10:53:25.018 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 10:53:25.018 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743764005018932787 [2025/04/04 10:53:25.024 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 10:53:25.037 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=27.541294ms] [2025/04/04 10:53:25.038 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 10:53:25.038 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 10:53:25.042 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 10:53:25.045 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 10:53:25.046 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 10:53:25.060 +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-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:25.060 +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-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:53:25.066 +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-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.083 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=408] [neededSchemaVersion=409] ["elapsed time"=1.84408ms] [gotSchemaVersion=409] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:25.086 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=409] [2025/04/04 10:53:25.088 +00:00] [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.723046ms] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.098 +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-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.115 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=409] [neededSchemaVersion=410] ["elapsed time"=1.872544ms] [gotSchemaVersion=410] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:25.119 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=410] [2025/04/04 10:53:25.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=410] ["take time"=9.985765ms] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.130 +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-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.137 +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/04 10:53:25.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=410] [neededSchemaVersion=411] ["elapsed time"=994.709Β΅s] [gotSchemaVersion=411] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:25.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=411] [2025/04/04 10:53:25.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=411] ["take time"=8.29778ms] [job="ID:426, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.164 +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/04 10:53:25.171 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=426] [jobType="drop table"] [2025/04/04 10:53:25.172 +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-04 10:53:25.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.191 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=426] [2025/04/04 10:53:25.202 +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-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:25.202 +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-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 10:53:25.208 +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-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.224 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=411] [neededSchemaVersion=412] ["elapsed time"=2.132777ms] [gotSchemaVersion=412] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:25.227 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=412] [2025/04/04 10:53: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=412] ["take time"=9.717796ms] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.239 +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-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=412] [neededSchemaVersion=413] ["elapsed time"=2.14904ms] [gotSchemaVersion=413] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:25.260 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=413] [2025/04/04 10:53:25.262 +00:00] [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"=10.5286ms] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.273 +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-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.281 +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/04 10:53:25.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=413] [neededSchemaVersion=414] ["elapsed time"=1.006723ms] [gotSchemaVersion=414] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 10:53:25.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=414] [2025/04/04 10:53:25.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=414] ["take time"=9.006558ms] [job="ID:427, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.310 +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/04 10:53:25.314 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=427] [jobType="drop table"] [2025/04/04 10:53:25.315 +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-04 10:53:25.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=427] [2025/04/04 10:53:25.333 +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: 1743764005333953594 [2025/04/04 10:53:25.338 +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/04 10:53:25.351 +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-04 10:53:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:25.351 +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-04 10:53:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent(a int primary key)"] [2025/04/04 10:53:25.358 +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-04 10:53:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.362 +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/04 10:53:25.380 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=414] [neededSchemaVersion=415] ["elapsed time"=1.447939ms] [gotSchemaVersion=415] [phyTblIDs="[428]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:25.384 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=429] [version=415] [2025/04/04 10:53:25.385 +00:00] [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"=9.130388ms] [job="ID:429, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.397 +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-04 10:53:25.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.408 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=429] [2025/04/04 10:53:25.408 +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/04 10:53:25.423 +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-04 10:53:25.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:25.423 +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-04 10:53:25.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child(a int, foreign key (a) references parent(a))"] [2025/04/04 10:53:25.429 +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-04 10:53:25.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=415] [neededSchemaVersion=416] ["elapsed time"=1.603188ms] [gotSchemaVersion=416] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:25.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=416] [2025/04/04 10:53:25.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=416] ["take time"=9.309326ms] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.462 +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-04 10:53:25.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.467 +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/04 10:53:25.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=416] [neededSchemaVersion=417] ["elapsed time"=1.53444ms] [gotSchemaVersion=417] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:25.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=417] [2025/04/04 10:53:25.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=417] ["take time"=10.409314ms] [job="ID:431, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.499 +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-04 10:53:25.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.510 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=431] [2025/04/04 10:53:25.510 +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/04 10:53:25.513 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117271447830546] [2025/04/04 10:53:25.523 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 10:53:25.523 +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/04 10:53:25.526 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117271460675591] [2025/04/04 10:53:25.538 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457117271460675595] [2025/04/04 10:53:25.547 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117271460675598] [generation=1] [session=39] [keys=1] [size=25B] ["flushed keys"=1] ["flushed size"=25B] ["take time"=910.483Β΅s] [2025/04/04 10:53:25.548 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.007509ms] [total_duration=1.359226ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=25B] [startTS=457117271460675598] [2025/04/04 10:53:25.549 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117271460675598] [commitTS=457117271460675599] [2025/04/04 10:53:25.549 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457117271460675598] [startKey=7480000000000001ac5f728000000000000004] [endKey=7480000000000001ac5f728000000000000004] [2025/04/04 10:53:25.549 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457117271460675598] [commitTS=457117271460675599] [session=39] [2025/04/04 10:53:25.553 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457117271460675600] [generation=1] [session=39] [keys=2] [size=67B] ["flushed keys"=2] ["flushed size"=67B] ["take time"=2.286343ms] [2025/04/04 10:53:25.553 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=2.381586ms] [total_duration=2.831651ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=3] [size=67B] [startTS=457117271460675600] [2025/04/04 10:53:25.554 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457117271460675600] [commitTS=457117271460675601] [2025/04/04 10:53:25.554 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457117271460675600] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] [concurrency=8] [2025/04/04 10:53:25.557 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457117271460675600] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] ["cost time"=2.440276ms] ["completed regions"=1] [2025/04/04 10:53:25.557 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457117271460675600] [commitTS=457117271460675601] [session=39] [2025/04/04 10:53:25.558 +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/04 10:53:25.572 +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-04 10:53:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:25.572 +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-04 10:53:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table cached(a int)"] [2025/04/04 10:53:25.578 +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-04 10:53:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.583 +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/04 10:53:25.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=417] [neededSchemaVersion=418] ["elapsed time"=1.426541ms] [gotSchemaVersion=418] [phyTblIDs="[433]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 10:53:25.599 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=434] [version=418] [2025/04/04 10:53:25.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=418] ["take time"=8.750661ms] [job="ID:434, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 10:53:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.612 +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-04 10:53:25.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.623 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=434] [2025/04/04 10:53:25.623 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=418] [cur_db=test] [sql="create table cached(a int)"] [user=] [2025/04/04 10:53:25.641 +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-04 10:53:25.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table cached cache"] [2025/04/04 10:53:25.641 +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-04 10:53:25.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 10:53:25.647 +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-04 10:53:25.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.663 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=418] [neededSchemaVersion=419] ["elapsed time"=1.647412ms] [gotSchemaVersion=419] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 10:53:25.667 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=419] [2025/04/04 10:53:25.668 +00:00] [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.353164ms] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:53:25.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.679 +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-04 10:53:25.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=419] [neededSchemaVersion=420] ["elapsed time"=1.674417ms] [gotSchemaVersion=420] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 10:53:25.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=420] [2025/04/04 10:53:25.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=420] ["take time"=9.455712ms] [job="ID:435, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 10:53:25.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.712 +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-04 10:53:25.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 10:53:25.723 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=435] [2025/04/04 10:53:25.723 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=420] [cur_db=test] [sql="alter table cached cache"] [user=] [2025/04/04 10:53:25.738 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 10:53:25.738 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 10:53:25.738 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [] [2025/04/04 10:53:25.738 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.739 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:25.739 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 10:53:25.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=66.128Β΅s] [2025/04/04 10:53:25.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=37.534Β΅s] [2025/04/04 10:53:25.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=41.92Β΅s] [2025/04/04 10:53:25.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=33.561Β΅s] [2025/04/04 10:53:25.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=41.615Β΅s] [2025/04/04 10:53:25.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=32.014Β΅s] [2025/04/04 10:53:25.739 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.739 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.740 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 10:53:25.740 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 10:53:25.742 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5f39a003-c9d6-4901-b87e-f458a5c587ee] ["take time"=4.004414ms] [2025/04/04 10:53:25.742 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.742 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 10:53:25.742 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/856f01ea-5f04-4e36-86be-b1358fff412d] [2025/04/04 10:53:25.743 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [ttl-worker=task-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [originalCount=4] [newCount=0] [2025/04/04 10:53:25.743 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:25.743 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:25.743 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:25.743 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 10:53:25.743 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [ttl-worker=task-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [originalCount=4] [newCount=0] [2025/04/04 10:53:25.745 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:25.745 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:25.745 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:25.745 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 10:53:25.748 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.748 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 10:53:25.748 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=621] [2025/04/04 10:53:25.748 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 10:53:25.748 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 10:53:25.749 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 10:53:25.749 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 10:53:25.749 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 10:53:25.749 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 10:53:25.749 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [2025/04/04 10:53:25.749 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 10:53:25.750 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [2025/04/04 10:53:25.750 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [2025/04/04 10:53:25.750 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [error="context canceled"] [2025/04/04 10:53:25.751 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.751 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 10:53:25.751 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 10:53:25.751 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 10:53:25.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 10:53:25.751 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 10:53:25.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 10:53:25.751 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5cf3e23e-41fd-4d77-8d4e-573e48798791] [daemon-id=LogBackup::Advancer] [2025/04/04 10:53:25.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 10:53:25.751 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [error="context canceled"] [2025/04/04 10:53:25.751 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 10:53:25.751 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 10:53:25.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 10:53:25.752 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [error="context canceled"] [2025/04/04 10:53:25.752 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [2025/04/04 10:53:25.769 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 10:53:25.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 10:53:25.814 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5f39a003-c9d6-4901-b87e-f458a5c587ee] [error="context canceled"] [2025/04/04 10:53:25.814 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 10:53:25.814 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 10:53:25.827 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.470761ms] [2025/04/04 10:53:26.796 +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/04 10:53:30.550 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117271460675598 commit_ts:457117271460675599 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:30.550 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117271460675598 commit_ts:457117271460675599 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:30.550 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117271460675598 commit_ts:457117271460675599 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:30.557 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457117271460675600 commit_ts:457117271460675601 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 10:53:30.557 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457117271460675600 commit_ts:457117271460675601 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 10:53:30.557 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457117271460675600 commit_ts:457117271460675601 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 10:53:30.557 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 10:53:30.557 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 10:53:30.557 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 10:53:30.557 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 10:53:30.557 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 10:53:30.557 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 10:53:30.557 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 10:53:30.557 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 10:53:30.557 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 10:53:30.557 +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/04 10:53:30.557 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 10:53:30.557 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 10:53:30.559 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRejectUnsupportedTables (5.78s) === NAME PASS ================================================================================ Target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test up-to-date: bazel-bin/tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test INFO: Elapsed time: 291.204s, Critical Path: 269.28s INFO: 4571 processes: 4551 remote cache hit, 12 internal, 8 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test FLAKY, failed in 1 out of 2 in 119.7s Stats over 2 runs: max = 119.7s, min = 118.1s, avg = 118.9s, dev = 0.8s PASSED pipelineddmltest_test.TestConflictError (5.6s) PASSED pipelineddmltest_test.TestDuplicateKeyErrorMessage (5.6s) PASSED pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate (5.5s) PASSED pipelineddmltest_test.TestPipelinedDMLCommitFailed (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLCommitSkipSecondaries (1.4s) PASSED pipelineddmltest_test.TestPipelinedDMLDelete (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLDisableRetry (6.2s) PASSED pipelineddmltest_test.TestPipelinedDMLInsert (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertIgnore (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.2s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertRPC (9.7s) PASSED pipelineddmltest_test.TestPipelinedDMLNegative (0.6s) PASSED pipelineddmltest_test.TestPipelinedDMLPositive (25.7s) PASSED pipelineddmltest_test.TestPipelinedDMLUpdate (6.1s) PASSED pipelineddmltest_test.TestRejectUnsupportedTables (5.8s) PASSED pipelineddmltest_test.TestReplaceRowCheck (5.9s) PASSED pipelineddmltest_test.TestVariable (5.9s) Test cases: finished with 18 passing and 0 failing out of 18 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] } [Pipeline] // script No test report files were found. Configuration error? [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] } [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 221s remote-cache, linux-sandbox ./t/executor/admin.test: ok! 171 test cases passed, take time 28.467404344 s ./t/executor/aggregate.test: ok! 885 test cases passed, take time 6.7298340979999995 s ./t/executor/analyze.test: ok! 180 test cases passed, take time 12.599154472 s ./t/executor/autoid.test: ok! 458 test cases passed, take time 3.240128524 s ./t/executor/batch_point_get.test: ok! 85 test cases passed, take time 0.509115823 s ./t/executor/charset.test: ok! 214 test cases passed, take time 1.164681042 s ./t/executor/chunk_reuse.test: ok! 93 test cases passed, take time 0.153398426 s ./t/executor/cluster_table.test: ok! 36 test cases passed, take time 0.152296233 s ./t/executor/compact_table.test: ok! 19 test cases passed, take time 0.155986599 s ./t/executor/cte.test: ok! 133 test cases passed, take time 0.766565391 s ./t/executor/ddl.test: ok! 359 test cases passed, take time 13.736831082 s ./t/executor/delete.test: ok! 91 test cases passed, take time 0.582294861 s ./t/executor/distsql.test: ok! 61 test cases passed, take time 0.841514256 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 281s remote-cache, linux-sandbox ./t/executor/executor.test: ok! 1951 test cases passed, take time 26.486296954 s ./t/executor/executor_txn.test: ok! 121 test cases passed, take time 0.271410765 s ./t/executor/expand.test: ok! 71 test cases passed, take time 0.521299926 s ./t/executor/explain.test: ok! 120 test cases passed, take time 0.885148047 s ./t/executor/explainfor.test: ok! 376 test cases passed, take time 1.5969475069999999 s ./t/executor/foreign_key.test: ok! 318 test cases passed, take time 8.298303207 s ./t/executor/grant.test: ok! 209 test cases passed, take time 1.5650818050000002 s ./t/executor/import_into.test: ok! 99 test cases passed, take time 0.1724204 s ./t/executor/index_lookup_join.test: ok! 190 test cases passed, take time 1.994118912 s ./t/executor/index_lookup_merge_join.test: ok! 83 test cases passed, take time 1.030092054 s ./t/executor/index_merge_reader.test: ok! 244 test cases passed, take time 3.66376686 s ./t/executor/infoschema_reader.test: ok! 220 test cases passed, take time 4.527780852 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 341s remote-cache, linux-sandbox [4,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/addindextest:addindextest_test; 351s remote-cache, linux-sandbox Target //tests/realtikvtest/addindextest:addindextest_test up-to-date: bazel-bin/tests/realtikvtest/addindextest/addindextest_test_/addindextest_test INFO: Elapsed time: 446.310s, Critical Path: 423.77s INFO: 4272 processes: 4174 remote cache hit, 3 internal, 95 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest:addindextest_test PASSED in 351.5s PASSED addindextest_test.TestAddForeignKeyWithAutoCreateIndex (14.6s) PASSED addindextest_test.TestAddIndexOnGB18030Bin (0.2s) PASSED addindextest_test.TestAddUKWithSmallIntHandles (3.3s) PASSED addindextest_test.TestAddUniqueDuplicateIndexes (4.8s) PASSED addindextest_test.TestConcurrentDDLCreateGenColIndex (3.3s) PASSED addindextest_test.TestConcurrentDDLCreateMultiColsIndex (3.9s) PASSED addindextest_test.TestConcurrentDDLCreateNonUniqueIndex (12.6s) PASSED addindextest_test.TestConcurrentDDLCreatePrimaryKey (3.8s) PASSED addindextest_test.TestConcurrentDDLCreateUniqueIndex (9.5s) PASSED addindextest_test.TestCreateGenColIndex (8.2s) PASSED addindextest_test.TestCreateMultiColsIndex (47.8s) PASSED addindextest_test.TestCreateNonUniqueIndex (62.4s) PASSED addindextest_test.TestCreatePrimaryKey (10.2s) PASSED addindextest_test.TestCreateUniqueIndex (44.3s) 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.7s) PASSED addindextest_test.TestMultiSchemaChangeCreateGenColIndex (9.4s) PASSED addindextest_test.TestMultiSchemaChangeCreateNonUniqueIndex (24.3s) PASSED addindextest_test.TestMultiSchemaChangeCreatePrimaryKey (7.4s) PASSED addindextest_test.TestMultiSchemaChangeCreateUniqueIndex (15.3s) PASSED addindextest_test.TestMultiSchemaChangeMultiColsIndex (7.6s) PASSED addindextest_test.TestPiTRCreateGenColIndex (7.4s) PASSED addindextest_test.TestPiTRCreateMultiColsIndex (7.8s) PASSED addindextest_test.TestPiTRCreateNonUniqueIndex (21.2s) PASSED addindextest_test.TestPiTRCreatePrimaryKey (7.5s) PASSED addindextest_test.TestPiTRCreateUniqueIndex (10.0s) Test cases: finished with 30 passing and 0 failing out of 30 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 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 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } ./t/executor/insert.test: ok! 1281 test cases passed, take time 61.857740197 s ./t/executor/inspection_common.test: ok! 4 test cases passed, take time 0.001715328 s ./t/executor/issues.test: ok! 463 test cases passed, take time 11.852841502 s ./t/executor/jointest/hash_join.test: ok! 148 test cases passed, take time 1.391507655 s ./t/executor/jointest/join.test: ok! 858 test cases passed, take time 10.830942465 s ./t/executor/kv.test: ok! 16 test cases passed, take time 0.087612625 s ./t/executor/merge_join.test: ok! 259 test cases passed, take time 3.128847396 s ./t/executor/parallel_apply.test: ok! 96 test cases passed, take time 1.092538824 s ./t/executor/partition/issues.test: ok! 159 test cases passed, take time 3.388223187 s ./t/executor/partition/partition_boundaries.test: ok! 1035 test cases passed, take time 2.204350235 s ./t/executor/partition/partition_with_expression.test: ok! 298 test cases passed, take time 2.365167594 s ./t/executor/partition/table.test: ok! 224 test cases passed, take time 5.673937029 s ./t/executor/partition/write.test: ok! 349 test cases passed, take time 9.782573291 s ./t/executor/password_management.test: ok! 381 test cases passed, take time 3.276724194 s ./t/executor/perfschema.test: ok! 5 test cases passed, take time 0.007761621 s ./t/executor/point_get.test: ok! 271 test cases passed, take time 1.550544249 s ./t/executor/prepared.test: ok! 214 test cases passed, take time 1.069608282 s ./t/executor/revoke.test: ok! 65 test cases passed, take time 0.632310236 s ./t/executor/rowid.test: ok! 63 test cases passed, take time 0.307091385 s ./t/executor/sample.test: ok! 109 test cases passed, take time 5.957294067 s ./t/executor/set.test: ok! 228 test cases passed, take time 0.498063216 s ./t/executor/show.test: ok! 300 test cases passed, take time 3.763963713 s ./t/executor/simple.test: ok! 357 test cases passed, take time 2.992250729 s ./t/executor/split_table.test: ok! 60 test cases passed, take time 13.641301778999999 s ./t/executor/stale_txn.test: ok! 28 test cases passed, take time 1.163268408 s ./t/executor/statement_context.test: ok! 63 test cases passed, take time 0.156676105 s ./t/executor/union_scan.test: ok! 231 test cases passed, take time 1.67664291 s ./t/executor/update.test: ok! 521 test cases passed, take time 3.767989874 s ./t/executor/window.test: ok! 93 test cases passed, take time 5.866537707 s ./t/executor/write.test: ok! 1061 test cases passed, take time 19.372621891 s ./t/explain-non-select-stmt.test: ok! 8 test cases passed, take time 0.020324525 s ./t/explain.test: ok! 26 test cases passed, take time 0.12575505 s ./t/explain_complex.test: ok! 41 test cases passed, take time 0.432028009 s ./t/explain_complex_stats.test: ok! 61 test cases passed, take time 3.953054205 s ./t/explain_cte.test: ok! 53 test cases passed, take time 0.357578922 s ./t/explain_easy.test: ok! 190 test cases passed, take time 1.413940659 s ./t/explain_easy_stats.test: ok! 50 test cases passed, take time 0.859957798 s ./t/explain_foreign_key.test: ok! 41 test cases passed, take time 0.622487083 s ./t/explain_generate_column_substitute.test: ok! 233 test cases passed, take time 21.13160872 s ./t/explain_indexmerge_stats.test: ok! 30 test cases passed, take time 1.069231121 s ./t/explain_join_stats.test: ok! 8 test cases passed, take time 0.264169743 s ./t/explain_shard_index.test: ok! 19 test cases passed, take time 0.116319258 s ./t/explain_stats.test: ok! 10 test cases passed, take time 0.104864646 s ./t/explain_union_scan.test: ok! 9 test cases passed, take time 0.205830901 s ./t/expression/builtin.test: ok! 1365 test cases passed, take time 8.332200473 s ./t/expression/cast.test: ok! 85 test cases passed, take time 0.437791486 s ./t/expression/charset_and_collation.test: ok! 733 test cases passed, take time 16.581423102 s ./t/expression/constant_fold.test: ok! 16 test cases passed, take time 0.100524832 s ./t/expression/enum_set.test: ok! 13 test cases passed, take time 0.092688266 s ./t/expression/explain.test: ok! 77 test cases passed, take time 0.201718264 s ./t/expression/format.test: ok! 9 test cases passed, take time 0.002333645 s ./t/expression/issues.test: ok! 1525 test cases passed, take time 17.241938346 s ./t/expression/json.test: ok! 321 test cases passed, take time 0.890218197 s ./t/expression/misc.test: ok! 416 test cases passed, take time 4.817407066 s ./t/expression/multi_valued_index.test: ok! 314 test cases passed, take time 2.085964862 s ./t/expression/noop_functions.test: ok! 61 test cases passed, take time 0.036594216 s ./t/expression/plan_cache.test: ok! 184 test cases passed, take time 0.573787434 s ./t/expression/time.test: ok! 353 test cases passed, take time 0.938402775 s ./t/expression/vitess_hash.test: ok! 17 test cases passed, take time 0.202487264 s ./t/generated_columns.test: ok! 70 test cases passed, take time 4.525877651 s ./t/globalindex/aggregate.test: ok! 16 test cases passed, take time 2.258951879 s ./t/globalindex/analyze.test: ok! 37 test cases passed, take time 2.731017447 s ./t/globalindex/ddl.test: ok! 55 test cases passed, take time 4.751915349 s ./t/globalindex/expression_index.test: ok! 14 test cases passed, take time 0.092314338 s ./t/globalindex/index_join.test: ok! 31 test cases passed, take time 0.644807759 s ./t/globalindex/information_schema.test: ok! 7 test cases passed, take time 0.3099676 s ./t/globalindex/insert.test: ok! 14 test cases passed, take time 3.969804415 s ./t/globalindex/mem_index_lookup.test: ok! 40 test cases passed, take time 0.126371594 s ./t/globalindex/mem_index_merge.test: ok! 53 test cases passed, take time 0.238647156 s ./t/globalindex/mem_index_reader.test: ok! 36 test cases passed, take time 0.120368545 s ./t/globalindex/misc.test: ok! 91 test cases passed, take time 8.346918616 s ./t/globalindex/multi_valued_index.test: ok! 13 test cases passed, take time 0.036971992 s ./t/globalindex/point_get.test: ok! 38 test cases passed, take time 4.825899004 s ./t/globalindex/update.test: ok! 31 test cases passed, take time 0.228546815 s ./t/imdbload.test: ok! 62 test cases passed, take time 10.518310556 s ./t/index_join.test: ok! 22 test cases passed, take time 0.271459883 s ./t/index_merge.test: ok! 145 test cases passed, take time 2.6602694639999998 s ./t/infoschema/cluster_tables.test: ok! 17 test cases passed, take time 0.047439639 s ./t/infoschema/infoschema.test: ok! 192 test cases passed, take time 2.805570213 s ./t/infoschema/tables.test: ok! 120 test cases passed, take time 1.144887417 s ./t/infoschema/v2.test: ok! 34 test cases passed, take time 0.405915779 s ./t/naaj.test: ok! 135 test cases passed, take time 0.288431403 s ./t/new_character_set.test: ok! 73 test cases passed, take time 0.328107771 s ./t/new_character_set_builtin.test: ok! 222 test cases passed, take time 0.959621967 s ./t/new_character_set_invalid.test: ok! 28 test cases passed, take time 0.241019244 s ./t/parser/integration.test: ok! 8 test cases passed, take time 0.073500356 s ./t/partition.test: ok! 3 test cases passed, take time 0.674970312 s ./t/planner/cardinality/selectivity.test: ok! 686 test cases passed, take time 1.8404208020000001 s ./t/planner/cardinality/trace.test: ok! 5 test cases passed, take time 0.120154049 s ./t/planner/cascades/integration.test: ok! 247 test cases passed, take time 0.801983661 s ./t/planner/core/binary_plan.test: ok! 6 test cases passed, take time 0.000879132 s ./t/planner/core/casetest/expression_rewriter.test: ok! 23 test cases passed, take time 0.164949475 s ./t/planner/core/casetest/hint/hint.test: ok! 182 test cases passed, take time 1.740601182 s ./t/planner/core/casetest/index/index.test: ok! 225 test cases passed, take time 1.808750895 s ./t/planner/core/casetest/integration.test: ok! 462 test cases passed, take time 2.859507462 s ./t/planner/core/casetest/partition/integration_partition.test: ok! 134 test cases passed, take time 0.98070569 s ./t/planner/core/casetest/partition/partition_pruner.test: ok! 284 test cases passed, take time 1.199998302 s ./t/planner/core/casetest/physicalplantest/physical_plan.test: ok! 913 test cases passed, take time 3.443036474 s ./t/planner/core/casetest/point_get_plan.test: ok! 52 test cases passed, take time 0.1574976 s ./t/planner/core/casetest/predicate_simplification.test: ok! 133 test cases passed, take time 0.655700301 s ./t/planner/core/casetest/pushdown/push_down.test: ok! 54 test cases passed, take time 0.210570783 s ./t/planner/core/casetest/rule/rule_derive_topn_from_window.test: ok! 73 test cases passed, take time 0.47544657 s ./t/planner/core/casetest/rule/rule_join_reorder.test: ok! 481 test cases passed, take time 4.340354822 s ./t/planner/core/casetest/rule/rule_result_reorder.test: ok! 87 test cases passed, take time 0.635078782 s ./t/planner/core/cbo.test: ok! 34 test cases passed, take time 0.429439858 s ./t/planner/core/enforce_mpp.test: ok! 8 test cases passed, take time 0.001527853 s ./t/planner/core/expression_rewriter.test: ok! 206 test cases passed, take time 2.018455113 s ./t/planner/core/indexjoin.test: ok! 41 test cases passed, take time 0.126393385 s ./t/planner/core/indexmerge_intersection.test: ok! 6 test cases passed, take time 0.03037697 s ./t/planner/core/indexmerge_path.test: ok! 273 test cases passed, take time 4.078884098 s ./t/planner/core/integration.test: ok! 1621 test cases passed, take time 18.698715746 s ./t/planner/core/integration_partition.test: ok! 493 test cases passed, take time 9.721463599 s ./t/planner/core/issuetest/planner_issue.test: ok! 178 test cases passed, take time 4.282888556 s ./t/planner/core/memtable_predicate_extractor.test: ok! 45 test cases passed, take time 0.085543374 s ./t/planner/core/partition_pruner.test: ok! 642 test cases passed, take time 2.622369679 s ./t/planner/core/physical_plan.test: ok! 44 test cases passed, take time 0.378729127 s ./t/planner/core/plan.test: ok! 157 test cases passed, take time 0.961547607 s ./t/planner/core/plan_cache.test: ok! 1243 test cases passed, take time 5.4986970490000004 s ./t/planner/core/plan_cost_ver2.test: ok! 70 test cases passed, take time 0.330529716 s ./t/planner/core/point_get_plan.test: ok! 265 test cases passed, take time 1.64456147 s ./t/planner/core/preprocess.test: ok! 6 test cases passed, take time 0.040771235 s ./t/planner/core/range_scan_for_like.test: ok! 226 test cases passed, take time 0.539459429 s ./t/planner/core/rule_constant_propagation.test: ok! 31 test cases passed, take time 0.527287747 s ./t/planner/core/rule_join_reorder.test: ok! 52 test cases passed, take time 0.659089544 s ./t/planner/core/rule_result_reorder.test: ok! 29 test cases passed, take time 0.147133659 s ./t/planner/core/tests/prepare/issue.test: ok! 321 test cases passed, take time 1.294469005 s ./t/planner/core/tests/prepare/prepare.test: ok! 458 test cases passed, take time 1.950616951 s ./t/planner/funcdep/only_full_group_by.test: ok! 148 test cases passed, take time 1.962139243 s ./t/privilege/privileges.test: ok! 483 test cases passed, take time 4.633509027 s ./t/select.test: ok! 206 test cases passed, take time 1.522926935 s ./t/session/bootstrap_upgrade.test: ok! 29 test cases passed, take time 0.173036688 s ./t/session/clustered_index.test: ok! 385 test cases passed, take time 13.814569267 s ./t/session/common.test: ok! 212 test cases passed, take time 3.0396789 s ./t/session/nontransactional.test: ok! 1532 test cases passed, take time 9.624144334 s ./t/session/privileges.test: ok! 66 test cases passed, take time 0.690258423 s ./t/session/session.test: ok! 104 test cases passed, take time 0.664041051 s ./t/session/temporary_table.test: ok! 277 test cases passed, take time 0.254383684 s ./t/session/txn.test: ok! 14 test cases passed, take time 0.029084907 s ./t/session/user_variables.test: ok! 16 test cases passed, take time 0.017777266 s ./t/session/variable.test: ok! 103 test cases passed, take time 0.254673941 s ./t/session/vars.test: ok! 127 test cases passed, take time 0.12587337 s ./t/sessionctx/setvar.test: ok! 685 test cases passed, take time 0.17237318 s ./t/sessiontxn/externals.test: ok! 56 test cases passed, take time 0.200755936 s ./t/statistics/handle.test: ok! 60 test cases passed, take time 1.26847781 s ./t/statistics/integration.test: ok! 19 test cases passed, take time 0.114335366 s ./t/statistics/lock_table_stats.test: ok! 47 test cases passed, take time 0.527323702 s ./t/statistics/overflow_calc.test: ok! 5 test cases passed, take time 0.063880214 s ./t/subquery.test: ok! 32 test cases passed, take time 0.315459384 s ./t/table/cache.test: ok! 108 test cases passed, take time 8.505379572 s ./t/table/index.test: ok! 38 test cases passed, take time 0.478304189 s ./t/table/partition.test: ok! 240 test cases passed, take time 5.221691188 s ./t/table/tables.test: ok! 24 test cases passed, take time 0.098374198 s ./t/table/temptable.test: ok! 11 test cases passed, take time 0.045575817 s ./t/topn_push_down.test: ok! 20 test cases passed, take time 0.152577498 s ./t/topn_pushdown.test: ok! 2 test cases passed, take time 0.000609438 s ./t/tpch.test: ok! 40 test cases passed, take time 2.153005357 s ./t/types/const.test: ok! 143 test cases passed, take time 1.062406318 s ./t/util/admin.test: ok! 143 test cases passed, take time 7.801814224 s ./t/util/ranger.test: ok! 188 test cases passed, take time 4.641137955 s ./t/window_function.test: ok! 28 test cases passed, take time 0.10422102 s Great, All tests passed integrationtest passed! ./run-tests.sh: line 1: kill: (1054) - No such process ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb [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 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 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] container [Pipeline] { [Pipeline] sh + bash scripts/plugins/report_job_result.sh SUCCESS result.json http://fileserver.pingcap.net --2025-04-04 11:03:23-- 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% 662M=0s 2025-04-04 11:03:23 (662 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] sh + echo done + curl -F ci_check/pingcap/tidb/ghpr_check2/d992efb82fbe1dce48ee9795468c1255987b0fe0=@done http://fileserver.pingcap.net/upload % 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 410 100 139 100 271 2957 5765 --:--:-- --:--:-- --:--:-- 8913 {"msg":"success","url":"http://fileserver.pingcap.net/download/ci_check/pingcap/tidb/ghpr_check2/d992efb82fbe1dce48ee9795468c1255987b0fe0"} [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline Finished: SUCCESS